Page 1 of 3
Backups not listed
Posted: Thu Apr 09, 2015 1:49 pm
by BanditBBS
So I have multiple backups located in /store/backups/nagiosxi but when I click on the Local Backup Archives link, nothing is listed. At one point one was listed, but days ago that stopped being shown. I created a manual backup by running the script and also one by clicking the "Create Backup" button. Both are the only files in that folder right now.
Re: Backups not listed
Posted: Thu Apr 09, 2015 2:21 pm
by tmcdonald
Can we get a ls -l of that directory's contents, and a ls -ld of the directory itself?
Re: Backups not listed
Posted: Thu Apr 09, 2015 2:26 pm
by BanditBBS
Code: Select all
[root@iss-chi-nag05 nagiosxi]# ll
total 5723616
-rw-r--r-- 1 nagios nagios 2927474149 Apr 9 13:15 1428602570.tar.gz
-rw-r--r-- 1 nagios nagios 2927773916 Apr 9 12:58 nagiosxi.1428601502.tar.gz
Code: Select all
drwxrw-rw-. 2 nagios nagios 4096 Apr 9 13:46 nagiosxi
Re: Backups not listed
Posted: Thu Apr 09, 2015 4:27 pm
by lmiltchev
Do you see anything in the "/usr/local/nagiosxi/var/components/scheduledbackups.log" that can give us some clues?
Re: Backups not listed
Posted: Thu Apr 09, 2015 4:42 pm
by BanditBBS
Code: Select all
[root@iss-chi-nag05 ~]# cat /usr/local/nagiosxi/var/components/scheduledbackups.log
04-08-2015 01:00:01 DEBUG: Running scheduled local backup ...
04-08-2015 01:00:01 INFO: Creating a local backup: nagiosxi.1428472801
04-08-2015 01:00:01 DEBUG: Sending create local backup command to CmdSubsystem
04-09-2015 01:00:01 DEBUG: Running scheduled local backup ...
04-09-2015 01:00:01 INFO: Creating a local backup: nagiosxi.1428559201
04-09-2015 01:00:01 DEBUG: Sending create local backup command to CmdSubsystem
That's the entire file and the backup I created last night. It didn't complete due to a crashed table. That has been resolved and I deleted the folder that was never finished from that last night run.
Re: Backups not listed
Posted: Thu Apr 09, 2015 7:16 pm
by Box293
The XI backup component could be improved by:
- Implementing alerting if a backup failed
Backup logs that you can view in the XI interface (for each backup that ran)
Re: Backups not listed
Posted: Thu Apr 09, 2015 7:18 pm
by BanditBBS
Box293 wrote:The XI backup component could be improved by:
- Implementing alerting if a backup failed
Backup logs that you can view in the XI interface (for each backup that ran)
First we have to get it to display whats in the folder

Re: Backups not listed
Posted: Fri Apr 10, 2015 11:01 am
by jomann
Hey Bandit,
Can you check the permissions of the /store/backups folder? And if possible can you tail the Apache error_log when you click on the page that lists all your backups to see if there is an error in getting the list?
(As always, your feature requests are awesome I will add them to the never ending todo list)
Re: Backups not listed
Posted: Fri Apr 10, 2015 11:08 am
by BanditBBS
Code: Select all
[root@iss-chi-nag05 ~]# ll /store
total 20
drwxr-xr-x. 5 root root 4096 Apr 1 11:23 backups
No errors in the httpd error log! This is not the contents of the backups folder after last nights scheduled on:
Code: Select all
[root@iss-chi-nag05 nagiosxi]# ll
total 8587392
-rw-r--r-- 1 nagios nagios 2927474149 Apr 9 13:15 1428602570.tar.gz
-rw-r--r-- 1 nagios nagios 2927773916 Apr 9 12:58 nagiosxi.1428601502.tar.gz
-rw-r--r-- 1 nagios nagios 2929636061 Apr 10 01:12 nagiosxi.1428645601.tar.gz
Re: Backups not listed
Posted: Fri Apr 10, 2015 12:09 pm
by scottwilkerson
Is apache part of the nagios group?
Also, just to verify, is selinux enabled?
getenforce