SNMP Agent Considerations

This topic describes additional considerations when you configure the as an SNMP Agent.
gateway91
This topic describes additional considerations when you configure the
API Gateway
as an SNMP Agent.
Contents:
Remote Access Considerations (iptables)
By default, the iptables firewall does not open the ports required for remote access to the SNMP agent.
To open the firewall and allow access :
  1. Load this file in a text editor:
    /etc/sysconfig/iptables
  2. Add the following lines to the file:
    [0:0] -A INPUT -i eth0 -p udp --dport 161 -j ACCEPT
    [0:0] -A INPUT -i eth0 -p tcp -m tcp --dport 199 -j ACCEPT
  3. Save and exit.
  4. Load this file in a text editor:
    /etc/hosts
  5. Add this line:
    snmpd: ALL
    This enables access to the SNMP agent.
  6. Save and exit.
Enabling snmpd at Boot
The startup of snmpd is disabled by default. To change this, run these commands in a privileged shell.
  • To configure snmpd to start at boot:
    # chkconfig snmpd on
  • To start the snmpd service manually:
    # service snmpd start
  • To reload the snmpd.conf file manually:
    # service snmpd reload