Page 1 of 1

Re: [Nagios-devel] Template befor Definition

Posted: Wed Jan 16, 2008 1:38 am
by Guest
------=_Part_23555_11378250.1200476321298
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

On Jan 16, 2008 10:07 AM, Andreas Ericsson 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.


--=20
Mark Eisenbl=E4tter
Geissendoerfer & Leschinsky GmbH
www.gl-sytemhaus.de

------=_Part_23555_11378250.1200476321298
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,On Jan 16, 2008 10:07 AM, Andreas Eri=
csson <[email protected]> wrote:
Please don't top-post. It makes it hard to follow the discussion,es=
pecially when you're top-posting to an answer that wasn't top-p=
osted. Anyways...Mark Eisenblaetter wrote:
> Hi,> sorry for the latye replay,>> Then I will ha=
ve 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 it=
self is for. If you don't
>> have a check_command in the host object, it will use the one f=
rom the>> template.>>In other words, if y=
ou want a particular object to inherit the value fromthe template, simp=
ly 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.
-- Mark Eisenbl=E4tterGeissendoerfer & Lesc=
hinsky GmbHwww.gl-sytemhaus.de

------=_Part_23555_11378250.1200476321298--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]