> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of [EMAIL PROTECTED]
> Sent: Friday, January 20, 2006 10:36 AM
> To: [email protected]
> Subject: [Nagios-users] Using Templates
>
> Hi,
>
> is it possible to use more than one template for one service?
>
> e.g.:
>
> define service{
> ...
> use devicetype,sla,monitoringhost
> ...
> }
Not in this way....
What I believe you can do is create a base template, then have another
template use that base, then have a third template use the second
template. If any of the templates have the same options defined, the
last one wins.
So...
define template{
....
}
define template2{
use template
....
}
define template3{
use template2
....
}
define service{
use template3
}
--Dennis
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Nagios-users mailing list
[email protected]
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