Service parenting

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Service parenting

Post 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!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Service parenting

Post 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")
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.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Service parenting

Post 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?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Service parenting

Post by abrist »

BanditBBS wrote:right?
Right*


*In theory
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