Alert warnings & critical thresholds primer?

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
jb60606
Posts: 9
Joined: Wed May 20, 2015 9:34 am

Alert warnings & critical thresholds primer?

Post by jb60606 »

Is there any document out there that can explain the Warning and Critical options and values used by NLS alerts? Particularly for someone with no experience setting up alerts with another Nagios product (at least, not in about a decade or so).

A value of :0 for Warning and :0 for Critical coupled with a check_interval half the time of the look_back period gets the job done and keeps email-spamming at bay. Though I know you can be more creative and intelligent with these alerts. I tried following some brief 'tutorials' on the web for general 'Nagios' alerting, though with no success.

thanks

P.S. I can't recall specifically, but it was probably dumb luck that I arrived at a :0 :0.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Alert warnings & critical thresholds primer?

Post by jolson »

All of the options for thresholds can be viewed in the 'Nagios Plugins' documentation, the specific page of interest is here: https://nagios-plugins.org/doc/guidelines.html

Please see 'Table 3. Example ranges' - this will explain exactly how you can define your thresholds.
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})
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
jb60606
Posts: 9
Joined: Wed May 20, 2015 9:34 am

Re: Alert warnings & critical thresholds primer?

Post by jb60606 »

solved.
Thanks again.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Alert warnings & critical thresholds primer?

Post by jolson »

No problem - I'll close the thread out.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked