re-notification problem

michal.lackovic at cz.schneider-electric.com michal.lackovic at cz.schneider-electric.com
Fri Oct 22 12:33:15 CEST 2010


Thanks for excellent hint !
All I had to do it is to add "+" to the contact definition

Escalation definition: 

define serviceescalation {^M 
       hostgroup_name SLOVAKIA,CZECH,POLAND,BULGARIA,GREECE,!GATEWAY 
       service_description                     .* 
       contacts                                +Northern CEE EUO leader 
       first_notification                      2 
       last_notification                       0 
       notification_interval                   240 
       escalation_period                       24x7 
       escalation_options                      w,c 


Michal






"Duncan Berriman" <duncan at dcl.co.uk> 
10/22/2010 12:15 PM
Please respond to
Nagios Users List <nagios-users at lists.sourceforge.net>


To
"'Nagios Users List'" <nagios-users at lists.sourceforge.net>
cc

Subject
Re: [Nagios-users] re-notification problem






Escalations take over from contacts so your contacts won’t be re-advised 
as far as I know.
 
By my understanding (which is limited as I’ve only just implemented 
escalations recently) you need to ensure your contacts are included in 
your escalations.
 
Duncan
 
From: michal.lackovic at cz.schneider-electric.com [
mailto:michal.lackovic at cz.schneider-electric.com] 
Sent: 22 October 2010 10:52
To: Nagios Users List
Subject: Re: [Nagios-users] re-notification problem
 
The notification appears to work normally if the service escalation config 
is omitted. 
Is there any relation between it? 

Michal 





Michal Lackovic/CZ/Schneider at Europe 
10/22/2010 10:01 AM 


Please respond to
Nagios Users List <nagios-users at lists.sourceforge.net>



To
nagios-users at lists.sourceforge.net 
cc

Subject
[Nagios-users] re-notification problem
 








Dear community, 

I just noticed that my system (Nagios 3.2.0) don't re-notify the 
contacts.However it sends notification to escalation contacts. 
So what id does is that it sends first notification to the host contact 
then after next 4 hours it sends notification to escalation contact and 
keep sending every 4 hours. 
As far as I know, if the notification interval is 240 minutes and first 
escalation is triggered after 2 notifications are sent to the host contact 
then the escalation contact should get first notification after 480 
minutes. Correct? 

My setup: 
First notification to the contacts --> re-notify after 4 hours - re-notify 
after 4 hours and and send escalation to leader 

Service template: 

define service { 
      name                                          Service group 1 
      service_description                           24x7,3,10,2 
      max_check_attempts                            3 
      check_interval                                10 
      retry_interval                                2 
      active_checks_enabled                         1 
      passive_checks_enabled                        0 
      check_period                                  24x7 
      obsess_over_service                           0 
      check_freshness                               0 
      flap_detection_enabled                        0 
      notification_interval                         240 
      notification_period                           24x7 
      notification_options                          w,r,c,s 
      notifications_enabled                         1 
      register                                    0 


Service definition: 

define service { 
       hostgroup_name                CENTRAL DC, 
       service_description                Storage 
       display_name                        Storage 
       servicegroups                        NRPE agents,Storage 
       use                                Service group 1 
       check_command                check_nt_storage!90%!95% 
       host_name                        !WDEUR01,!WDEUR02 
       register                        1 
       } 

Escalation definition: 

define serviceescalation {^M 
       hostgroup_name SLOVAKIA,CZECH,POLAND,BULGARIA,GREECE,!GATEWAY 
       service_description                     .* 
       contacts                                Northern CEE EUO leader 
       first_notification                      2 
       last_notification                       0 
       notification_interval                   240 
       escalation_period                       24x7 
       escalation_options                      w,c 
       } 

thanks in advance for your advice 

Michal 
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America 
contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in 
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-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 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America 
contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in 
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101022/b52cc4c2/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- 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