Send only X Notifications on failure

Assaf Flatto assaf at m-wise.com
Sun Jan 1 16:41:55 CET 2006



mario at bortal.de wrote:
> Hi,
> 
> 
>>define serviceescalation{
>>     host_name           xxx01
>>     service_description check_http
>>     first_notification  1
>>    ** last_notification   60**
>>     notification_interval       10
>>     contact_groups              Admins
>>     escalation_period   24x7
>>     escalation_options  w,u,c,r
>>    }
>>
>>Change the "last notification" to the number of messages you want to be
>>send out
>>  for the service .
>>
>>if you want only one for each event - just change it to 1 .
> 
> 
> Can you set the last_notification globally?
> I have about 12Services to monitor, and it would be useful if i could only
> define it once.
> 
> Otherwise my escalation config will get pretty big.
> 
> Thanks, Mario
> 


Service escalation is done for each service in a separate section.
that is not to say that for each server you need to do a service escalation 
definitions , read the documentation on service groups

http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#servicegroup
-- 
Assaf Flatto
m-Wise Operations
Cellular: +972-54-5679230
e-mail: assaf at m-wise.com
MSN : firedrake_3 at hotmail.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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