On This Page
Extend SNMP in Suite Administration
You can extend SNMP on your server to support additional SNMP MIBs, and customize the behavior of SNMP.
Support additional MIBs:
- Edit:
/etc/snmp/snmpd.conf - Extend the exposed view, as desired. For example, to expose the MIB-2 OIDs, add the following line:
view systemview included .1.3.6.1.2.1 - Restart the SNMPD daemon:
#service snmpd restartIf the restart process fails, run the following:
#killall snmpd#service snmpd start
Change the default port:
To use port 10161 instead of the default SNMPd port to query the server:
- Edit:
/etc/snmp/snmpd.conf - Find the "Access control" section. Go to third step, and add the line:
view systemview included .1.3.6.1.4.1.21834 - At the end of the file (just before the "Further Information" section), add the lines:
proxy [-Cn CONTEXTNAME] [SNMPCMD_ARGS] HOST OID [REMOTEOID]
proxy -v 2c -c public localhost:10161 .1.3.6.1.4.1.21834
- Restart the SNMPD daemon:
#service snmpd restartIf the restart process fails, run the following:
#killall snmpd#service snmpd start