Notification criteria

Jeffrey Watts jeffrey.w.watts at gmail.com
Wed Jan 26 21:18:54 CET 2011


Nagios notifies on HARD states (or flapping, which is another matter).  It's
generally assumed that people don't want to be notified every time there's a
failed check - they want to be notified after it's failed a certain number
of times.

A SOFT state is a state where non-OK checks have occurred less than
max_check_attempts number of times.  In your case, it appears that
max_check_attempts is 3.  Nagios will try host or service (in your example)
3 times before going into a HARD state and notifying.

In your example there appears to be a discrepancy between the
retry_check_interval and when the checks were actually performed.

Jeffrey.

On Wed, Jan 26, 2011 at 9:32 AM, <l.vazquez at bpa.ad> wrote:

> Good Evening,
>
> I have a doubt with nagios notification criteria.
>
> [26-01-2011 15:40:45] SERVICE ALERT:
> hostName;serviceName;CRITICAL;HARD;3;Trying IP:443... [ KO ] :: Host no
> accessible
> [2601-2011 15:29:05] SERVICE ALERT:
> hostName;serviceName;CRITICAL;SOFT;2;Trying IP:443... [ KO ] :: Host no
> accessible
> [26-01-2011 15:16:05] SERVICE ALERT:
> hostName;serviceName;CRITICAL;SOFT;1;Trying IP4:443... [ KO ] :: Host no
> accessible
>
> The critical state began at 15:16, but I didn't receive any notification
> tll 15:40, when 'HARD' has been marked instead of 'SOFT'.
> What's the difference? What's the service/config parameter of
> 'HARD'/'SOFT'?
>
> This is my service config:
>
>         retry_check_interval    5
>         notification_interval   30
>         notification_period     24x7
>         notification_options    w,u,c,r
>
> Thanks in advance,
> --*
> Laura Vàzquez Martín*
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110126/fd5512fe/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list