Page 1 of 1

Reverse warning range

Posted: Wed May 22, 2013 9:54 am
by BanditBBS
Ok, I am pretty sure I've done this before, but am just having one heck of a mental meltdown, LOL.

I want to do this command:

Code: Select all

./check_snmp -H 10.6.255.251 -o ciscoMemoryPoolFree.1 -C xxxxxxx -P 2c -w 100000000 -C 90000000
The response is this:

Code: Select all

SNMP CRITICAL - *100971264* | CISCO-MEMORY-POOL-MIB::ciscoMemoryPoolFree.1=100971264
Since this is checking FREE memory, I need the W and C values counting down, not up, know what I mean? I need more coffee, I just can't think of a better way to phrase this today.

Re: Reverse warning range

Posted: Wed May 22, 2013 10:27 am
by BanditBBS
I think I figured it out.

Code: Select all

./check_snmp -H 10.6.255.251 -o ciscoMemoryPoolFree.1 -C xxxxxxx -P 2c -w 100000000: -C 90000000:
Putting the colons after the values seems to make it do < instead of >

Is that correct?

Re: Reverse warning range

Posted: Wed May 22, 2013 10:58 am
by sreinhardt
I believe you are correct! Having the : after the number should be result < critical value, per the plugin guidelines.