Page 1 of 1

Nagios is dropping downtime after restart

Posted: Mon Dec 12, 2016 9:21 am
by pr0fikoss
Hi all,

Please help to find this issue. I installed Nagios.
Everything is ok, but when i'm restarting the process of nagios, my downtime hosts and services are dropping. How it can be?

P.S. I tried to lock (via chattr) in restart time retention.dat file, but it's doesnt help

Thanks all!!!

Re: Nagios is dropping downtime after restart

Posted: Mon Dec 12, 2016 10:02 am
by pr0fikoss
pr0fikoss wrote:Hi all,

Please help to find this issue. I installed Nagios.
Everything is ok, but when i'm restarting the process of nagios, my downtime hosts and services are dropping. How it can be?

P.S. I tried to lock (via chattr) in restart time retention.dat file, but it's doesnt help

Thanks all!!!
P.S.S. version of nagios is Core 4.0.8

Re: Nagios is dropping downtime after restart

Posted: Mon Dec 12, 2016 11:22 am
by dwhitfield
pr0fikoss wrote: P.S.S. version of nagios is Core 4.0.8
4.2 and later have introduced several improvements in downtime (and a number of security fixes). I'd suggest upgrading to 4.2.4: https://assets.nagios.com/downloads/nag ... ading.html

If upgrading is not possible for some reason, can you post screenshots of before and after? Also, can you post the output of tail -100 /usr/local/nagios/var/nagios.log? Thanks!