M
M
may-cat2015-02-10 18:08:15
JSON
may-cat, 2015-02-10 18:08:15

How to properly monitor json responses?

you need to monitor a REST web service on zabbix that responds in json format.
Is there any elegant solution to make it easier to write the expected jsons in Zabbix?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2015-03-18
@may-cat

If I were you, I would not store json in the zabbix database. Simply because it will not be very convenient to work with such values.
IMHO it is better to write (let's say in python) a script that receives your json, parses it and sends its fields with the necessary Zabbix keys using zabbix_sender. Just in this way, you can set the required type of information for each field, get graphs and triggers for some metrics, and so on.
In python, this is written in 10 minutes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question