Home » Categories » Products » Nagios XI » Troubleshooting » Common Problems

Backups are not being generated due to tar creation errors

If you are running Nagios XI 5.6.11, most likely your backups won't be compressed. You can verify if this is the case by listing the contents of the backup directory:

ls -la /store/backups/nagiosxi

If you see any directories, that are NOT compressed to "*.tar.gz" format, you would need to remove them:

cd /store/backups/nagiosxi
rm -rf <directory1> <directory2> <directory3>

Then, you would need to open the "/usr/local/nagiosxi/scripts/backup_xi.sh" file in a text editor, and remove the "-e" from the shebang line. Other words, you need to change this:

#!/bin/bash -e

to this:

#!/bin/bash

Save, and exit. This should fix the problem in 5.6.11.

The bug will be fixed in Nagios XI 5.6.12.

 

 

 

 

 

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
ERROR: Please add the ’Optional’ channel to your Red Hat systems subscriptions
Viewed 15017 times since Tue, Jan 26, 2016
Enabling Oracle Linux Optional Repository
Viewed 7530 times since Mon, May 14, 2018
Nagios XI - Notification Problems
Viewed 15767 times since Tue, Jan 27, 2015
Nagios XI - Installing Latest SourceGuardian Loaders
Viewed 2746 times since Mon, Jun 18, 2018
Nagios XI - Display All Scheduled Reports
Viewed 2172 times since Wed, Oct 12, 2016
PHPMailer - Troubleshooting Using Debug Logging
Viewed 5294 times since Tue, Aug 14, 2018
Nagios XI - Warning: Duplicate definition found for contact ’xi_default_contact’
Viewed 2435 times since Tue, Jan 26, 2016
Nagios XI - Host Still Visible After Deletion (Ghost Hosts)
Viewed 5586 times since Tue, Jan 27, 2015
Nagios XI - Last Check Time Not Updating
Viewed 9491 times since Tue, Jan 6, 2015
Nagios XI - Defining Global Environment Variables
Viewed 4782 times since Thu, Mar 17, 2016