Ad Widget

Collapse

Zabbix Json

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • msobilo23
    Junior Member
    • Dec 2016
    • 2

    #1

    Zabbix Json

    Hi,
    First sorry for my English

    I have problem with lld with user parametr that use script to generete below data

    My Data from

    PHP Code:
    {
        
    "data":[
            {
                
    "{#QUEUE}":"cos1",
                
    "{#SIZE}":"0"
            
    },
            {
                
    "{#QUEUE}":"cos2",
                
    "{#SIZE}":"0"
            
    },
            {
                
    "{#QUEUE}":"cos3",
                
    "{#SIZE}":"14"
            
    },
            {
                
    "{#QUEUE}":"cos4",
                
    "{#SIZE}":"0"
            
    },
            {
                
    "{#QUEUE}":"cos5",
                
    "{#SIZE}":"0"
            
    },
            {
                
    "{#QUEUE}":"cos5",
                
    "{#SIZE}":"0"
            
    },
            {
                
    "{#QUEUE}":"cos6",
                
    "{#SIZE}":"0"
            
    },
            {
                
    "{#QUEUE}":"cos7",
                
    "{#SIZE}":"0"
            
    },
            {
                
    "{#QUEUE}":"cos8",
                
    "{#SIZE}":"0"
            
    },
            {
                
    "{#QUEUE}":"cos9",
                
    "{#SIZE}":"0"
            
    }
        ]

    Generally works but for each position (discover.queue[{#QUEUE}][{#SIZE}]) I Have this same text output (this json)

    My question is how to modify position to gat only size of each queue??
Working...