Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
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 😉