Nagios 4.3.1 Parents

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
MBr
Posts: 2
Joined: Wed Sep 27, 2017 7:48 am

Nagios 4.3.1 Parents

Post by MBr »

Hi

because a Hardware failure of our Nagios Server, i used the chance to upgrade vom Nagios 3 too 4

Since then Nagios Parents behavior is a bit strange

We check around 800 Hosts with 1200 Services.
I would love to add more but my couriosity with Notifications from Child objects, stops me there

To tell you what is going on
Lets say we habe 3 Hosts and one Host has 2 Services

Firewall
!
!
Switch1 (Parent of FW)
!
Switch2 (Parent of Switch1)
+
++Switch2 Service1
++Switch2 Service2

If the Firewall goes down and up again
I still will get EMails that Switch1 and 2 are offline

If Switch2 goes Offline
I still get E-Mails that Service1 and 2 is not reachable

It seems like my "Parent" setting doesnt work
OR Host and Service wont cross check
Lets say like
Host is down but Nagios will check in 5 minutes and THEN changes from ON too down
But in the meantime Service check happens and it sends e-mail about not reachable

Is there a way too fix that?
Or was i even able to make myself clear :)

br Martin
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios 4.3.1 Parents

Post by scottwilkerson »

I think I understand what you are saying, and based on that I think you have the "parents" backwards. You should setup the parents base on looking at the network through the eyes ogf the nagios server.

Here is a doc that outlines with pictures and config snippets how to set this up
https://assets.nagios.com/downloads/nag ... ility.html

The key is putting your nagios server in your diagram, to see what things should look like.

One thing of note, is that if a parent is down you will still get unreachable notices if you have them turned on, but unreachable is a different message than down, implying that a parent, grandparent, etc is down.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
MBr
Posts: 2
Joined: Wed Sep 27, 2017 7:48 am

Re: Nagios 4.3.1 Parents

Post by MBr »

Hey
thank you i wil read your link and check my settings.
The most reasonable part could be the unreachable mails

br Martin
kyang

Re: Nagios 4.3.1 Parents

Post by kyang »

Sounds good!

Let us know if you have any more questions.
Locked