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

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.19rc1
    • 2.2.17, 3.0.8
    • Frontend (F)
    • None
    • Sprint 4, Sprint 5, Sprint 6, Sprint 7
    • 0.5

      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.

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

            Unassigned Unassigned
            kmiyashita Kotaro Miyashita
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: