Re: [Nagios-devel] Template befor Definition

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] Template befor Definition

Post by Guest »

------=_Part_23204_17319508.1200470437753
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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 wrote:

> Mark Eisenblaetter wrote:
> > Hi,
> >
> >
> > for my distributed monitoring it would be great if i where possible t=
o
> > 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_comman=
d
> 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 [email protected]
> 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 ... /marketpl=
ace
> _______________________________________________
> Nagios-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-devel
>



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

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

Hi,sorry for the latye replay,Then I will have to much template=
s, 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 thres=
hosld.
Thats not so practicable. Mark  On Dec 14, 2007 4:51 PM, Andreas Ericsson <[email protected]> wrote:
Mark Eisenblaetter wrote:> Hi,>>=
> for my distributed monitoring  it would be great if i where &=
nbsp;possible to> say:> Use the Template and not the option s=
et in the definition.
>> My problem is that when i have an active check on an distr=
ibuted server it> is passiv on the master.> I control this be=
avior 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 i=
f i can say in the template use the check_command> (check_dummy) def=
ined in the template and not that defined in the Host.>
That's what

...[email truncated]...


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