Change the SNMP listener port used by HP NNM
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
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.
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.