I've been trying to set up monitoring for my Ceph cluster using the out of the box "Ceph by Zabbix Agent 2" Template for Zabbix 6.0
Sadly I've encountered a strange error. All discovery rules and items give me an "Empty Result" error.
Example:

I have been following the official Zabbix documentation for this, as well as Proxmox docs:
I've done the following:
-> Ensured that the restful ceph module is enabled and running
-> Created a zabbix api user
-> Made sure the API is working correctly
I have also tested this using the zabbix_get command and got the same result.
The ceph.ping command returned "0"
Also no errors in the log file /var/log/zabbix/zabbix_agent2.log
Using curl on the api resulted in this:
Maybe this info is useful?
I have accounted for the fact that my api is running on port 8443 and not the default 8003 and adjusted the macros and configs accordingly. I've also disabled certificate verification as I am using a self-signed cert.
I'm completely lost here, I have done everything by the book and it isn't working. Also spent hours googling and no one seems to have had the issue I'm facing with this template. Any help will be greatly appreciated.
Thanks
Zabbix version: 6.0.34
Ceph version: 18.2.4 reef (stable)
Sadly I've encountered a strange error. All discovery rules and items give me an "Empty Result" error.
Example:
I have been following the official Zabbix documentation for this, as well as Proxmox docs:
I've done the following:
-> Ensured that the restful ceph module is enabled and running
-> Created a zabbix api user
-> Made sure the API is working correctly
I have also tested this using the zabbix_get command and got the same result.
Code:
zabbix_get -s 127.0.0.1 -k ceph.status["https://localhost:8443","zabbix","my-api-key"] ZBX_NOTSUPPORTED: Empty result.
Code:
zabbix_get -s 127.0.0.1 -k ceph.ping["https://localhost:8443","zabbix","my-api-key"] 0
Using curl on the api resulted in this:
Code:
curl -k https://localhost:8443
HTML Code:
<noscript> <div class="noscript container" ng-if="false"> <div class="jumbotron alert alert-danger"> <h2 i18n>JavaScript required!</h2> <p i18n>A browser with JavaScript enabled is required in order to use this service.</p> <p i18n>When using Internet Explorer, please check your security settings and add this address to your trusted sites.</p> </div> </div> </noscript>
I have accounted for the fact that my api is running on port 8443 and not the default 8003 and adjusted the macros and configs accordingly. I've also disabled certificate verification as I am using a self-signed cert.
I'm completely lost here, I have done everything by the book and it isn't working. Also spent hours googling and no one seems to have had the issue I'm facing with this template. Any help will be greatly appreciated.
Thanks
Zabbix version: 6.0.34
Ceph version: 18.2.4 reef (stable)