Help with hostgroups, services and dependencies
Posted: Fri Apr 05, 2013 6:51 pm
In our setup, we have defined several host groups. Each hostgroup is linked to multiple hosts and multiple services.
For example:
serviceA and serviceB are assigned to hostgroupZ
host1 and host2 are assigned to hostgroupZ
That results in serviceA and serviceB being checked on host1 and host2. Great! Just what we wanted.
Here's my problem scenario:
host2 goes offline. host notification for host2 is triggered. no service notifications on host2 get triggered. Yeah!
serviceA on host1 stops working. service notification (serviceA/host1) is NOT triggered.
host2 is back online.
serviceA/host1 is still broken, service notifications start.
Presumably service notifications have stopped for ALL instances of serviceA, regardless of the host. It seems like I need to add a same host dependency to this configuration, but is it possible to do via the Nagios XI gui?
Do I need to specify service dependencies for each service not just rely on hostgroups and services?
Thanks!
For example:
serviceA and serviceB are assigned to hostgroupZ
host1 and host2 are assigned to hostgroupZ
That results in serviceA and serviceB being checked on host1 and host2. Great! Just what we wanted.
Here's my problem scenario:
host2 goes offline. host notification for host2 is triggered. no service notifications on host2 get triggered. Yeah!
serviceA on host1 stops working. service notification (serviceA/host1) is NOT triggered.
host2 is back online.
serviceA/host1 is still broken, service notifications start.
Presumably service notifications have stopped for ALL instances of serviceA, regardless of the host. It seems like I need to add a same host dependency to this configuration, but is it possible to do via the Nagios XI gui?
Do I need to specify service dependencies for each service not just rely on hostgroups and services?
Thanks!