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:
Check_snmp Usage
Re: Check_snmp Usage
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})Former Nagios Employee