IBM Support

SNMP probe stops running

Troubleshooting


Problem

The SNMP probe (mttrapd) was not able to collect traps Error: SNMP Message (priority=3): UDP snmp_open: Invalid local port (Address already in use)

Resolving The Problem

There is another process binding to that port. It may be another instance of the probe started previously or a different trap receiver already listening on that port. One way of confirming if another instance of the probe is already running can be achieved by using the ps command on UNIX:

ps -ef | grep nco_p_mttrapd

Another possibility of finding the process binding to the port would be to use the UNIX lsof utility (if installed on the system)

lsof -i protcol@hostname_or_ip:port

lsof -i tcp@hostA:162

In some systems there might be another process already binding to that port (SNMP agent or Trap forwarder are examples of these processes). In these situations the probe can be configured to use a different port either via the properties file of the probe using the Port property, or on the command line when starting the probe using the -port option.

[{"Product":{"code":"SSSHTQ","label":"Tivoli Netcool\/OMNIbus"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"SNMP Probe","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.4.0;7.3.1;8.1.0","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

LON0118939

Document Information

Modified date:
17 June 2018

UID

swg21241936