Re: [Nagios-users] snmpwalk as external command or customize "Status information"

2008-06-16 Thread dani
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

Re: [Nagios-users] snmpwalk as external command or customize "Status information"

2008-06-10 Thread Jay R. Ashworth
On Mon, Jun 09, 2008 at 11:00:34AM +0200, Hugo van der Kooij wrote: > You need to write a small script to act as your plugin. That script will > ~ execute the snmpget or snmpwalk command and interpretate the output for > you. > > It should then set the return code to signal the proper status to na

Re: [Nagios-users] snmpwalk as external command or customize "Status information"

2008-06-09 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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

Re: [Nagios-users] snmpwalk as external command or customize "Status information"

2008-06-06 Thread Marc Powell
Please always respond on list so that others, now and in the future, learn from you experience. On Jun 6, 2008, at 1:30 PM, Sergio Belkin wrote: >>> >>> define command{ >>> command_namesnmpwalk >>> command_line$USER5$/snmppwalk -v2c -c "mi community" >>> $HOSTADDRESS$ -Oqv

Re: [Nagios-users] snmpwalk as external command or customize "Status information"

2008-06-02 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30/05/08 02:45 PM, 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/snmpg

Re: [Nagios-users] snmpwalk as external command or customize "Status information"

2008-05-30 Thread Marc Powell
On May 30, 2008, at 1:45 PM, 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 '

[Nagios-users] snmpwalk as external command or customize "Status information"

2008-05-30 Thread Sergio Belkin
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 o