Page 1 of 1

Nagios 4.3.1 Parents

Posted: Wed Sep 27, 2017 8:00 am
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

Re: Nagios 4.3.1 Parents

Posted: Wed Sep 27, 2017 12:20 pm
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.

Re: Nagios 4.3.1 Parents

Posted: Thu Sep 28, 2017 3:31 am
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

Re: Nagios 4.3.1 Parents

Posted: Thu Sep 28, 2017 9:04 am
by kyang
Sounds good!

Let us know if you have any more questions.