Score:0

Naemon still sending DOWN notifications for removed host

va flag

I shutdown an old web server, and immediately started receiving DOWN notifications from Naemon.

Now I have removed that host entirely from the Naemon config, and restarted the Naemon service. Yet I continue to receive DOWN notifications every hour.

How do I stop these?

The whole Naemon configuration is almost 2000 lines, so much too long to include here; the virtually default naemon.cfg is over 1000 lines itself.

Is there some parameter(s) causing a host to be saved in some cache? I can find the host listed in /var/lib/naemon/status.dat

vidarlo avatar
ar flag
Please include your naemon configuration.
va flag
@vidarlo Thanks, but I solved the problem with some more Googling. Have answered my own question in case someone else runs into a similar situation with Naemon seemingly retaining old configuration (which it technically was doing because it wasn't actually restarting...)
Score:1
va flag

This thread and post solved the problem for me:

https://support.nagios.com/forum/viewtopic.php?f=7&t=32630&sid=7cd3fc62673fec6539b082de7c1bb7c5&start=10#p136526

There is no "hidden cache" or parameter for it; the config 100% defines which hosts/services are checked.

The problem was that Naemon wasn't shutting down properly for some unknown reason. I had been using systemctl restart naemon -- and even systemctl stop naemon followed by systemctl start naemon across all of our Naemon nodes.

But just now when I checked with ps -ef | grep naemon after shutting down Naemon I saw that there were still process running. I killed them with kill -9 <parent pid>, and started Naemon again. No more DOWN notifications!

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.