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

make net.tcp.listen work on Linux

    XMLWordPrintable

Details

    • Change Request
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.4
    • Agent (G)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: