"service has a notification interval less than its check interval" but it has not....

Danilo Godec danilo.godec at agenda.si
Thu Aug 26 12:49:34 CEST 2010


 On 08/26/2010 11:34 AM, J.M. wrote:
> Warning: Service 'TRAP' on host 'swfc6'  has a notification interval less than
> its check interval!  Notifications are only re-sent after checks are made, so
> the effective notification interval will be that of the check interval.
>
> happens in these cases:
>
>         normal_check_interval          30s
>         notification_interval          15s
>
>         normal_check_interval          30s
>         notification_interval          1
>
>         normal_check_interval          30s
>         notification_interval          15
>
>         normal_check_interval          30s
>         notification_interval          29
>
> but not in these cases:
>
>         normal_check_interval          30s
>         notification_interval          30s
>
>         normal_check_interval          30s
>         notification_interval          30
>
>         normal_check_interval          30s
>         notification_interval          31
>
>
> The complete service definition is
>
>         use                             normal
>         service_description             TRAP
>
>         is_volatile                     0
>         check_period                    24x7
>         max_check_attempts             1
>         normal_check_interval          30s
>         retry_check_interval           1
>         notification_interval          15
>         notification_period            24x7
>         notification_options           u,c,w
>
>
> Can anyone explain why these warnings happen? Except for the first case, I don't
> understand.
>

AFAIK these intervals don't take time as their argument, but a
multiplier of 'interval_length' (by default, this is set to 60 seconds).

So Nagios probably ignores the 's' suffix and the resulting intervals
are all in minutes...

I guess you could set 'interval_length' to '1' (second) and set other
intervals accordingly (30, 60, 900, ...).


  Danilo-


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
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