Re: Nagios cmdsubsys.log Growing Excessively
Posted: Thu Aug 23, 2018 9:28 am
OK, thanks for the details on the filename differences.
In the ps output, it looks like there is a stuck cron job that is causing the issue so we need to stop / start some processes.
Run the following as root.
Then check the cmdsubsys.log-20180821 file to see that it is not increasing in size anymore.
In the ps output, it looks like there is a stuck cron job that is causing the issue so we need to stop / start some processes.
Run the following as root.
Code: Select all
service nagios stop
service ndo2db stop
service crond stop
pkill -9 -u nagios
service crond start
service ndo2db start
service nagios start
service npcd restart