Can templates be cascaded together?

Jim Perrin jperrin at gmail.com
Wed Mar 1 22:48:53 CET 2006


>
> Why would I want to use such an arrangement?  Simple: the "blah" service defines
> generic values I want for ALL service checks (enable_notifications, etc...).
> The "info" service defines generic values for each check type - check_ping for
> example (check_command, service description, etc...).  Of course, "checkit" is
> where I define which service to check on which host.
>
> Would this work?
>
>

Sure. See "inheritance chaining" in the documentation
http://nagios.sourceforge.net/docs/2_0/templaterecursion.html
you did read them right? :-P




--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety''
Benjamin Franklin 1775


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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