Weird alert

Collins, Steve Steve.Collins at industry.gov.au
Wed Sep 8 04:09:19 CEST 2004


I have a contact group for a set of hosts.  The hostgroup members are all set to notify 24x7, for example:

Host.cfg
~~~~~~~~
define host {
    use    generic-host
    host_name    intranet.industry.gov.au
    alias    ITR Intranet
    address    intranet.industry.gov.au
    parents    MIKEY
    check_command    check-host-alive
    max_check_attempts    3
    notification_interval    60
    notification_period    24x7
    notification_options    d,u,r
}

This host and several others are all members of a particular hostgroup, for that hostgroup there are a couple of hostgroup escalations, thus:

HostGroupEscalation.cfg
~~~~~~~~~~~~~~~~~~~~~~~
define hostgroupescalation {
    hostgroup_name    Macquarie_internet_zone
    first_notification    2
    last_notification    0
    notification_interval    360
    contact_groups    webdevoncall
}
define hostgroupescalation {
    hostgroup_name    Macquarie_internet_zone
    first_notification    2
    last_notification    2
    notification_interval    60
    contact_groups    servicedesk,webpub
}

For the contactgroup webdevoncall, there is a single contact, thus:

Contacts.cfg
~~~~~~~~~~~~
define contact {
    use    generic-contact
    contact_name    webdev-oncall
    alias    Web Development Team Oncall Member
    pager    0421054024 at streetdata.com.au
    service_notification_period    nonworkhours
    host_notification_period    nonworkhours
    service_notification_options    w,u,c,r
    host_notification_options    d,u,r
    service_notification_commands    notify-by-epager
    host_notification_commands    host-notify-by-epager
}

There are several other elements around this info which send emails during workhours when hosts have issues, however this morning when the host MIKEY went down, I received an SMS message about it.  My (apparently flawed) understanding is that the contact webdev-oncall should only receive notifications in nonworkhours (from the contact definition) and only on the second and subsequent notification (from the hostgroup escalation).

Well, I received the SMS on the second notification, but during workhours...

Where have I messed up?

Steve
--
Stephen Collins
Web Development Section
eBusiness Division
__________________________________________________
Department of Industry, Tourism and Resources 
Level 12, 20 Allara Street, Canberra City ACT 2600
GPO Box 9839, Canberra ACT 2601

E steve.collins at industry.gov.au
P +61 2 62137193
C +61 410 680722
F +61 2 62136227


**********************************************************************
The information contained in this e-mail, and any attachments to it, is
intended for the use of the addressee and is confidential. If you are not the intended recipient you must not use, disclose, read, forward, copy or retain any of the information. If you have received this e-mail in
error, please delete it and notify the sender by return e-mail or telephone.
The Commonwealth does not warrant that any attachments are free from viruses or any other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments.
***********************************************************************************



More information about the Users mailing list