help: notifications not being sent!

Christian Vanguers wangee at linuxbe.org
Sun Feb 16 12:12:01 CET 2003


> # Contact configuration - converted from netsaint: 20030113
> 
> define contact {
> 	contact_name			root
> 	alias				Root
> 	service_notification_period	24x7
> 	host_notification_period	24x7
> 	service_notification_commands	service-notify-by-email
> 	host_notification_commands	host-notify-by-email
> 	email				bryan at arc.net.au
> }
> 

Your contact configuration is correct, except the fact that you did not
tell nagios on which event it must notify.

Here is an example of my config...

Look at "service_notification_options" and "host_notification_options"

# 'nagios' contact definition
define contact{
        contact_name                    nagios
        alias                           Nagios Admin
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r
        host_notification_options       d,u,r
        service_notification_commands   submit-by-email
        host_notification_commands      host-notify-by-email
        email                           nagios at some.domain.com
        }





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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