Re: [Nagios-users] Check_snmp -d -s

2011-02-11 Thread Yueh-Hung Liu
you can write a wrap script, which would be the check command, to deal the return string and report correct status to Nagios. of course this script will use check_snmp in it. On Fri, Feb 11, 2011 at 7:08 PM, Tristan Drinkwater trist...@micro-p.com wrote: Morning all, I’m trying to refine a

Re: [Nagios-users] Check_snmp -d -s

2011-02-11 Thread Giles Coochey
On 11/02/2011 12:08, Tristan Drinkwater wrote: Morning all, I’m trying to refine a few snmp checks I do. My command looks like this; ./check_snmp –H xx.xx.xx.xx –o READyNAS-MIB::diskState.1 –C nas-drive –P 2c –v This produces the following; /usr/bin/snmpget –t 1 –r 5 –m ALL –v 2c

Re: [Nagios-users] Check_snmp -d -s

2011-02-11 Thread Tristan Drinkwater
Hi, I have just tried that not but dice. :( -Original Message- From: Giles Coochey [mailto:gi...@coochey.net] Sent: 11 February 2011 11:25 To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Check_snmp -d -s On 11/02/2011 12:08, Tristan Drinkwater wrote: Morning all

Re: [Nagios-users] Check_snmp -d -s

2011-02-11 Thread Tristan Drinkwater
[mailto:trist...@micro-p.com] Sent: 11 February 2011 11:34 To: Nagios Users List Subject: Re: [Nagios-users] Check_snmp -d -s Interesting. How do I go about a wrap script then? I take it I call the script from the command_check line? Anything special about outputting the result so Nagios

Re: [Nagios-users] Check_snmp -d -s

2011-02-11 Thread Greg Pangrazio
[mailto:trist...@micro-p.com] Sent: 11 February 2011 11:34 To: Nagios Users List Subject: Re: [Nagios-users] Check_snmp -d -s Interesting. How do I go about a wrap script then? I take it I call the script from the command_check line?  Anything special about outputting the result so