Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
askarali
I am using this plugin to monitor files on my Linux box.
This plugin enable us to start monitoring the various components of our Juniper devices mostly Juniper MX960.
Setting up the plugin in Nagios Version 3.2.3 is straight forward the only problem i faced was plugin works fine from command line but giving error 'Service check did not exit properly', quick googling reports its something to do with embedded perl. simple fix it to prefixes the command_line with full path to the perl. The command definition look like...
define command{
command_name check_snmp_components
command_line /usr/bin/perl $USER1$/check_snmp_environment.pl -H $HOSTADDRESS$ .....
}
Setting up the plugin in Nagios Version 3.2.3 is straight forward the only problem i faced was plugin works fine from command line but giving error 'Service check did not exit properly', quick googling reports its something to do with embedded perl. simple fix it to prefixes the command_line with full path to the perl. The command definition look like...
define command{
command_name check_snmp_components
command_line /usr/bin/perl $USER1$/check_snmp_environment.pl -H $HOSTADDRESS$ .....
}
byaskarali, March 6, 2011
Very nice plugin and we are successfully monitoring the temperature of our juniper devices using this.
The command we use is ...
./check_snmp_temperature.pl -H Hostname -C xxxx -2 -T juniper -o C -a "Routing Engine 0" -w 44 -c 50
The command we use is ...
./check_snmp_temperature.pl -H Hostname -C xxxx -2 -T juniper -o C -a "Routing Engine 0" -w 44 -c 50