Hello,
I import check_snmp_mem.pl into nagios XI
from adm cmd i test this plugin:
./check_snmp_mem.pl -H ip_address_of_cisco -C My_community -I -c80 -w 90
and test is OK - Processor:5%,I/O:35% : 7% : ; OK
But at Nagios XI i have a problem:
i'm create command:
check_snmp_cisco_mem
$USER1$/check_snmp_cisco_mem.pl -H $HOSTADDRESS$ -C My_community -I -c $ARG1$ -w $ARG2$
When i apply this command to service, at first check this service going to critical with error:
(Return code of 127 is out of bounds - plugin may be missing)
Plugin check_snmp_mem
Re: Plugin check_snmp_mem
Can you also post the service definition that you're using with this check?
A couple of possibilities:
- Is the check plugin returning only a single line of information?
- Is the check plugin exiting with an exit code between 0-3 (looks like "exit(1);" in the code).
A couple of possibilities:
- Is the check plugin returning only a single line of information?
- Is the check plugin exiting with an exit code between 0-3 (looks like "exit(1);" in the code).
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Plugin check_snmp_mem
Err, is the plugin executable called check_snmp_mem.pl or check_snmp_cisco_mem.pl? You're using both, and didn't include any evidence so far that the latter exists.