Hi Kai,
for the template only say name not contact_name. Then you have a name
for the template you used.
Greetings Willi
>>> Kai Timmer <em...@kaitimmer.de> 30.10.2012 09:38 >>>
Hello,
the following contact definition throws an error when starting Icinga.
Can someone please help me out with whats wrong here?
To me it looks perfectly fine. The error is:
Error: Template 'kait' specified in contact definition could not be
not found (config file
'/usr/local/nagios-intern/etc/notification/contacts/kait.cfg',
starting on line 22)
Error processing object config files!
I really don't get it.
/--- code ---/
define contact{
contact_name kait
alias Kai Timmer
email f...@bar.de
pager 0123123456789
address1 f...@jabber.bar.de
service_notification_options w,u,c,r
host_notification_options d,r
register 0
}
define contact{
use kait
contact_name kait_work
service_notification_period work_hours
host_notification_period work_hours
service_notification_commands notify-by-email, notify-by-jabber
host_notification_commands host-notify-by-email,
host-notify-by-jabber
}
define contact{
use kait
contact_name kait_off
service_notification_period off_work
host_notification_period off_work
service_notification_commands notify-by-email, notify-by-sms
host_notification_commands host-notify-by-email,
host-notify-by-sms
}
/--- code ---/
--
Kai Timmer | E-Mail: em...@kaitimmer.de
Chemnitzer Linux-Tage | http://chemnitzer.linux-tage.de
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users