This is a cache of https://support.nagios.com/kb/article/nagios-xi-problems-with-scheduled-backups-at-midnight-547.html. It is a snapshot of the page at 2025-05-12T01:55:35.522+0000.
Nagios <strong>xi</strong> - Problems With Scheduled Backups At Midnight
Home » Categories » Multiple Categories

Nagios xi - Problems With Scheduled Backups At Midnight

Problem Description

It has been observed that scheduling backups of Nagios xi at midnight (00:00) will create multiple Nagios parent processes to be unintentionally created. Multiple Nagios parent processes causes many unusual problems.


 

Explanation

At midnight the Nagios process performs it's daily log file rotation. The Nagios process moves the old log file to the archives directory and creates a new nagios.log file. When it creates the new log file it also dumps the current state of every host and service object into the new nagios.log file. In larger deployments of Nagios xi this process may take several minutes.

If you schedule a Nagios xi backup to occur at midnight, the first step in the backup script is to restart the nagios service. The nagios service is restarted to force the retention.dat file to be updated with the latest information, this ensures that the file is up to date in the backup. This creates a problem with the existing Nagios process and the daily log file rotation that is being performed.

 

 

Resolving The Problem

Do not schedule Nagios xi backups to run at midnight, instead schedule them for ten minutes past midnight (00:10).

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios xi - Schedulded Backups No Longer Working
Viewed 8213 times since Fri, Jun 3, 2016
Nagios xi - Moving Your xi Installation
Viewed 4379 times since Tue, Jul 18, 2017
Nagios xi - Backing Up And Restoring Your Nagios xi System
Viewed 22834 times since Wed, Jan 27, 2016
Nagios xi - Scheduled Backup Log Level
Viewed 5962 times since Tue, Apr 18, 2017
Nagios xi - Backup and Restore Options
Viewed 21316 times since Mon, Feb 29, 2016
Nagios xi - Problems with $ Signs in the Check Command
Viewed 8680 times since Tue, Jan 26, 2016
Nagios xi - Restoring A Configuration Snapshot
Viewed 35557 times since Tue, Feb 2, 2016
Nagios xi - Manual Backup And Restore Databases
Viewed 12321 times since Thu, Mar 31, 2016
NCPA - Service check timed out after n Seconds
Viewed 14250 times since Tue, Sep 1, 2020
Viewing Configuration Snapshot differences
Viewed 3028 times since Fri, Dec 4, 2020