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

Graph prototype process create only the lastest value sent by the Json object

    XMLWordPrintable

Details

    • Incident report
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.2.6
    • None
    • Server (S)
    • None
    • Centos 7.2
      apache 2.4

    Description

      When returning a json with several key / values, the graph prototype process create only the lastest pair :

      Example :

      {
              "data":[
      
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp_br_v5"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp_sd"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp2"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp_sd_arch"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp_cas"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"ismp_br"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"monitoring_management"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM101",
                      "{#DB}":"mentoring"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM102",
                      "{#DB}":"acacia_webapp"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM102",
                      "{#DB}":"horus_report"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM102",
                      "{#DB}":"ismp_am_gu"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM102",
                      "{#DB}":"ismp_as_gu"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"resource_management"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"infocenter"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"ismp_mm_light"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"ismp_sd_light"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"ismp_am_light"
              }
              ,
              {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"ismp_cm_light"
              }
      
              ]
      }
      

      On this example, only 3 graph are created :

      - "{#INSTANCE}":"MYDITM101",
         * "{#DB}":"mentoring"
      -         {
                      "{#INSTANCE}":"MYDITM102",
               }
      -        {
                      "{#INSTANCE}":"MYDITM103",
                      "{#DB}":"ismp_cm_light"
              }
      

      On the other time, all items are correctly created and return values see attach docs

      Attachments

        1. Capture.PNG
          Capture.PNG
          58 kB
        2. Graph.PNG
          Graph.PNG
          12 kB
        3. Graph2.PNG
          Graph2.PNG
          17 kB
        4. items.PNG
          items.PNG
          11 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              landry41 CHRETIEN Landry
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: