GlusterFS volumes monitoring through Zabbix.
Template "Template GlusterFS disks" finds all peers and volumes, creates new items and triggers.
Monitor peers status, volumes size, inodes, volume status, bricks count, heal and split-brain status.
perl, sudo, zabbix-agent, gluster.
libswitch-perl library.
- copy gluster-monitoring.pl to /etc/zabbix/
- copy zabbix_agentd.d/gluster.conf to /etc/zabbix/zabbix_agentd.d/
- copy sudoers.d/zabbix (or its content) to /etc/sudoers.d/
- chown root:root /etc/sudoers.d/zabbix ; chmod 440 /etc/sudoers.d/zabbix
- chmod 755 /etc/zabbix/gluster-monitoring.pl
- restart zabbix-agent daemon.
- import "zbx_templates/Template GlusterFS disks.xml" into your templates.
- apply template "Template GlusterFS disks" to host with gluster tools.
- enjoy.