snapshots_maintenance stuck in running state

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
kmartin
Posts: 17
Joined: Tue Jan 21, 2020 11:50 am

snapshots_maintenance stuck in running state

Post by kmartin »

Any idea what's going on here and how to recover? snapshots_maintenance stuck and does not finish. Here's the snippet from the command subsystem -

Job ID Job Status Last Run Status Last Run Time Frequency Next Run Time Type Actions
cleanup_cmdsubsys Waiting SUCCESS 02/13/2020 13:28:01 1 hour 02/13/2020 14:28:01 System Edit Run
backups Waiting SUCCESS 02/13/2020 11:34:02 1 day 02/14/2020 11:34:02 System Edit Run
snapshots_maintenance Running - Never 1 day 02/12/2020 11:32:44 System Edit Run
run_all_alerts Waiting SUCCESS 02/13/2020 14:14:02 20 seconds 02/13/2020 14:14:22 System Edit Run
run_index_usage Waiting SUCCESS 02/13/2020 14:01:01 15 minutes 02/13/2020 14:16:01 System Edit Run
run_update_check Waiting SUCCESS 02/13/2020 11:35:30 1 day 02/14/2020 11:35:30 System Edit Run
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: snapshots_maintenance stuck in running state

Post by cdienger »

The status displayed in the interface can sometimes get stuck if there were problems or if the job just took a long time. Run the following on the command line to see if it is actually still running:

Code: Select all

ps aux | grep curator
If you don't see a curator process running then you'll be okay just resetting the statuses with the "Reset All Jobs" button.

To check for problems you can run:

Code: Select all

tail -f /usr/local/nagioslogserver/var/jobs.log
and while that is running click the "Run" action for the snapshots_maintenance job. It may lag a few seconds, but it should display details on that job and if there are any problems.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked