check_mounts plugin for op5 Monitor or Nagios
When I updated my CentOS system and could not mount XFS file system and my op5 Monitor did not react. I even run check_disk on these mount points but op5 Monitor did not tell me that anything was...
View ArticleMySQL database backup automysqlbackup
Now when my blog is growing a need for backup is growing. After a short google search I found exactly what I want, automysqlbackup. It is a shell script that has very modest requirements list:...
View ArticleHowTo using passive checks with Nagios or op5 Monitor
In some cases the "Normal" way of running checks does not work, passive checks might do the job. I have a script the runs every night that backup my MySQL database. If this script fails I would like...
View ArticleSsh blocker OpenBSD
My firewall get alot of failed ssh logins. This is a typical log message in /var/log/authlog Feb 9 20:15:49 pedro sshd[30934]: Failed password for root from 67.205.85.119 port 35603 ssh2 Feb 9...
View ArticleUsing Nagios or op5 Monitor eventhandler to start a service that has stopped
Background I use MythTV quite frequently and noticed that it is instable when using sasc-ng as a decoder to decrypt encrypted DVB-T channels. So approximatly every third day the MythTVbackend server...
View ArticleUse Bluetooth phone to connect to Internet on Linux
My laptop and cellular phone has both Bluetooth and it has annoyed me for a while that I have not managed to get a working Internet connection using Bluetooth. I have only managed to get it working...
View ArticleShare your internet connection
Background I was with my geekfriends at a ski resort and I managed to get an Internet connection using a cellphone. Of course I wanted to share it with my friends. As geeks we brought a switch and a...
View ArticleEnable Huawei E1750 in Ubuntu 10.04
I’m the happay owner of a Huawei E1750 modem and it is real easy to get it running in Ubuntu. This guide will probably work with many other 3G USB modems. Just type from the command line: sudo...
View ArticleOpen ssh on the WAN inteface in OpenWRT
To be able to administrate my OpenWRT router from Internet I need to open the ssh port on the Wan interface. It is real simple, just add to following to /etc/config/firewall: #open ssh on wan...
View ArticleKVM virtualization, some best practice, part 1
Background As an it slave, I have the same problems as most datacenters: Running out of space because of more and more machines get into the datacenter Overheating Powerconsumption Added to the...
View ArticleKVM virtualization, some best practice, part 2
Background It really annoyed me that the iowait at the cpu on the Dom 0 system was approximatly 50% when the 4 virtual system was doing more or less nothing. I showed my earlier blogpost about VM...
View ArticleAnonymise a network segment using TOR and OpenBSD
Background I have a FON router which allow anyone to connect to Intenet via my network connection. I like the openess and idea behind FON but I do not want to get in trouble if someone do bad things...
View ArticleUsing IRC as op5 Monitor or Nagios alarm console
Background I sometimes get the question if I have any tips on a op5 Monitor alarm console. I stumbled on the possibility to use irc to present the alerts generated by op5 Monitor or Nagios. A nice...
View Article