Can templates be cascaded together?
Ron Gage
ron at rongage.org
Wed Mar 1 22:52:01 CET 2006
Can we cascade a template as in the following:
define service{
name blah
...
register 0
}
define service{
name info
use blah
...
register 0
}
define service{
name checkit
use info
...
}
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?
--
Ron Gage
(LPIC1 MCP A+ Net+)
Westland, Michigan
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------------------------------------------------
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&kid=110944&bid=241720&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