Implementing SNMP on CentOS 7 and RedHat 7
On a HAPEE server, the SNMP stack is split into two main components and one optional component:
Operating system SNMP daemon: called
snmpd. It listens on a network interface on port 161/UDP and handles SNMP requests from clients.
SNMP plugin for HAProxy: called
hapee-snmp-lb. This plugin collects data from
The diagram below illustrates the flow:
Install the OS SNMP daemon: snmpd
Run the following command:
yum install net-snmp
Skip this step if your system already has an SNMP daemon installed.
Install the HAPEE SNMP plugin: hapee-snmp-lb
For the package
hapee-extras-snmp-lb, run this command:
yum install hapee-extras-snmp-lb
Configure the system snmpd daemon
Edit the file
/etc/snmp/snmpd.conf to add the lines below, depending on your operating system:
pass_persist .126.96.36.199.4.1.232188.8.131.52.3 /opt/hapee-extras/bin/hapee-snmp-lb
service snmpd restart
There is nothing to configure for this software, as its configuration is provided by the package and does not require any update.