Keepalived SNMP
Introduction
The five Keepalived SNMP Templates provide a modular monitoring implementation becuase Keepalived installations may do a wide range of things. The simplest Keepalived implementation is only implementing VRRP failover and requires only the templates:
1) Template SNMP Keepalived Global
2) Template SNMP Keepalived VRRP
A Keepalived implemetation that provides LVS load balancing defined by IP address or fwmark requires, additionally:
3) Template SNMP Keepalived Check Virtual Servers
4) Template SNMP Keepalived Check Real Servers
A Keepalived implemetation that provides LVS load balancing defined by on or more Virtual Server Groups requires, additionally:
5) Template SNMP Keepalived Check Virtual Server Groups
The included KEEPALIVED-MIB file must be installed in the Zabbix Server's SNMP MIBs path to provide the textual snmpbulkget support configured in the templates.
1. Prerequisites
Net-SNMP installed and running on the Keepalived servers.
Keepalived compiled with SNMP support and enabled in the startup script (i.e. using the --snmp daemon argument).
The KEEPALIVED-MIB file in the Zabbix Server's SNMP mibs path.
2. Templates
There are five templates that correspond to the structure of the KEEPALIVED-MIB:
1) Template SNMP Keepalived Global
2) Template SNMP Keepalived VRRP
3) Template SNMP Keepalived Check Virtual Servers
4) Template SNMP Keepalived Check Real Servers
5) Template SNMP Keepalived Check Virtual Server Groups
2.1 Template SNMP Keepalived Global
This template contains only configuration information. Checks are disabled by default.
2.2 Template SNMP Keepalived VRRP
This template contains both configuration and monitoring information. Only the monitoring information is enabled. The template utilizes SNMP Low Level Discovery.
2.3 Template SNMP Keepalived Check Virtual Servers
This template contains both configuration and monitoring information. Only the monitoring information is enabled. The template utilizes SNMP Low Level Discovery.
2.4 Template SNMP Keepalived Check Real Servers
This template contains both configuration and monitoring information. Checks are disabled by default. Due to the MIB structure's dynamic OID assignment, it is not amenable to SNMP Low Level Discovery and requires manual configuration (see below).
2.5 Template SNMP Keepalived Check Virtual Server Groups
This template contains only configuration information. Only the monitoring information is enabled. A single SNMP Low Level Discovery item is included to enumerate only the Virtual Server Group Names. Due to the MIB structure's dynamic OID assignment, it is not amenab