How to install the OS SNMP service with proxy for the Axigen Reporting service on Linux

This article describes the steps required to configure the OS SNMP (on Linux systems) with proxy for the Axigen Reporting service.

Resolution

  1. 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

  2. From WebAdmin → Status & Monitoring → Reporting Service, move the Axigen Reporting service listener from port 161 to 16100

  3. Move the snmpd config file to a backup location using a command similar with: mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bck

  4. 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 service

    You should change <monitoring_system_ip_address> with the Monitoring System machine IP address

    You should change public with your SNMP Community name


  5. Start the snmpd service using a command similar with:

    systemctl start snmpd


  6. Enable the Axigen SNMP service from WebAdmin → Status & Monitoring → Reporting Service → SNMP Parameters → Enable SNMP

  7. From WebAdmin → Services → Services Management, start the Reporting service

  8. 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
Applies to
Releases: Axigen 9..xAxigen 10..xAxigen 10.1.xAxigen 10.2.x
OS: LinuxWindows