/zabbix-ipvsadm

From https://github.com/shinonome/zabbix_ipvsadm

Primary LanguagePython

Zabbix IPVSADM Module

Installation

Do the following on the host with zabbix-agent:

  • Put ipvsadm_discover.sh and ipvsadm.py in /etc/zabbix
  • Both files need the following permissions:
  • mode: 754
  • user: root
  • group: zabbix
  • Put ipvsadm.conf in /etc/zabbix/zabbix_agentd.conf.d/
  • Rename zabbix_ipvsadm_sudoers to zabbix_ipvsadm and put it in /etc/sudoers.d/
  • DO NOT EDIT THE /etc/sudoers FILE AT ALL UNLESS YOU USE VISUDO AND KNOW WHAT YOU ARE DOING!
  • Restart the zabbix-agent: sudo service zabbix-agent restart

Zabbix Server

  • To test the functionality
  • On the zabbix server run: zabbix_get -s $IPADDRESS -k ipvsadm.discovery
  • REPLACE $IPDADDRESS with the IP
  • If you get output that does NOT say "Permissions Denied" then it works!.
  • Import the Template_LVS_connections.xml template

History & Credit

Screenshot from the final product on the zabbix server. Image above is fom Yxnt.