Template befor Definition

Andreas Ericsson ae at op5.se
Fri Dec 14 16:51:09 CET 2007


Mark Eisenblaetter wrote:
> Hi,
> 
> 
> for my distributed monitoring  it would be great if i where  possible to
> say:
> Use the Template and not the option set in the definition.
> 
> My problem is that when i have an active check on an distributed server it
> is passiv on the master.
> I control this beavior with the template system (diffrend templates on
> maser/slave)
> 
> But i if use check_freshness on the master it will use the check_command and
> f.e pings the Host which could get me the wrong results
> if for example the ip address on both location pingable but differend server
> i will get the wron result.
> 
> so it would be great if i can say in the template use the check_command
> (check_dummy) defined in the template and not that defined in the Host.
> 

That's what not setting anything in the object itself is for. If you don't
have a check_command in the host object, it will use the one from the
template.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace




More information about the Developers mailing list