Skip to main content

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.

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