Not getting email alerts

Quanah Gibson-Mount quanah at stanford.edu
Wed Aug 25 03:26:34 CEST 2004



--On Tuesday, August 24, 2004 6:17 PM -0700 Joe Rhett <jrhett at meer.net> 
wrote:

> The problem is likely with the 'test-service' contact notification
> options, which can override this.
>
> Based on your naming of these things, are you sure you grok what contacts
> and contactgroups are?

My contact is defined as:

define contact {
    contact_name                    test-service
    alias                           Test Service
    service_notification_period     24x7
    host_notification_period        24x7
    service_notification_options    w,u,c,r
    host_notification_options       d,u,r
    service_notification_commands   notify-by-email
    host_notification_commands      notify-by-email
    email                           page-quanah
}

It is willing and able to be notified 24x7.  This works as expected with 
all service notifications.

And yes, a contactgroup contains all contacts to contact when there are 
problems.

Generally we have separate contacts for host & service problems, which is 
why I a have different contact groups defined for the service & host (to 
keep it set up like the rest of my ssytems are).  If the test service is 
overriding things, then I assume that having them overridden to 24x7 is a 
good thing.

However, for the host part at least, both sections are 24x7.

24x7 is defined as:

# Twenty four seven -- 24 hours a day, 7 days a week
define timeperiod {
    timeperiod_name 24x7
    alias       Twenty Four Seven
    Sunday      00:00-24:00
    monday      00:00-24:00
    tuesday     00:00-24:00
    wednesday   00:00-24:00
    thursday    00:00-24:00
    friday      00:00-24:00
    saturday    00:00-24:00
}

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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