Hi,
I am using multiple python scripts to pull information from cisco devices and list them in JSON format. There is only 1 script not working and in zabbix i get the message "Value should be a JSON object". I used jsonlint to validate the output.
I am runnning Zabbix 3.2.7.
This is the output
This is what zabbix shows:
I am using multiple python scripts to pull information from cisco devices and list them in JSON format. There is only 1 script not working and in zabbix i get the message "Value should be a JSON object". I used jsonlint to validate the output.
I am runnning Zabbix 3.2.7.
This is the output
Code:
{
"data":[
{
"{#TRUNKSNMPINDEX}":"5001",
"{#TRUNKSNMPVALUE1}":"Po1",
"{#TRUNKSNMPVALUE2}":"CA-HE-R"
},
{
"{#TRUNKSNMPINDEX}":"10601",
"{#TRUNKSNMPVALUE1}":"Gi2/0/1",
"{#TRUNKSNMPVALUE2}":"CA-HE-R (2/1/6)"
},
{
"{#TRUNKSNMPINDEX}":"10101",
"{#TRUNKSNMPVALUE1}":"Gi1/0/1",
"{#TRUNKSNMPVALUE2}":"CA-HE-R (1/1/6)"
}
]
}
Comment