On 03.03.2014 17:17, Martín Marqués wrote:
2014-03-01 19:54 GMT-03:00 Martín Marqués <martin.marq...@gmail.com>:
Is it possible for a service to depend on a host status?
Example: Host1 has service1, but if Host2 is down, the service will
fail as well, so I just want 1 notification (from Host2).
I couldn't find a way to do so on the docs
Just wanted to add that it's on an Icinga 1.9
No that's not possible with 1.x but will be in Icinga 2 Core (currently
in development, snapshot builds do not reflect the reworked dependency
behaviour for now until the feature branch is merged back for 0.0.8).
Basically a host does not have its own check, but virtually uses a
service state. Therefore such a dependency from a different service to
this host is virtually a service dependency too.
Resolving that issue with 1.x - create a dummy service check using the
host check command on host2 and let service1 depend on that. ugly but
does the trick as well.
--
DI (FH) Michael Friedrich
michael.friedr...@gmail.com || icinga open source monitoring
https://twitter.com/dnsmichi || lead core developer
dnsmi...@jabber.ccc.de || https://www.icinga.org/team
irc.freenode.net/icinga || dnsmichi
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users