How to configure MTP for SNMP polling by a network management system

Document ID : KB000057007
Last Modified Date : 14/02/2018
Show Technical Document Details

With SNMP alerting described in the MTP Administrator guide, the Multi-Port Monitor performs some self-monitoring tasks and sends trap notifications to alert you to conditions that can affect performance. This article describes how to configure the MTP so that, in addition to traps, it can also be monitored by a Network Management System. Notice that these steps are not in the MTP Administrator guide.

The snmp community is configured in the file below in the MTP system:


Before making changes to this file, please make a backup as:

cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak

To edit the community string, open up the file /etc/snmp/snmpd.conf and find the line below:

com2sec notConfigUser default netqos

Replace netqos with the community string you want to use, then issue the command below for the changes to take effect:

sudo service snmpd reload

Also if Linux firewall is enabled, edit the /etc/sysconfig/iptables file with your favorite editor and add the following two lines :

-A INPUT -p udp -m udp --dport 161 -j ACCEPT
-A INPUT -p udp -m udp --dport 162 -j ACCEPT


Restart iptables service:

sudo service iptables restart

Restart snmpd service:

sudo service snmpd restart


CPU and Memory SNMP information are proprietary to each device so to monitor those the additional steps below are required:

It basically uses the embedded snmp agent in the MTP and uses the UCDavis MIB to poll CPU and Memory information.

The UCDavis MIB can be found in the MTP in the path below:


This MIB can provide the following metrics:

CPU Statistics

1 minute Load: .
5 minute Load: .
15 minute Load: .

CPU times
percentage of user CPU time: .
raw user cpu time: .
percentages of system CPU time: .
raw system cpu time: .
percentages of idle CPU time: .
raw idle cpu time: .
raw nice cpu time: .

Memory Statistics

Total Swap Size: .
Available Swap Space: .
Total RAM in machine: .
Total RAM used: .
Total RAM Free: .
Total RAM Shared: .
Total RAM Buffered: .
Total Cached Memory: .

Notice that the procedure described in this article is not officially supported, please use at your own risk.