contact options

Fredrik Wänglund fredrik.wanglund at datavis.se
Wed Jul 2 08:22:12 CEST 2003


Use the notification_period or notification_optins to supress notifications;

define contact {
name                            web-contact
alias                           Web-user
service_notification_period     none
host_notification_period        none
service_notification_options    n
host_notification_options       n
service_notification_commands   notify-by-email
host_notification_commands      host-notify-by-email
email                           foo at foo.com
register                        0
}

define timeperiod {
timeperiod_name                none
alias                          No Time Is A Good Time
}


/FredrikW


DiNisco, Jeff wrote:

>The documentation states the email and pager options are optional when defining a contact yet I get this error message when I omit either option...
>
>Reading configuration data...
>Error: Contact name, alias, or email address and pager number are NULL
>Error: Could not register contact (config file '/usr/local/nagios/etc/contacts.cfg', line 19)
>
>I need to have a generic user just for web access.  I also don't have a pager.  If I use a bad address my mail q fills up with failed messages.  Any ideas???  
>
>thanx, jeff
>
>
>
>-------------------------------------------------------
>This SF.Net email sponsored by: Free pre-built ASP.NET sites including
>Data Reports, E-commerce, Portals, and Forums are available now.
>Download today and enter to win an XBOX or Visual Studio .NET.
>http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
>_______________________________________________
>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
>  
>




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
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