You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To get this working, I had to add sensu user to the adm group so that I can address /var/log/auth.log. But for some reason I started to get Permission Denied for /var/cache/check-log/.../var/log/auth.log. I had to give chmod 777 access (without -R) to /var/cache/check-log/.../var/log/auth.log to get it to work. Ideally adding sensu user to root group should have done the trick.
Please help me solve this issue without having to do chmod on /var/cache/check-log/.../var/log/auth.log.
The text was updated successfully, but these errors were encountered:
I fixed this by changing check-log.rb line 36
BASE_DIR = '/var/cache/sensu/check-log'.freeze
This works (on ubuntu) because /var/cache/sensu is created by the sensu package install with r/w/x permissions for the sensu user, which is what the sensu-client daemon runs as.
To get this working, I had to add
sensu
user to theadm
group so that I can address/var/log/auth.log
. But for some reason I started to get Permission Denied for /var/cache/check-log/.../var/log/auth.log. I had to givechmod 777
access (without -R) to/var/cache/check-log/.../var/log/auth.log
to get it to work. Ideally addingsensu
user toroot
group should have done the trick.Please help me solve this issue without having to do chmod on
/var/cache/check-log/.../var/log/auth.log
.The text was updated successfully, but these errors were encountered: