Page 2 of 2

Re: Check_snmp Usage

Posted: Wed May 25, 2016 2:39 pm
by spyder13337
so for my warn and crit i needed to measure negative value so if my battery is at 100 if it goes below 50 to generate a warning

which i research cam to be -w50: -c30:

Re: Check_snmp Usage

Posted: Wed May 25, 2016 4:35 pm
by rkennedy
That should work. The range you'll want to follow is this - (not all plugins will work with these additions to the thresholds)

Code: Select all

Range definition
Generate an alert if x...
10 	< 0 or > 10, (outside the range of {0 .. 10})
10: 	< 10, (outside {10 .. ∞})
~:10 	> 10, (outside the range of {-∞ .. 10})
10:20 	< 10 or > 20, (outside the range of {10 .. 20})
@10:20 	≥ 10 and ≤ 20, (inside the range of {10 .. 20})