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:

Re: Backups not listed

Post by BanditBBS »

See, then that is just confusing as ever, why wont it show mine, hmmm.
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
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Backups not listed

Post by BanditBBS »

I just chmod 777 to /store , /store/backups and /store/backups/nagiosxi and now they are listed, so its definitely a permissions issue. Now to try and find out the proper permissions on the folders, can you show me yours on those three folders?
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
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Backups not listed

Post by cmerchant »

Code: Select all

[root@nagiosd1 scripts]# ls -ld /store
drwxr-xr-x. 3 root root 4096 Oct  7  2014 /store
[root@nagiosd1 scripts]# ls -ld /store/backups/
drwxr-xr-x. 5 root root 4096 Oct  7  2014 /store/backups/
[root@nagiosd1 scripts]# ls -l /store/backups/
total 12
drwxr-xr-x. 5 root   root   4096 Apr 10 07:00 mysql
drwxr-xr-x. 2 nagios nagios 4096 Apr 10 14:53 nagiosxi
drwxr-xr-x. 5 root   root   4096 Apr 10 08:00 postgresql
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Backups not listed

Post by BanditBBS »

Seems 755 is what is needed. Weird that RW wasn't enough for GUI to read the fodler but instead needs RX.

Thanks!

edit: Even weirder, new backups being created fine, but the test permissions button says not writable by nagios user or group.
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
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Backups not listed

Post by cmerchant »

Banditt, I think a local backup that is created on demand, uses group apache (the user apache is also in the nagios group).

The scheduled backups are run by a cron job (I think is root). And what the local permissions test should have is the following:

drwxrwxr-x 2 nagios nagios 4096 Apr 12 17:01 /store/backups/nagiosxi

give both the owner and group write permission as well.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Backups not listed

Post by BanditBBS »

You can close this up, we're all good, all backups are working fine 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
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Backups not listed

Post by cmerchant »

We'll go ahead and close the thread. Thanks.
Locked