Page 2 of 2

Re: Services stuck in soft state - no notifications

Posted: Fri Jul 13, 2018 9:59 am
by tmcdonald
Please let us know when you have had a chance to upgrade, and whether this fixed your issue.

Re: Services stuck in soft state - no notifications

Posted: Thu Aug 02, 2018 7:20 am
by scottwilkerson
I believe I found the cause in Core and is fixed in the maint branch on Github
https://github.com/NagiosEnterprises/na ... ee/maint​​

Code: Select all

wget https://github.com/NagiosEnterprises/nagioscore/archive/maint.tar.gz​
tar xzf maint.tar.gz​
cd nagioscore-maint​
configureflags="--with-command-group=​nagcmd"
if [ ! `command -v systemctl` ] || [ -f /etc/init.d/nagios ]; then
    configureflags="--with-init-type=sysv $configureflags"
fi
./configure "$configureflags"​
make -j 2 all​
make install​

service nagios restart

After this once the services stuck in soft state go to OK state either naturally, or by stopping nagios and removing retention.dat they should no longer get stuck