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
Nagios Core - Nagios did not exit in a timely manner
Viewed 2067 times since Wed, Jan 27, 2016
Nagios XI - Display All Scheduled Reports
Viewed 1385 times since Wed, Oct 12, 2016
Nagios XI - Defining Global Environment Variables
Viewed 3068 times since Thu, Mar 17, 2016
Nagios XI - WMI Troubleshooting
Viewed 7501 times since Mon, Apr 24, 2017
Nagios XI - Hosts Pending/Gray
Viewed 3278 times since Tue, Jan 6, 2015
Nagios XI - ERROR: unable to open include file: /etc/mrtg/conf.d/xxxxxxx.cfg
Viewed 2471 times since Wed, Jun 1, 2016
Nagios XI - Crashed Database Tables
Viewed 21266 times since Tue, Jan 27, 2015
Nagios XI - STRICT_TRANS_TABLES
Viewed 1719 times since Thu, Nov 16, 2017
Nagios XI - MRTG Reports SNMP_Session Errors
Viewed 1351 times since Wed, Jul 27, 2016
Nagios XI - SNMP MIB Upload Problems
Viewed 2705 times since Mon, Apr 10, 2017