"HOST UP" flood after Nagios Core update

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Re: "HOST UP" flood after Nagios Core update

Postby bokutin » Sun Jul 08, 2018 7:52 pm

Hi.

I also suffer from similar problems.

I have not changed the setting.

The problem started after the version was upgraded from 4.3.4 to 4.4.1.

I was flooded with a notification mail of PASSIVE HOST check.

### BEGIN EMAIL ###
Subject:** RECOVERY Host Alert: myserver1.tld is UP **
BODY:
***** Nagios *****

Notification Type: RECOVERY
Host: myserver1.tld
State: UP
Address: myserver1.tld
Info: PING OK - Packet loss = 0%, RTA = 5.88 ms

Date/Time: Mon Jul 9 09:22:06 JST 2018
### END EMAIL ###

I examined the cause.

In the case of the condition below, it seems to be different processing.

* PASSIVE HOST CHECK
* Host was UP.
* Host is still UP.
* passive_host_checks_are_soft=0

https://github.com/NagiosEnterprises/na ... ks.c#L2609
vs
https://github.com/NagiosEnterprises/na ... cks.c#L987

Perhaps it seems that behavior has changed by refactoring with the added function below.
https://github.com/NagiosEnterprises/na ... cks.c#L935

Downgrading to 4.3.4, the problem no longer occurs.

Thank you.

--
Tomohiro Hosaka
bokutin
 
Posts: 1
Joined: Sun Jul 08, 2018 4:37 pm

Re: "HOST UP" flood after Nagios Core update

Postby scottwilkerson » Mon Jul 09, 2018 6:07 pm

Just wanted to give a heads up, I believe this is fixed in the maint branch of the nagioscore project

https://github.com/NagiosEnterprises/nagioscore/tree/maint
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12291
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: "HOST UP" flood after Nagios Core update

Postby madsantos » Wed Jul 11, 2018 6:29 am

scottwilkerson wrote:Just wanted to give a heads up, I believe this is fixed in the maint branch of the nagioscore project

https://github.com/NagiosEnterprises/nagioscore/tree/maint


Thank you Scott. I noticed that the commit wasn't successfully built, does that mean you still need to do some fixing first?
Cheers
madsantos
 
Posts: 18
Joined: Fri Apr 27, 2018 5:26 am

Re: "HOST UP" flood after Nagios Core update

Postby scottwilkerson » Wed Jul 11, 2018 8:43 am

madsantos wrote:
scottwilkerson wrote:Just wanted to give a heads up, I believe this is fixed in the maint branch of the nagioscore project

https://github.com/NagiosEnterprises/nagioscore/tree/maint


Thank you Scott. I noticed that the commit wasn't successfully built, does that mean you still need to do some fixing first?
Cheers


No that was just the test suite from a previous commit, should have no affect, but waiting for that developer to get back from vacation to fix their tests.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12291
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Previous

Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot] and 25 guests