Home »
Categories
» Products » Nagios xi » Troubleshooting » Common Problems |
Backups are not being generated due to tar creation errors |
Article Number: 867 | Rating: Unrated | Last Updated by lmiltchev on Thu, Feb 27, 2020 at 11:49 AM
|
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.
Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.
Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!
|
Posted by: lmiltchev on Thu, Feb 27, 2020 at 11:45 AM. This article has been viewed 4155 times. Filed Under: Common Problems |
Have a question? Try our Forums! | Give Feedback |
0 (0)
Article Rating (No Votes)
Rate this article
|
| |
|
Attachments
There are no attachments for this article.
| Related Articles 
Nagios xi - Scheduled Backup Log Level
Viewed 5966 times since Tue, Apr 18, 2017
API changes in Nagios xi 5.7
Viewed 4094 times since Tue, Feb 23, 2021
SSL Certificate does not validate properly
Viewed 5363 times since Wed, Jan 20, 2021
Nagios xi - Last Check Time Not Updating
Viewed 20702 times since Tue, Jan 6, 2015
|
|