Not getting email alerts

Quanah Gibson-Mount quanah at stanford.edu
Mon Aug 23 00:21:08 CEST 2004



--On Thursday, August 05, 2004 5:42 PM -0500 Marc Powell <marc at ena.com> 
wrote:

> Well, I guess all I can say in response is that it _does_ work. I just
> tested it using the the following --

And it still doesn't work for me, using the following:

define contactgroup {
    contactgroup_name   ldap-qsys-admins
    alias               LDAP Test Host Administrators
    members             test-service
}


define hostgroup {
    hostgroup_name  ldap-qdev-group
    alias           LDAP QDev Group
    contact_groups  ldap-qsys-admins
    members         ldap-dev1
}

define host {
    name                    ldap-qother-template
    check_command           check-host-alive
    max_check_attempts      2
    notification_interval   2
    notification_period     24x7
    notification_options    d,u,r
    notifications_enabled   1
    register                0
}

define host {
    use         ldap-qother-template
    host_name   ldap-dev1
    alias       ldap-dev1
    address     ldap-dev1.stanford.edu
    parents     smr-a-3548
}

define contactgroup {
    contactgroup_name ldap-qapp-admins
    alias             LDAP Administrators
    members           test-service
}

define service {
    name                    ldap-qother-template
    max_check_attempts      3
    normal_check_interval   2
    retry_check_interval    2
    check_period            24x7
    notification_interval   3
    notification_options    w,u,c,r
    notification_period     businesshours
    contact_groups          ldap-qapp-admins
    register                0
}

define service {
    use                 ldap-qother-template
    hostgroup_name      ldap-qdev-group
    service_description Disk
    max_check_attempts  3
    check_command       check_disk!20%!10%
}

Nagios.log shows:

[1093198264] SERVICE ALERT: ldap-dev1;Disk;OK;HARD;3;DISK OK [3875661 kB 
(94%) free on /dev/dsk/c0t0d0s0] [0 kB (100%) free on fd] [0 kB (100%) free 
on mnttab] [26776040 kB (99%) free on /dev/dsk/c0t0d0s4] [3965560 kB (99%) 
free on swap] [34623920 kB (99%) free on /dev/dsk/c0t1d0s1] [953992 kB 
(99%) free on /dev/dsk/c0t0d0s7] [1941152 kB (97%) free on 
/dev/dsk/c0t0d0s6] [9000000 kB (100%) free on AFS
[1093198264] GLOBAL SERVICE EVENT HANDLER: 
ldap-dev1;Disk;OK;HARD;3;notify-smarts
[1093198619] HOST ALERT: ldap-dev1;DOWN;SOFT;1;CRITICAL - Plugin timed out 
after 10 seconds
[1093198619] GLOBAL HOST EVENT HANDLER: ldap-dev1;DOWN;SOFT;1;notify-smarts
[1093198630] HOST ALERT: ldap-dev1;DOWN;HARD;2;CRITICAL - Plugin timed out 
after 10 seconds
[1093198630] HOST NOTIFICATION: 
test-service;ldap-dev1;DOWN;notify-by-email;CRITICAL - Plugin timed out 
after 10 seconds
[1093198631] GLOBAL HOST EVENT HANDLER: ldap-dev1;DOWN;HARD;2;notify-smarts
[1093198632] SERVICE ALERT: ldap-dev1;Disk;UNKNOWN;HARD;1;(No output!)


Nothing further is logged by Nagios for this host and its services, ever 
after several hours.

Status.log shows:

[1093213249] 
HOST;ldap-dev1;DOWN;1093213234;1093198630;0;407875;717;0;1093198630;1;1;1;1;1;0;0.00;0;1;1;CRITICAL 
- Plugin timed out after 10 seconds
[1093213249] 
SERVICE;ldap-dev1;Disk;UNKNOWN;1/3;HARD;1093212995;1093213224;ACTIVE;1;1;1;1093198632;0;UNKNOWN;407561;780;0;0;0;0;1;22;225;1;0;0.00;0;1;1;1;(No 
output!)


--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