Hi Sergio,
please check your community, at the manual check you've enter "my
community" and in the command line you've enter "mi community"
and snmpwalk did not reside at nagios library, i have insert the full path
of snmpwalk like; /usr/bin/snmpwalk or /usr/local/sbin/snmpwalk
i hope that's work
CMIIW
=====================================
^_* Just A Man Behind The Scene *_^
=====================================
On Fri, 30 May 2008, Sergio Belkin wrote:
> Hi,
>
> I am using check_snmp plugin and is quite useful, but in some cases
> I'd like that "Status Information" in "Status Detail For This Host"
> to print only the value, not something as "/usr/bin/snmpget -t 1 -r 5
> -m RAPID-CITY -v 2c -c 'my community' 10.1.0.4:161
> 1.3.6.1.4.1.2272.1.3.1.0"
>
> Because of this I thought to use snmpwalk as external command, so I
> add an entry in commands.cfg as follows:
>
> define command{
> command_name snmpwalk
> command_line $USER5$/snmppwalk -v2c -c "mi community"
> $HOSTADDRESS$ -Oqv $ARGS1$
> }
>
> But is not working it outputs:
> "(Return code of 127 is out of bounds - plugin may be missing)"
>
> What's wrong with this? A suitable solution could be customize the
> output in "Status Information" but how could I do that?
>
> Thanks in advance!!
> --
> --
> Open Kairos http://www.openkairos.com
> Watch More TV http://sebelk.blogspot.com
> Sergio Belkin -
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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