Directory check for Scheduled Backups stating wrong user
Posted: Wed Jan 21, 2015 2:40 pm
We created a new volume to hold our NagiosXI backups called /backups. We made the Nagios user the Owner and used our teams group as the group:
nagios:teamx
When I went into Scheduled Backups and had it run a test on the /backups directory I got this:
Which made no since. So we changed the permissions to nagios:nagcmd and now it tested fine. Which is still odd. The only other user in the nagcmd group is the apache user.
With that in mind we tried this:
apache:teamx -- This passed the test
So it appears it is the apache user that is writing the backup and not the Nagios user, like the error specifies.
Just wanted to verify this with you guys, and if this is truly the case, then this is a request to change the wording in the error to avoid confusion for other users in the future.
nagios:teamx
When I went into Scheduled Backups and had it run a test on the /backups directory I got this:
Code: Select all
The directory is likely not writeable by user 'nagios' or group 'nagios' - check permissions.With that in mind we tried this:
apache:teamx -- This passed the test
So it appears it is the apache user that is writing the backup and not the Nagios user, like the error specifies.
Just wanted to verify this with you guys, and if this is truly the case, then this is a request to change the wording in the error to avoid confusion for other users in the future.