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

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

      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

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

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

              Created:
              Updated:
              Resolved: