This article describes the steps required to configure the OS SNMP (on Linux systems) with proxy for the Axigen Reporting service.
Solution
- Install the SNMP daemon and tools using:
- Cent OS / Red Hat / Oracle Linux: yum install net-snmp
- Ubuntu: apt install snmp snmpd snmp-mibs-downloader
- OpenSuse: zypper install net-snmp
- From WebAdmin → Status & Monitoring → Reporting Service, move the Axigen Reporting service listener from port 161 to 16100
- Move the snmpd config file to a backup location using a command similar with: mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bck
- Create a new empty snmpd.conf in /etc/snmp and add the below lines: # Axigen proxy
rocommunity public localhost
rocommunity public <monitoring_system_ip_address>
proxy -v 2c -c public localhost:16100 1.3.6.1.4.1.29463 # Axigen reporting serviceYou should change <monitoring_system_ip_address> with the Monitoring System machine IP address
You should change public with your SNMP Community name
- Start the snmpd service using a command similar with:
systemctl start snmpd
- Enable the Axigen SNMP service from WebAdmin → Status & Monitoring → Reporting Service → SNMP Parameters → Enable SNMP
- From WebAdmin → Services → Services Management, start the Reporting service
- Test the configuration using the below commands:
- Check the Axigen queue size: # snmpwalk -Os -c public -v 2c localhost 1.3.6.1.4.1.29463.2.1
enterprises.29463.2.1 = INTEGER: 4 - Check free RAM: # snmpwalk -Os -c public -v 2c localhost 1.3.6.1.4.1.2021.4.11.0
memTotalFree.0 = INTEGER: 2429296 kB - Check system uptime: # snmpwalk -Os -c public -v 2c localhost 1.3.6.1.2.1.1.3.0
sysUpTimeInstance = Timeticks: (335068) 0:55:50.68
- Check the Axigen queue size: # snmpwalk -Os -c public -v 2c localhost 1.3.6.1.4.1.29463.2.1