HOST DOWN notification not getting resent
Joe Rhett
jrhett at meer.net
Tue Aug 24 03:35:12 CEST 2004
I cannot help you debug this. You must do this for yourself. Read the
documentation and track everything through.
On Mon, Aug 23, 2004 at 04:38:23PM -0700, Quanah Gibson-Mount wrote:
> --On Monday, August 23, 2004 4:15 PM -0700 Joe Rhett <jrhett at meer.net>
> wrote:
>
> >Either your contact or an escalation is limiting the sending of more.
> >Read the documentation on alerts -- there is quite a lot of interactions
> >that could be preventing this.
>
> I don't have escalations in place. My contact is rather simply defined.
>
> I still do not get more than a single host notification. I've had the host
> down for over 24 hours now. Again I note the Nagios log shows nothing
> after the first alert goes out. Again, here is the complete definition of
> the service. I believe I should be getting a notification about every 2
> minutes that the host is down.
>
> 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
> }
>
>
>
> 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 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
--
Joe Rhett
Senior Geek
Meer.net
-------------------------------------------------------
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