Is there a way to introduce a third threshold when monitoring CPU,MEM,DISK, etc...?
For example I want Warning, High, Critical?
Thanks,
Monitoring Thresholds
Re: Monitoring Thresholds
Nagios doesn't recognize a "High" state, only OK, Warning, Critical, and Unknown. You can do basically anything you want with plugins threshold-wise, as long as they stick to the 0/1/2/3 exit codes for the aforementioned states.
Former Nagios employee
-
AMacintosh
- Posts: 59
- Joined: Mon Nov 07, 2011 12:26 pm
Re: Monitoring Thresholds
Thanks for the reply. Can you give an example of how I would use the cpu plugin for example to have an additional threshold?
Re: Monitoring Thresholds
I guess I should clarify my last statement. A plugin you write yourself can have whatever arguments you want it to have, but Nagios still only uses OK/Warn/Crit/Unknown states. The standard Nagios plugins won't have a "High" threshold and it wouldn't make sense for them to do so since it would need to either be lumped into Warn or Crit or ignored entirely.
Former Nagios employee
-
AMacintosh
- Posts: 59
- Joined: Mon Nov 07, 2011 12:26 pm
Re: Monitoring Thresholds
Thanks for the clarifications. Makes sense!