Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-430

make net.tcp.listen work on Linux

    XMLWordPrintable

    Details

    • Type: Change Request
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.4
    • Component/s: Agent (G)
    • Labels:
      None

      Description

      Currently, there is an unused function TCP_LISTEN in src/libs/zbxsysinfo/common/net.c, which does approximately what is required, but not quite. In particular, it requires the port to be specified in uppercase hex. It also only tries to read from /proc/net/tcp, while it should also handle /proc/net/tcp6. Also, in net.tcp.listen, should an additional parameter be added to distinguish between IPv4, IPv6, and both?

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            asaveljevs Aleksandrs Saveljevs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: