[collectd] problem with Plugin curl_json

张鹏 zphj1987 at gmail.com
Wed Feb 10 18:53:23 CET 2016

hello everyone!
i have some problem with  using the Plugin curl_json

my json  is:

i have a json file with the value like

{"status": "OK",

"output": {"election_epoch": 1}


so the key is status ,and my key value is a string, i known i can use
a type gauge to display a number above election_epoch ,

but i don't know how to save the value as a string, some one can help
me? i want to save the status string "ok"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20160210/d3840609/attachment.html>

More information about the collectd mailing list