Notification period 0

Mathieu Gagné mgagne at iweb.com
Thu Oct 1 21:22:12 CEST 2009


On 10/1/09 3:12 PM, Kurktchiev, Boris wrote:
> Ok so I set all my notification periods to 0 (in both services and hosts)
> and now I am getting a whole bunch of errors:
> Error: Notification period '0' specified for service 'ADVAPPS SSH' on host
> 'advapps.blah' is not defined anywhere!
>
> As far as I understood the documentation setting the period to 0 is all that
> was required... Do I have to do define it anywhere?

notification_interval != notification_period

Try "notification_interval 0" instead of "notification_period 0".

> notification_interval: 	This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this service - only one problem notification will be sent out.

Ref: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service

--
Mathieu

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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