ceph-zabbix
ceph-zabbix copied to clipboard
Zabbix plugin for Ceph monitoring
1、zabbix 3.4相较之前版本有大的改动,故无法导入模板,而3.2是可以的。 2、ceph.rados_used_ratio 该键值的计算公式有问题,修改如下: 默认:ceph.rados_used/ceph.rados_total 修改后 :last(ceph.rados_used)/last(ceph.rados_total)
update
Nothing works with this template or script. The zabbix-agent runs as the zabbix user, and is not allowed to access ceph commands by default. auth: unable to find a keyring...
Zabbix temaplate contains ceph.osd_in and ceph.osd_up parameters, while ceph-status.sh works with just in and up args: ``` Ceph OSD in % 0 0 ceph.osd_in ``` ``` "in") ceph_osd_in_percent ;; ```
Extract values from following line: 2013-03-05 17:51:43.787306 mon.0 [INF] pgmap v196284: 1260 pgs: 2 active, 1151 active+clean, 107 peering; 493 MB data, 11522 MB used, 460 GB / 479 GB...