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 »

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 [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231





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