Absent Member.. Absent Member..
Absent Member..

Change the SNMP listener port used by HP NNM

Hi Folks,

We have HP OMU 8.x on top of NNM 7.5x where OMU is acting as a MOM server, it receives the SNMP traps from various sources. Is there any way that we can change the SNMP listener port, so we can freeup port 161/162.

We don't want to stop NNM. Is there any way that we can use 2 different SNMP listener in the same server. 


Thanks in advance


Vishnu BV

1 Reply
Super Contributor.
Super Contributor.

Hello Vishnu,

You can't have two listener for NNM.By default, snmp listens on port 162 and talks on port 161. 

To change the SNMP Master agent port for UNIX

Stop the SNMP agents.
Edit /etc/services to reflect the new port for snmp and snmp-trap. 

If you change the snmp-trap port, you must stop and restart NNM.
Save the file.

Have the UNIX box reread the services file. To do this, the command is inetd –c
Then restart the SNMP daemons using the script called snmpd

Hope this helps.



 HP Support

The views expressed in my contributions are my own and do not necessarily reflect the views and strategy of HP
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.