본문 바로가기

Monitoring Tools/Zabbix

13. [zabbix agent] keepalived

반응형

 

CentOS7 기준

 

1. keepalived.conf

global_defs {
# Keepalived process identifier
  smtp_server localhost
  smtp_connect_timeout 60
  snmp_socket tcp:localhost:705
  enable_snmp_checker
  enable_snmp_rfcv3
  enable_snmp_rfcv2
  enable_snmp_vrrp
  enable_snmp_rfc
  enable_traps
}

 

2. keepalived option

> /etc/sysconfig/keepalived

KEEPALIVED_OPTIONS="-D --snmp"

 

4. snmpd.conf

> /etc/snmp/snmpd.conf

master agentx

 

5. snmpd option

> /etc/sysconfig/snmpd

OPTIONS="-Lf /dev/null -p /var/run/snmpd.pid -a --master=agentx --agentXSocket=tcp:localhost:705"

 

6. 확인

snmpwalk -v 2c -c <community string> <target host> .1.3.6.1.4.1.9586.100.5

 

7. zabbix server template

zbx_export_templates_keepalived.xml
0.09MB

 

8. MIB 참조 : http://www.circitor.fr/Mibs/Html/K/KEEPALIVED-MIB.php#VrrpState

반응형

'Monitoring Tools > Zabbix' 카테고리의 다른 글

15. [zabbix agent] SW huawei CE5850 for snmp  (0) 2021.03.17
14. [zabbix agent] mysql  (0) 2021.03.17
12. [ zabbix agent] solr  (0) 2021.03.17
11. [zabbix agent] kafka  (0) 2021.03.17
10. [zabbix agent] bind  (0) 2021.03.17