Hi, this is the verbose output,
nag...@nagios:/usr/local/nagios/libexec$ ./check_snmp -H 192.168.1.5 -C
MYCOMMUNITY -o ifOperStatus.1 -r 1 -m RFC1213-MIB -v
/usr/local/bin/ -t 1 -r 5 -m RFC1213-MIB -v 1 [authpriv] 192.168.1.5:161
ifOperStatus.1
External command error with no output (return code: 3)
It seems that the "/usr/local/bin" directory is where "snmp-net" package is
installed, all the binaries are here.
Any idea.
Thanks
De: Ricardo Melendez [mailto:[email protected]]
Enviado el: Martes, 27 de Octubre de 2009 10:58 a.m.
Para: '[email protected]'
Asunto: check_snmp : External command error with no output (return code: 3)
Hi to all, it is my first submission to the list, I have installed a Nagios
server based on the Core Documentation (Quick Start Guide and related), I am
trying to monitor a Linksys router via SNMP, but not successful yet.
The command:
snmpwalk -v1 -c MYCOMMUNITY 192.168.1.5 -m ALL .1
Returns all the snmp objects available in the router
But, the command:
./check_snmp -H 192.168.1.5 -C MYCOMMUNITY -o ifOperStatus.1 -r 1 -m
RFC1213-MIB
Returns "External command error with no output (return code: 3)", for any
MIB Object, and the nagios web interface shows the same, the set up is based
on the example file included "switch.cfg".
Any suggestion to fix that.
Thanks in advance.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null