Template inheritance questions

Shawn Kovalchick bamapookie at gmail.com
Thu Jul 13 16:45:40 CEST 2006


I have a couple of questions about inheritance:

1. Is it possible to inhetit from more than one template?

define service{
    ...
   use ping-service-template
   use dev-group
}


2. is it possible to append to, rather than override, a parameter?  For
example, is there a way to make the example below result in contact_groups
equalling db-admins and server-admins?

define host{
    contact_groups db-admins
    name db-host-template
    register 0
}


define host{
    ...
    contact_groups server-admins
    use db-host-template
}

Thanks for your help.

Shawn K.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060713/ebdc0c48/attachment.html>
-------------- next part --------------

-------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
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