ceph and zabbix

luphi

Renowned Member
Nov 9, 2015
82
5
73
Hey all,

I just tried to get ceph's zabbix module running.
I followed the ceph docs at http://docs.ceph.com/docs/master/mgr/zabbix/
Communication seems to be fine but no data is send.
Got this in the mgr log:

Code:
2017-11-01 19:07:46.614999 7f7415d00700 20 mgr[zabbix] Waking up for new iteration
2017-11-01 19:07:46.615681 7f7415d00700 20 mgr[zabbix] Sending data to Zabbix server zabbix.luphi.de
2017-11-01 19:07:46.615755 7f7415d00700 20 mgr[zabbix] {'rd_bytes': 495311746048L, 'total_bytes': 9001298788352L, 'overall_status_int': 0, 'osd_latency_apply_min': 0L, 'osd_latency_apply_max': 0L, 'num_osd_up': 4, 'osd_max_fill': 61.95086419830395, 'osd_backfillfull_ratio': 0.8999999761581421, 'osd_latency_commit_max': 0L, 'wr_bytes': 2543212954624L, 'osd_latency_commit_min': 0L, 'num_mon': 1, 'osd_min_fill': 45.94273830136957, 'total_used_bytes': 4813438418944L, 'wr_ops': 5725101L, 'osd_nearfull_ratio': 0.8500000238418579, 'osd_latency_apply_avg': 0.0, 'overall_status': u'HEALTH_OK', 'num_pg': 192L, 'osd_latency_commit_avg': 0.0, 'osd_avg_fill': 53.840169263158025, 'num_osd': 4, 'osd_full_ratio': 0.949999988079071, 'total_objects': 545926L, 'num_pools': 3, 'num_osd_in': 4, 'num_pg_temp': 0, 'rd_ops': 16542498L, 'total_avail_bytes': 4187860369408L}
2017-11-01 19:07:46.620863 7f7415d00700  0 mgr[zabbix] Exception when sending: /usr/bin/zabbix_sender exited non-zero: zabbix_sender [7831]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 29; total: 29; seconds spent: 0.000189"}]

2017-11-01 19:07:46.620945 7f7415d00700 20 mgr[zabbix] Sleeping for 60 seconds

Any help is apprechiated.

Cheers,
luphi
 
a few months ago we got ceph to work with zabbix. I had another thread on this , there are some hints there. check / search for that thread and send me a reply - i can dig up our configuration notes and post.
 
was it ceph or proxmox+ceph ?
zabbix works with the agent on proxmox, but ceph has this message as above when enabling debug 20 on mgr
 
zabbix for us has been a fabulous tool for monitoring ceph + all servers and systems. I was going to make a new thread to ask a question - which I'll do.
kifeo : do you still need help on getting ceph to send data to zabbix?

My question - attached is a zabbix ceph graph. for us the results seem good, howeer we have nothing to compare the graph to.
on the attached png , how does the latency look to others using ceph / zabbix?
 

Attachments

  • zabbix_Custom_graphs_refreshed_every_30_sec._.png
    zabbix_Custom_graphs_refreshed_every_30_sec._.png
    144.1 KB · Views: 23
Hi RobFantini,

I could successfully manage to make it work, this was due to a mismatch in the zabbix template if I remember correctly.

Here is my latency graph (sorry for the bad results, this is a home lab with also spinning disks)
1592559700310.png
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!