Re: [Nagios-devel] Service parents...

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] Service parents...

Post by Guest »

On 09/17/2012 09:41 AM, Johannes Dagemark wrote:
> On 2012-09-14 18:45, Andreas Ericsson wrote:
>> For the (extremely) common "depend on a client version check" thing,
>> that would look something like this:
>> define service {
>> use some-suitable-template
>> host_name A
>> description NRPE Disk /
>> parents NRPE Version Check
>> }
> Can I do
>
> define service {
> use some-suitable-template
> host_name A
> description PING
> parents switchA;PING
> }
>

Yes.

> or do I need a service dependency for that?
>

No, but you could use one if you want. However, the ping scenario is
a bit dubious since services implicitly depend on their host being up
and with switches it's natural to use ping to do that check.

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.





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