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
{{ message }}
This repository has been archived by the owner on Nov 12, 2018. It is now read-only.
Nothing works with this template or script. The zabbix-agent runs as the zabbix user, and is not allowed to access ceph commands by default.
auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin: (2) No such file or directory
The text was updated successfully, but these errors were encountered:
The shell script currently parse the ceph command output
If you care about security, i suggest that you create a new keyring for this purpose then edit the ceph_bin variable inside to pass additional argument to use this specific user / keyring.
add sudo in front of command in UserParameter values for /etc/zabbix/zabbix_agentd.d/zabbix_agent_ceph_plugin.conf:
~ UserParameter=ceph.health,**sudo** /opt/ceph-status.sh health
~
add file /etc/sudoers.d/zabbix with the following content: zabbix ALL=NOPASSWD:/opt/ceph-status.sh
"ceph-zabbix-1:ceph.peering" changed: Value "2017-10-20 09:17:20.288229 7fec045e1700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin: (2) No such file or directory
the solution above cant work to me, so any helps please. huge thanks.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Nothing works with this template or script. The zabbix-agent runs as the zabbix user, and is not allowed to access ceph commands by default.
auth: unable to find a keyring on /etc/ceph/ceph.client.admin.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin: (2) No such file or directory
The text was updated successfully, but these errors were encountered: