Notification period Sundays Only

Tony.Mencevski at interactivedata.com Tony.Mencevski at interactivedata.com
Sun Jun 18 08:21:45 CEST 2006





Gentlemen,
I have two services that go down periodically on Sunday between 08:10am to
20:10pm .How do I
disable notifications during this time period only but still need the 24/7
notification enabled.I have
included the service file entry. I am not sure what the syntax on line
"notification period" should
be for stopping emails going out all day Sunday while the Tokyo exchange
feed is not trading during
this time?.

Melbourne Down - Time Sundays @ 08:36:
[18-06-2006 08:36:42] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq
feed;CRITICAL;HARD;2;Interface Serial0/0:0 CRITICAL - *down(2)*
[18-06-2006 08:34:42] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq
feed;CRITICAL;SOFT;1;Interface Serial0/0:0 CRITICAL - *down(2)*
[18-06-2006 08:36:42] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq
feed;CRITICAL;HARD;2;Interface Serial0/0:0 CRITICAL - *down(2)*
[18-06-2006 08:34:42] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq
feed;CRITICAL;SOFT;1;Interface Serial0/0:0 CRITICAL - *down(2)*
[04-06-2006 08:38:36] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq
feed;CRITICAL;HARD;2;Interface Serial0/0:0 CRITICAL - *down(2)*
[04-06-2006 08:36:36] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq
feed;CRITICAL;SOFT;1;Interface Serial0/0:0 CRITICAL - *down(2)*
................................................................................................................................................................................................................................
[18-06-2006 08:34:02] SERVICE ALERT: r-tyomci-jasdaq;Interface status
Exchange WAN;CRITICAL;HARD;2;Interface Serial1 CRITICAL - *down(2)*
[18-06-2006 08:32:02] SERVICE ALERT: r-tyomci-jasdaq;Interface status
Exchange WAN;CRITICAL;SOFT;1;Interface Serial1 CRITICAL - *down(2)*
[04-06-2006 08:39:56] SERVICE ALERT: r-tyomci-jasdaq;Interface status
Exchange WAN;CRITICAL;HARD;2;Interface Serial1 CRITICAL - *down(2)*

Melbourne UP - Time Sundays @ 20:10:
Starts backup @
[04-06-2006 20:08:42] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq
feed;OK;HARD;2;Interface Serial0/0:0 OK - up(1)
[[11-06-2006 19:50:58] SERVICE ALERT: r-tyoanc-feed;Int S0/0 to Jasdaq
feed;OK;HARD;2;Interface Serial0/0:0 OK - up(1)
-----------------------------------------------------------------------------------------------------------------------------------------------------
[11-06-2006 23:12:08] SERVICE ALERT: r-tyomci-jasdaq;Interface status
Exchange WAN;OK;HARD;2;Interface Serial1 OK - up(1)
[04-06-2006 20:10:22] SERVICE ALERT: r-tyomci-jasdaq;Interface status
Exchange WAN;OK;HARD;2;Interface Serial1 OK - up(1)


Current Configuration:
The service.cfg file holds the syntax for chnaging the notification periods
for individual  services.

# Service definition
define service{
        use                                     generic-service   ;

        host_name
r-tyomci-mcimpls,r-tyomci-clientdist,r-tyoanc-ancmpls,r-tyoanc-feed
        service_description                Int F0/0 to Internal ComStock
net0 LAN
        is_volatile                       0
        check_period                      24x7
        max_check_attempts              2
        normal_check_interval           5
        retry_check_interval              2
        contact_groups                    all-it-staff
        notification_interval             30
        notification_period               24x7
        notification_options              w,u,c,r
        check_command
check_interface!FastEthernet0/0!no9tIeNo
        }



Thanks Toni



_______________________________________________
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