IBM Support

Missing socket entries in "Socket Services Information" view

Question & Answer


Question

Why the Linux OS agent TEP view "Socket Services Information" does not show all the entries returned by the command "netstat -an"?

Answer

The TEP view "Socket Services Information" shows data from attribute group "Socket Details", table klzsockd.
This attribute group collects and parse data from those two OS files:
/proc/net/tcp
/proc/net/udp
Those files contain only information for ipV4 sockets.
Information for ipV6 sockets are instead maintained by Linux into /proc/net/tcp6 and /proc/net/udp6, that are not currently used for data collection from the Linux OS agent.
So, into view "Socket Services Information" you will always get only information for active ipv4 socket, you cannot compare it with the output of command netstat -an.
The correct command is: netstat -anA inet
The output of this command includes only the ipv4 sockets for all protocols.

[{"Product":{"code":"SSTFXA","label":"Tivoli Monitoring"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":["ITM Agent Linux V6","ITM Agent Linux V6"],"Platform":[{"code":"PF016","label":"Linux"}],"Version":"6.3;6.2.3;6.2.2;6.2.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Product Synonym

IBM Tivoli Monitoring Linux OS Agent V6.x

Document Information

Modified date:
15 June 2018

UID

swg21697965