Problems with notification interval.

Jim Avery jim at jimavery.me.uk
Thu Dec 24 14:14:49 CET 2009


2009/12/22 Kasper Lund <kasper at nordal-lund.dk>:
> Hi List.
>
> I have just upgraded my nagios from 2.12 to 3.20 - everything seems to be
> running just fine except for my notification interval.
>
> Usually i use 0 as interval as i only want to receive the message once,
> but nagios does not accept this option or any other. I get the message
> every 5 minuttes no matter what i write in the notification_interval
> option.
>
> I have tried with 120 and 240 as well, i still get it every 5 minuttes :(
>
> Here is my service definition file:
>
> define service {
>        host_name                       dkcopenh010p-DHCP
>        service_description             Fixed_Drives
>        check_command                   NRPE_Check_Disk!15%!10%
>        is_volatile                     1
>        max_check_attempts              3
>        check_interval                  5
>        retry_interval                  3
>        passive_checks_enabled          1
>        check_period                    24x7
>        check_freshness                 1
>        freshness_threshold             0
>        low_flap_threshold              0
>        high_flap_threshold             0
>        notification_interval           240
>        notification_period             24x7
>        notification_options            w,u,r,c,f
>        notifications_enabled           1
>        contact_groups                  windows-admins
>        register                        1
>        }
>
> Where could my problem be. I suspect that some of the options i use may be
> deprecated or something similar?


I think the problem lies in your "is_volatile 1" directive.  Normally
you would want "is_volatile 0".

I don't know why this would behave any different between your old and
new setups.

Cheers,

Jim

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
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