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

Name of web monitoring scenario including # character causes error "No items defined." for showing graphs.

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.17, 3.0.8
    • Fix Version/s: 2.2.19rc1
    • Component/s: Frontend (F)
    • Labels:
      None
    • Team:
      Team B
    • Sprint:
      Sprint 4, Sprint 5, Sprint 6, Sprint 7
    • Story Points:
      0.5

      Description

      If # character is set to the name of web monitoring scenario , the image of graph of the scenario shows error message.

      How to reproduce :
      1. Open the following location on Zabbix Web interface .

      Configuration -> Hosts -> Web -> Scenarios -> Create or Configuration of web monitoring.

      2. Set the name including # for the Scenario .

      Name: foobar#1

      3. Open the following location. And confirm the error message on both Speed and Response time area.
      Monitoring -> Web -> Details of the scenario set above.

      See also attached image.

      We confirmed this problem on version 2.2.16 and 3.0.5 .
      If # is set to the name ,it translated wrongly in the URL to show the graph in httpdetails.php.
      As a result the error messages are appeared on the these area for graphs.

      We fixed this problem using urlencoding().
      Please see the attached patch.

        Attachments

        1. W22_1.png
          W22_1.png
          90 kB
        2. W22_2.png
          W22_2.png
          91 kB
        3. W30_1.png
          W30_1.png
          66 kB
        4. W30_2.png
          W30_2.png
          61 kB
        5. zabbix-2.2.16-websenario_name_urlencode.patch
          0.7 kB
        6. zabbix-3.0.5-websenario_name_urlencode.patch
          0.8 kB

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            kmiyashita Kotaro Miyashita
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: