[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:
http://192.168.244.128:5000/api/v0.1/status.json

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