Backups not listed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Backups not listed

Post 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.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Backups not listed

Post by tmcdonald »

Can we get a ls -l of that directory's contents, and a ls -ld of the directory itself?
Former Nagios employee
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Backups not listed

Post 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
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Backups not listed

Post by lmiltchev »

Do you see anything in the "/usr/local/nagiosxi/var/components/scheduledbackups.log" that can give us some clues?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Backups not listed

Post 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.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Backups not listed

Post 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)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Backups not listed

Post 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 :lol:
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Backups not listed

Post 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)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Backups not listed

Post 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
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Backups not listed

Post by scottwilkerson »

Is apache part of the nagios group?

Code: Select all

cat /etc/group|grep nagios
Also, just to verify, is selinux enabled?
getenforce
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked