net.tcp.service allows DNS or IP with path

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Trivial
    • 8.0.0beta1
    • Affects Version/s: 6.0.43, 7.0.22, 7.4.6, 8.0.0alpha1
    • None
    • S26-W10/11, S26-W12/13, S26-W14/15, S26-W16/17, S26-W18/19, S26-W20/21
    • 4

      Steps to reproduce:
      Set up Zabbix agent or Zabbix agent 2
      Zabbix get net.tcp.service["http", "127.0.0.1/some/path", "<port>"]

      Result:
      Get a response, 0 or 1 depending if the service is up
      Expected:
      Error since it's not a valid ip address or dns, because it contains 'path'

        1. image-2026-05-13-11-39-15-714.png
          64 kB
          Glebs Mirosnikovs
        2. image-2026-05-13-11-46-19-640.png
          35 kB
          Glebs Mirosnikovs
        3. image-2026-05-13-15-18-21-410.png
          58 kB
          Glebs Mirosnikovs
        4. image-2026-05-13-15-20-32-964.png
          26 kB
          Glebs Mirosnikovs
        5. image-2026-05-13-15-21-52-378.png
          38 kB
          Glebs Mirosnikovs
        6. image-2026-05-15-16-38-28-833.png
          102 kB
          Glebs Mirosnikovs

            Assignee:
            Andris Mednis
            Reporter:
            Eriks Sneiders
            Team C
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 16h Original Estimate - 16h
                16h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 166h 38m
                166h 38m