echo KEEPALIVED_OPTIONS=\"-D -x\" > /etc/sysconfig/keepalived
echo master agentx >> /etc/snmp/snmpd.conf
echo mibs +KEEPALIVED-MIB >> /etc/snmp/snmp.conf # load KEEPALIVED-MIB, the file must in /usr/share/snmp/mibs
service snmpd restart
service keepalived restart # must after restart snmpd
snmpwalk -v2c -cpuclic localhost KEEPALIVED-MIB:vrrp