Solved

change snmp port remote host

  • 11 March 2023
  • 1 reply
  • 125 views

Badge

Hi everyone,

I search how change the snmp port.

I have devices on same wan ip address, udp 161 port on local is nated to udp 4161 port (for example). My centreon is on cloud, and I need to change the default 161 port.

Thanks for your feedback.

icon

Best answer by Laurent 13 March 2023, 15:03

View original

1 reply

Userlevel 6
Badge +18

Hi @clement13 you can edit “/etc/sysconfig/snmpd” file and add at the end of “OPTIONS=” line:

OPTIONS=".... -p /var/run/snmpd.pid -x UDP:4161"

Then restart snmpd service:

systemctl restart snmpd

 

Reply