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

Single quote shown as error in templated discovery items.

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 5.0.1
    • Server (S)
    • Zabbix 5.0.1 Server
      Zabbix 5.0.1 Agent
      PHP-FPM 7.3.7 or PHP-FPM 7.4.7
      Apache 2.4.39

      Single quote is shown as error on templated discovery and discovery items.  Seen in the info column of items configuration.  Similar to ZBX-17806.

      Steps to reproduce:

      1. Create new template
      2. Create new discovery
      3. Create new discovery item
      4. Assign template to host

      Additional Notes:

      • I'm using a custom user parameter that executes a shell script for discovery.
      • UserParameter=test.client.discovery,/etc/zabbix/scripts/test.sh discover
      • Attaching test.sh
      • My discovery items are "Zabbix Trapper".  Does not poll, yet still has same error.

      Result:
      See screenshot...

        1. configuration_options.txt
          3 kB
          Don Harrop
        2. discovery_item_preprocessing.png
          10 kB
          Don Harrop
        3. discovery_item_prototype.png
          40 kB
          Don Harrop
        4. discovery_lld_macros.png
          17 kB
          Don Harrop
        5. discovery_preprocessing.png
          12 kB
          Don Harrop
        6. discovery_rule.png
          41 kB
          Don Harrop
        7. Screenshot1.png
          71 kB
          Don Harrop
        8. Screenshot2.png
          78 kB
          Don Harrop
        9. test.sh
          0.2 kB
          Don Harrop

            zabbix.support Zabbix Support Team
            don Don Harrop
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: