Re: [Nagios-users] check_snmp output unit conversion

2011-07-15 Thread Mark Nipper
On 14 Jul 2011, Mark Nipper wrote: > $ check_snmp -H 172.16.74.130 -P 1 -C public -o > .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 20 -c 205000 > SNMP WARNING - *204000* | iso.3.6.1.4.1.318.1.1.1.2.2.3.0=204000 To answer my own stupid question, the obvious form should look something like: ---

Re: [Nagios-users] check_snmp output unit conversion

2011-07-14 Thread Mark Nipper
On 31 Mar 2011, cas...@activenetwerx.com wrote: > Well, I'm using 1.4.15 from rpmforge on rhel and it works, what can I say:) I'm using the EPEL version of the same packages and it's not working in any way that I can divine. I ran across this post: --- http://permalink.gmane.org/gmane.net

Re: [Nagios-users] check_snmp output unit conversion

2011-03-30 Thread Joseph L. Casale
>check_snmp 1.4.15 Well, I'm using 1.4.15 from rpmforge on rhel and it works, what can I say:) -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides a

Re: [Nagios-users] check_snmp output unit conversion

2011-03-30 Thread Cameron Camp
>>>./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l >>'Runtime Remaining' -u 'Minutes' >SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime >>Remaining=132000 >> >>which is 22 minutes. >>What version of check_snmp? Mine is current and yields expected data. >>jlc >

Re: [Nagios-users] check_snmp output unit conversion

2011-03-30 Thread Cameron Camp
>>./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l >>'Runtime Remaining' -u 'Minutes' >SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime >>Remaining=132000 >> >>which is 22 minutes. >What version of check_snmp? Mine is current and yields expected data. >jlc pack

Re: [Nagios-users] check_snmp output unit conversion

2011-03-30 Thread Joseph L. Casale
>./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l >'Runtime Remaining' -u 'Minutes' > >on an APC UPS monitoring card, which outputs in seconds like: > >SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime >Remaining=132000 > >which is 22 minutes. If I divide the outpu

[Nagios-users] check_snmp output unit conversion

2011-03-30 Thread Cameron Camp
I'm running a command like: ./check_snmp -H 1.2.3.4 -o .1.3.6.1.4.1.318.1.1.1.2.2.3.0 -w 15 -c 5 -l 'Runtime Remaining' -u 'Minutes' on an APC UPS monitoring card, which outputs in seconds like: SNMP CRITICAL - Runtime Remaining *132000* Minutes | Runtime Remaining=132000 which is 22 minutes. I

Re: [Nagios-users] check_snmp output

2009-04-22 Thread Marc Powell
Please always respond on list -- On Apr 22, 2009, at 10:18 AM, shadih rahman wrote: > Marc, > Can you please give me some direction for the wrapper script. > Do you mean to capture the output and then do some type search and > replace on the string? Yes, exactly. You'll also need to ca

Re: [Nagios-users] check_snmp output

2009-04-22 Thread Marc Powell
On Apr 22, 2009, at 8:46 AM, shadih rahman wrote: > All, >I want to show the result of check_snmp in a certain way. For > example if I am doing a "nominal current" check on Liebert ups, the > snmp query will return 506 as result. However this actauly means > 50.6 amp. Is there any wa

[Nagios-users] check_snmp output

2009-04-22 Thread shadih rahman
All, I want to show the result of check_snmp in a certain way. For example if I am doing a "nominal current" check on Liebert ups, the snmp query will return 506 as result. However this actauly means 50.6 amp. Is there any way to control the output on check_snmp plugin. I am aware of the "-u