service templates

Max perldork at webwizarddesign.com
Tue May 6 21:33:35 CEST 2008


Whoops, hit send too soon!

hostgroup should be hostgroups in my example ..

if you use the host template method, just remember that in the host
definition you will then need to use a + in front of host groups
defined in the host definition so that the host inherits the
hostgroups from the templates in 'use' ..

so the same should be done in the host template :p ...

define host {
    name windows-server
    __variable_1 stuff
    __variable_2 stuff
    hostgroups +windows-servers
    ...
    register 0
}

define host {
    use generic-host, windows-server
    hostgroups +ssh-hosts, http-hosts
    ...
}

Sorry about that.

- Max

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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