Hi,<br>sorry for the latye replay,<br><br>Then I will have to much templates, because i will need for every kombination of args a new template.<br><br>For example by check_http I will need a template vor every website/service i want to check or for every disk with diffrend warning and Critival threshosld.
<br><br>Thats not so practicable. <br><br>Mark  <br><br><br><br><br><div class="gmail_quote">On Dec 14, 2007 4:51 PM, Andreas Ericsson <<a href="mailto:ae@op5.se">ae@op5.se</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Mark Eisenblaetter wrote:<br>> Hi,<br>><br>><br>> for my distributed monitoring  it would be great if i where  possible to<br>> say:<br>> Use the Template and not the option set in the definition.
<br>><br>> My problem is that when i have an active check on an distributed server it<br>> is passiv on the master.<br>> I control this beavior with the template system (diffrend templates on<br>> maser/slave)
<br>><br>> But i if use check_freshness on the master it will use the check_command and<br>> f.e pings the Host which could get me the wrong results<br>> if for example the ip address on both location pingable but differend server
<br>> i will get the wron result.<br>><br>> so it would be great if i can say in the template use the check_command<br>> (check_dummy) defined in the template and not that defined in the Host.<br>><br><br></div>
That's what not setting anything in the object itself is for. If you don't<br>have a check_command in the host object, it will use the one from the<br>template.<br><br>--<br>Andreas Ericsson                   <a href="mailto:andreas.ericsson@op5.se">
andreas.ericsson@op5.se</a><br>OP5 AB                             <a href="http://www.op5.se" target="_blank">www.op5.se</a><br>Tel: +46 8-230225                  Fax: +46 8-230231<br><br>-------------------------------------------------------------------------
<br>SF.Net email is sponsored by:<br>Check out the new SourceForge.net Marketplace.<br>It's the best place to buy or sell services<br>for just about anything Open Source.<br><a href="http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace" target="_blank">
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace</a><br>_______________________________________________<br>Nagios-devel mailing list<br><a href="mailto:Nagios-devel@lists.sourceforge.net">Nagios-devel@lists.sourceforge.net
</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-devel</a><br></blockquote></div><br><br clear="all"><br>-- <br>Mark Eisenblätter
<br>Geissendoerfer & Leschinsky GmbH<br><a href="http://www.gl-sytemhaus.de">www.gl-sytemhaus.de</a>