Plugin check_snmp_mem

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Servo
Posts: 15
Joined: Thu Mar 03, 2011 8:14 am

Plugin check_snmp_mem

Post by Servo »

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)
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Plugin check_snmp_mem

Post by mguthrie »

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).
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Plugin check_snmp_mem

Post by tonyyarusso »

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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked