check-netapp-ng.pl plugin
Posted: Tue Feb 12, 2013 12:55 pm
I recently installed a netapp fas2240 device on our network. I want to be able to have nagios monitor different aspects of this device. I have installed the check-netapp-ng.pl plugin and need assistance getting the plugin to work correctly. so far I have done the following:
Added the following to commands.cfg
define command{
command name check_netapp_temp
command_line /usr/bin/perl5.14.2 $USER1$/check-netapp-ng.pl -H $HOSTADDRESS -T TEMP -C public
}
and have added the following in windows.cfg
define service{
use generic-service
host_name netapp-device (host has been defined in Windows.cfg)
service_description Temperature
check_command check_netapp_temp
}
When I restart nagios and it runs the check I get the following error "Missing -T"
Not sure what I am doing wrong. I can run the Ping check against this device just fine. if i run the following command from the command line: ./check-netapp-ng.pl -H 192.168.10.12 -T TEMP -C public it will respond with the following: "OK: TEMP is ok | overtemperature=l
Appreciate any assistance.
thank you.
Added the following to commands.cfg
define command{
command name check_netapp_temp
command_line /usr/bin/perl5.14.2 $USER1$/check-netapp-ng.pl -H $HOSTADDRESS -T TEMP -C public
}
and have added the following in windows.cfg
define service{
use generic-service
host_name netapp-device (host has been defined in Windows.cfg)
service_description Temperature
check_command check_netapp_temp
}
When I restart nagios and it runs the check I get the following error "Missing -T"
Not sure what I am doing wrong. I can run the Ping check against this device just fine. if i run the following command from the command line: ./check-netapp-ng.pl -H 192.168.10.12 -T TEMP -C public it will respond with the following: "OK: TEMP is ok | overtemperature=l
Appreciate any assistance.
thank you.