ceph / ceph-container

Docker files and images to run Ceph in containers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions for getting the zabbix template to work with rook-ceph

joyartoun opened this issue · comments

Hi all,

according to the ticket issue #1651 some of the users got the zabbix template ceph by zabbix agent 2 to work. I wonder how this is done.

I have configured a user with ceph restful create-key <username>, but when I enter that after I imported the template and configured the macros the trigger "Ceph: Can not connect to cluster" gets triggered.

I am running the rook-ceph operator and deployed a rook-ceph cluster in a OKD cluster and exposed the dashboard service as a openshift route and trying to cURL the api is not working.

curl -k https://<user>:<pass>@dashboard-rook-ceph.apps.<domain>/api/cluster
{"status": "401 Unauthorized", "detail": "You are not authorized to access that resource", "request_id": "ba53b819-5394-4dae-8fb2-2e6949cc3bf7"}

I have done it another way, with first authenticating and getting a JWT token, as explained here, then used the token in a header with cURL, that method is working but the template does not seem to support that way of doing it.

To be clear, we are running the rook-ceph cluster in a OKD (openshift) cluster, the zabbix agent is deployed on the node but they are different pods, maybe that has something to do with me getting an issue, seems that the instructions here says that the zabbix agent 2 and the mgr pod is installed on the same host, which does not really apply in a container environment.

Any input is appreciated.

Best regards

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.