Monitoring Dell hardware in Nagios on the Debian Etch 64bit Platform
Getting Dell’s linux-software to work on other platforms than Redhat can be a bitch, but I was lucky to come across this article. Following those steps I had dellomsa up and running a couple of minutes later.
Then I went to nagiosexchange and downloaded the perl script check_dell_sensors.pl.
In this case I use check_by_ssh to run the check on each host, so here’s the command.cfg setup
define command{
command_name check_dell_sensors
command_line $USER1$/check_by_ssh -l someuser -t 30 -H $HOSTADDRESS$ -C "/usr/lib/nagios/plugins/check_dell_sensors.pl"
}
and finally the services.cfg
define service{
use generic-service
hostgroup_name cfg_CHECK_DELL_SENSORS
service_description CHECK_DELL_SENSORS
is_volatile 0
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups linux-admins
notification_period 24x7
notification_options c,w,r
check_command check_dell_sensors
}
This will monitor your dell hardware on all hosts in your cfg_CHECK_DELL_SENSORS hostgroup, giving you an output like :
/usr/lib/nagios/plugins/check_dell_sensors.pl
OK -- Hardware Log=Ok; Memory=Ok; Power Supplies=Ok; Processors=Ok; Temperatures=Ok; Voltages=Ok;
Tags: dell, hardware, monitoring, nagios