Help with hostgroups, services and dependencies

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Help with hostgroups, services and dependencies

Post by uidaho »

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!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Help with hostgroups, services and dependencies

Post by abrist »

This should not happen, at least I cannot reproduce it here. What version are you running?
When a host inherits a service check from a hostgroup/template, it is technically a separate check, and should be treated as such by the notification handlers.
Do you have any parent child relationships setup?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked