Service parents...
Andreas Ericsson
ae at op5.se
Mon Sep 17 17:15:24 CEST 2012
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 andreas.ericsson at op5.se
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.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
More information about the Developers
mailing list