Ad Widget

Collapse

Ceph: Can not connect to cluster.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • beaver_enjoyer
    Junior Member
    • Feb 2026
    • 1

    #1

    Ceph: Can not connect to cluster.

    Hello, I've been trying to connect Ceph from my proxmox cluster into Zabbix Server via Zabbix Agent 2 integration. Unfortunately, I am unable to access my logs.
    I am using Zabbix Server version 7.0.23 and Zabbix Agent 2 version 7.4.7.

    Here are steps I've taken in order to connect Ceph into my Zabbix Server:
    - I added Ceph as host and used Ceph template, provided required macros (API Key, user and connection) as Zabbix documentation stated
    - On my Ceph MGR node, I added my Server's IP address into /etc/zabbix/zabbix-agent2.conf
    - I enabled restful API and created an API key for Zabbix

    After restarting my Agent 2, I ran zabbix_get -s 127.0.0.1 -k ceph.ping["https://localhost:8003","zabbix-monitoring","a4bb2019-XXXX-YYYY-ZZZZ-abcdefghij​"​] command, which resulted in output 0.
    However, my Zabbix Server dashboard says that "The connection to the Ceph RESTful module is broken (if there is any error presented including *AUTH* and the configuration issues).".
    I also noticed that I can't run other ceph related gets, such as ceph.status (with same parameters of course). The error I get is:
    Code:
    ZBX_NOTSUPPORTED: Cannot fetch data: Post "https://zabbix-monitoring:***@localhost:8003/request?wait=1": tls: failed to verify certificate: x509: certificate is not valid for any names, but wanted to match localhost.
    I tried disabling TLS encryption temporarily for the sake of troubleshooting, but I didn't manage to succeed. I looked around in both Zabbix, Ceph documentations and other forum posts, but the information is scarce. I am happy to provide more necessary details in case I missed something, thank you for help in advance.
Working...