contacts.cfg - Templates?

Chris Jones cjones at pittstate.edu
Tue Oct 17 18:17:35 CEST 2006


Hello,

I noticed there is no "use" directive in contacts.cfg. Is there a 
specific reason that templates are not able to be used in contacts.cfg?

My contacts is set up like this:

--- TEMPLATES START ----
<define params for 'contact-template-all'>

<use 'contact-template-all', add params for 'contact-template-email'>
<use 'contact-template-all', add params for 'contact-template-pager'>
<use 'contact-template-all', add params for 'contact-template-both'>
--- TEMPLATES END ---

<contact definition, use 'contact-template-email'>
<contact definition, use 'contact-template-pager'>
<contact definition, use 'contact-template-both'>

I hope that made sense, I can include the actual contacts.cfg stuff here 
if it didn't make sense to people.

If there really is no templating available in contacts.cfg, can this be 
a feature added to 3.x? I'm sure it couldn't be that hard to implement, 
since Nagios overall supports (and encourages) templating!

--
Chris Jones
Senior Systems Manager
Pittsburg State University
Phone: 620-235-4158
E-mail: cjones at pittstate.edu
-- 

There isn't much difference between Linux and Unix.

Just think of Linux as Unix, written by 1,000 monkeys who have never seen Unix before. 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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