Page 1 of 1

Service parenting

Posted: Mon Jun 09, 2014 3:54 pm
by BanditBBS
Service1 which is applied to a hostgroup and therefore on 10 hosts.
Service2 which is applied to a hostgroup and therefore on 10 hosts.
Service3 which is applied to a hostgroup and therefore on 10 hosts.

if service1 is critical then service2 and service 3 will be as well. I only want to send alerts for service1 in this case. Couple questions:

1.) I need to use service dependency for this, right?
2.) If I set service2 and service3 as dependent on service1, how will that work when it comes to all 10 hosts?
i.e. Will service2 and service3 on host one be dependent on service1 on host1 and service2 and 3 on host2 be dependent on service1 on host2? Do I need to do one per each host in the hostgroup the service is on?
3.) If answer to #2 is "No" (Stay out of this Andy LOL), then is there another method to get the behavior I want?

This is my last question before I leave this job :) Unless my upgrade to 2014 on 2 servers this week goes bad!

Re: Service parenting

Posted: Tue Jun 10, 2014 1:05 pm
by abrist
1) Yes.
2) I presume that if any service 1 on the first 10 hosts fail, then all service 2 and service 3 hosts will be critical.
BanditBBS wrote: Do I need to do one per each host in the hostgroup the service is on?

You will need a separate dependency definition for each of the service 1 services on the first 10 hosts, making the respective service2 and 3 services dependent on each.
(So . . . not 'no', but maybe my rank should be "Mr. Asterisk")

Re: Service parenting

Posted: Tue Jun 10, 2014 1:09 pm
by BanditBBS
abrist wrote:1) Yes.
2) I presume that if any service 1 on the first 10 hosts fail, then all service 2 and service 3 hosts will be critical.
BanditBBS wrote: Do I need to do one per each host in the hostgroup the service is on?

You will need a separate dependency definition for each of the service 1 services on the first 10 hosts, making the respective service2 and 3 services dependent on each.
(So . . . not 'no', but maybe my rank should be "Mr. Asterisk")
"Mr Asterisk" HAHAHAHAHAHA

Anyway, if HOST1/SERVICE1 fails then only HOST1/SERVICE2 and HOST1/SERVICE3 should be surpressed....and so on and so on. So I will need to do one service dependency per host. in other words, its going to take 10 service dependency configurations to do what I want....right?

Re: Service parenting

Posted: Tue Jun 10, 2014 1:20 pm
by abrist
BanditBBS wrote:right?
Right*


*In theory