-
Notifications
You must be signed in to change notification settings - Fork 599
Open
Description
When using CephCollector, I was getting permission denied on the socket:
diamond@cephhost:~$ /usr/bin/ceph --admin-daemon /var/run/ceph/ceph-mon.cephhost.asok perf dump
admin_socket: exception getting command descriptions: [Errno 13] Permission denied
admin_socket: exception getting command descriptions: [Errno 13] Permission denied
But this didn't show up in the log:
1470934996.81 [CephCollector:14658:DEBUG] Starting
1470934996.81 [CephCollector:14658:DEBUG] Interval: 300.0 seconds
1470934996.82 [CephCollector:14658:DEBUG] Max collection time: 165 seconds
1470934996.82 [CephCollector:14658:DEBUG] Collection took 0 ms
To fix, I had to add group-write access to the socket, and put diamond in the ceph group