Check_snmp Usage

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
spyder13337
Posts: 68
Joined: Tue Oct 06, 2015 9:50 pm

Re: Check_snmp Usage

Post 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:
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Check_snmp Usage

Post 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})
Former Nagios Employee
Locked