I have an application where I am using an Net-SNMP subagent to extend SNMPD via AgentX on an AXC 1152. SNMPD is not running by default on the controller which I have proven by the output of the "ps -ef" command. When I attempt to start SNMPD, there is an error as there is another SNMP agent that has already bound to port 161 on the device. Using [i]fuser[/i], I can see that the following application has consumed port 161/udp.
[b]fuser output:[/b]
root@axcf1152:~# fuser 161/udp
1576
[b]Process 1576 is the following:[/b]
[i]plcnext+ 1576 1521 8 Feb15 ? 20:18:59 /usr/bin/Arp.System.Application --child=true --name=ExternalIoProcess --settings=/etc/plcnext/Device.acf.settings --core=1 --localTcpPort=41123[/i]
I need to disable the SNMP agent that is binding the standard port. Can someone please help me with this?
There is an SNMP agent running in the controller by default. This is required for Profinet compliance. You can see that port 161 is occupied, using the netstat command:
[code]Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 192.168.1.10:161 0.0.0.0:*[/code]
If you disable both the Profinet Controller and Profinet Device features using Web-based management, then this will free up port 161 for your own SNMP daemon.
Hi Martin, I’m using profinet features for pulling data from a QUINT UPS. Is it possible to move the port or am I stuck with running my SNMP server on a non-standard port?