Notifications not being sent

Christopher Tyler chris at mowisp.net
Fri Dec 11 18:33:06 CET 2009


First, thank you all for any help that you can provide.  Here is the 
problem that I am having, I hope someone can help point out something 
obvious that I have missed.

1) Hosts are being monitored just fine, status map shows red when a host 
goes down, event log shows alerts like it should.
2) Timeframes are set for 24/7
3) All host and service notifications are enabled
4) email address is correct
5) All hosts services are, at a minimum, set for w,c,u,r
6) If I go to a service or host and click on the link "Send custom host 
notification" it will send the notification without "forcing" it so I 
know that the timeframes are being read correctly and this also verifies 
the email address is correct and the mail send is working.
7) The event log doesn't show that it's even trying to send a 
notification when something alerts.

Running Nagios Version 3.2.0

And here is a snippet from my configuration files, all hosts/services 
are set up identically:

define contact {
                 contact_name                          nagiosadmin
                 alias                                 Nagios Admin
                 host_notification_options             d,u,r,f,n
                 service_notification_options          w,u,c,r,f,n
                 email                                 support at mowisp.com
                 pager                                 chris at mowisp.net
                 host_notification_period              24x7
                 service_notification_period           24x7
                 host_notification_commands            notify-host-by-email
                 service_notification_commands notify-service-by-email
}

define contactgroup {
                 contactgroup_name                     admins
                 alias                                 Nagios Administrators
                 members                               nagiosadmin
}

define host {
                 name Default_timeperiod_interval_5
                 register                              0
                 max_check_attempts                    2
                 check_interval                        5
                 retry_interval                        1
                 notification_interval                 60
                 notification_options                  d,u,r,f,s,n
                 active_checks_enabled                 1
                 passive_checks_enabled                0
                 notifications_enabled                 1
                 check_freshness                       0
}

define service {
                 name Default_timeperiod_interval_5
                 register                              0
                 max_check_attempts                    2
                 check_interval                        5
                 retry_interval                        1
                 notification_interval                 60
                 notification_options                  w,u,c,r,f,s,n
                 active_checks_enabled                 1
                 passive_checks_enabled                0
                 notifications_enabled                 1
                 check_freshness                       0
}

define timeperiod {
                 timeperiod_name                       24x7
                 alias                                 24 Hours A Day, 7 
Days A Week
                 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
}

define host {
                 host_name                             Miller Silo 900 
Sector 1
                 address                               10.90.16.1
                 check_command                         check-host-alive
                 notification_interval                 60
                 notification_options                  d,u,r,f,n
                 max_check_attempts                    3
                 active_checks_enabled                 1
                 passive_checks_enabled                0
                 notifications_enabled                 1
                 check_period                          24x7
                 notification_period                   24x7
                 contact_groups                        admins
                 parents                               Miller Silo CMM
                 use Default_timeperiod_interval_5
}

define service {
                 service_description                   check_ping
                 check_command check_ping!20,80%!30,90%
                 host_name                             Miller Silo 900 
Sector 1
                 check_period                          24x7
                 notification_period                   24x7
                 contact_groups                        admins
                 notification_interval                 60
                 notification_options                  w,u,c,r,f,n
                 max_check_attempts                    3
                 check_interval                        5
                 retry_interval                        1
                 active_checks_enabled                 1
                 passive_checks_enabled                0
                 notifications_enabled                 1
                 check_freshness                       0
                 freshness_threshold                   86400
}

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
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