How to setup MGR Zabbix plugin module?

Solution Verified - Updated -

Issue

  • Randomly, the zabbix plugins are not working well. The error is below shown:
# ceph zabbix send
Error EINVAL: Traceback (most recent call last):
  File "/usr/lib64/ceph/mgr/zabbix/module.py", line 234, in handle_command
    self.send()
  File "/usr/lib64/ceph/mgr/zabbix/module.py", line 206, in send
    data = self.get_data()
  File "/usr/lib64/ceph/mgr/zabbix/module.py", line 174, in get_data
    osd_fill.append((float(osd['kb_used']) / float(osd['kb'])) * 100)
ZeroDivisionError: float division by zero  << here
  • Zabbix server is working fine, but it shows Failed to send data to Zabbix when trying to connect:
# ceph zabbix send
Failed to send data to Zabbix

Environment

  • Red Hat Ceph Storage (RHCS) 3
  • Red Hat Ceph Storage (RHCS) 4
  • Red Hat Ceph Storage (RHCS) 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content