Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-7760

net.tcp.service[.perf] simple checks poorly documented

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.10
    • Fix Version/s: None
    • Component/s: Documentation (D)
    • Labels:
    • Environment:
      documentation

      Description

      net.tcp.service simple checks are poorly documented, especially for the service parameter.

      The manual just says (section 6.2.2.5.2 as for 2.0.10):

      • service - one of ssh, ntp, ldap, smtp, ftp, http, pop, nntp, imap, tcp, https, telnet

      But there is no indication whether a higher level protocol has been implemented, what it would do, expect, or how it would handle protocol violations.

      This leads to wrong expectations and assumptions, i.e. one could assume that "http" actually does some HTTP, i.e. sending out a HEAD or GET request and check for a HTTP xxx reply - but it doesn't. HTTP is a bare TCP connection. In contrast, ssh seems to do a real handshake.

      simple.c in src/libs/zbxsysinfo/simple is the basic workhorse and might be a good starting point for reverse engineering how stuff is implemented.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mato Tom M.
            • Votes:
              10 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: