Randomly, the zabbix plugins are not working well

Solution Verified - Updated -

Issue

  • Randomly, the zabbix plugins are not working well. The error is below shown:
[root@localhost ~]# 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

Environment

  • Red Hat Ceph Cluster 3
  • ceph-mgr-12.2.1-40.el7cp.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.