Template befor Definition

Mark Eisenblaetter mark.eisenblaetter at gmail.com
Wed Jan 16 09:00:37 CET 2008


Hi,
sorry for the latye replay,

Then I will have to much templates, because i will need for every
kombination of args a new template.

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.

Thats not so practicable.

Mark




On Dec 14, 2007 4:51 PM, Andreas Ericsson <ae at op5.se> wrote:

> 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
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>



-- 
Mark Eisenblätter
Geissendoerfer & Leschinsky GmbH
www.gl-sytemhaus.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20080116/6ccd95d1/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list