Template befor Definition

Mark Eisenblaetter mark.eisenblaetter at gmail.com
Thu Jan 24 15:25:16 CET 2008


On Jan 16, 2008 10:38 AM, Mark Eisenblaetter <mark.eisenblaetter at gmail.com>
wrote:

> Hi,
>
> On Jan 16, 2008 10:07 AM, Andreas Ericsson <ae at op5.se> wrote:
>
> > Please don't top-post. It makes it hard to follow the discussion,
> > especially when you're top-posting to an answer that wasn't top-
> > posted. Anyways...
> >
> > Mark Eisenblaetter wrote:
> > > 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.
> > >
> >
> > Originally you wrote:
> > >>> 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.
> > >>>
> >
> > To which I replied:
> > >> 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.
> > >>
> >
> > In other words, if you want a particular object to inherit the value
> > from
> > the template, simply don't set that value in the object. There was no
> > other question-like statement in your original mail.
> >
>
> Ok, then my first mail was not so clear I hoped.
>
> I was thinking of that as a new feature, to minimize the templatework.
>
>
Ok it seems that i am the only one that would like this feature.

Or do i miss one way to handle that situation without having a template for
nearly every check?


Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20080124/bd7531aa/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