Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

aeok

Reviews(1)
byaeok, May 10, 2012
1 of 1 people found this review helpful
Hi,

Just to tell you that is a very good perl script !
Awesome work !
I recommended !!


For others, some informations :

(Examples of my commands.cfg)
define command{
command_name check_netapp_cpu
command_line /usr/bin/perl5.8.8 $USER1$/check-netapp-ng.pl -H $HOSTADDRESS$ -T CPULOAD -w 80 -c 90 -C public
}

define command{
command_name check_netapp_fan
command_line /usr/bin/perl5.8.8 $USER1$/check-netapp-ng.pl -H $HOSTADDRESS$ -T FAN -w 1 -c 3 -C public
}

and in services.cfg :


define service{
use generic-service,graphed-service
host_name machineX,machineY
service_description CPU Load
check_command check_netapp_cpu
}

define service{
use generic-service,graphed-service
host_name machineX,machineY
service_description Fan Fail
check_command check_netapp_fan
}


results :

OK: CPULOAD 1% | cpuload=1percent
OK: FAN 0 | failedfans=0


If that help someone ;)