[Solved] Ceph and Zabbix fail to send data to server

Ting

Member
Oct 19, 2021
99
4
13
56
I have a ceph cluster, and installed Zabbix agent2, i did:

1. Enable Zabbix module
2. I updated Zabbix host ip address

But when I try “ceph Zabbix send” got a fail to send message.

Here is my question, my ceph is on a 10.0.10.x network, but Zabbix server is on a 192.168.0.x network, fail to send data is that because of two different subnet? If it is the problem, is that mean I have to setup a server to do port forwarding?

Many thanks
 
update, resolved.

1. I added a new nic in zabbix server, and this nic is in same subnet of my ceph public network.
2. I need to set identifier name to :"ceph" and same as host name I created in zabbix.
3. I have 3 ceph mgr, and in zabbix server host "ceph", I entered all 3 ceph mgr's public ip address. (not sure whether this is a must or not)
4. then I test by "ceph zabbix send" on one ore mgr node, test ok, and I start seeing data in zabbix server.

but, in zabbix host, it shows "unknown" at host, not sure why, if anyone has an idea, please let me know.

At this point, I am getting data from ceph, I marked this thread as solved.