Contact Template Not Working?
Thomas Quinlan
corsis_tom at yahoo.com
Mon Apr 19 21:30:32 CEST 2004
Hi,
Can anyone tell me why this doesn't work?
define contact{
contact_name datacenter-contact
alias datacenter-contact
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 host-notify-by-email
register 0
}
define contact{
contact_name nagiosadmin
alias Nagios Admin
email root at localhost
use datacenter-contact
}
I get:
Error: Template 'datacenter-contact' specified in
contact definition could not be found (config file
'/etc/nagios/contacts.cfg', line 19)
Any help is greatly appreciated. I have every other
aspect of Nagios (hosts, hostgroups, etc) using
templating, but I can't figure out for the life of me
why it doesn't work for contacts.
Tom
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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