<div dir="ltr"><div>I'm using the curl_json plugin to get data from MongooseIM and write it out to Graphite using the write_graphite plugin. Collectd is version 5.4.1, built from source. I have everything talking, but all the numbers getting sent to graphite are getting a decimal incorrectly inserted. For example when I curl the endpoint providing the data I see "{"metric":1637}". That ends up getting sent to graphite as 163.7xxxxx where "xxxxx" is 5 apparently random digits.</div>
<div><br></div><div>Any idea why this is happening? I've dug through the docs and I can't come up with an explanation. I can compensate in graphite by applying a scaling factor, but I'd rather just have good data getting in there. A config snippet is below.</div>
<div><br></div><div>QH</div><div><br></div><div>collectd.conf</div><div><br></div><div><div><Plugin syslog></div><div> LogLevel notice</div><div> NotifyLevel OKAY</div><div></Plugin></div><div>LoadPlugin curl_json</div>
<div>LoadPlugin write_graphite</div><div><Plugin write_graphite></div><div> <Node "graphite"></div><div> Host "localhost"</div><div> Port "2003"</div><div> Protocol "tcp"</div>
<div> LogSendErrors true</div><div> Prefix "collectd."</div><div> StoreRates true</div><div> AlwaysAppendDS false</div><div> EscapeCharacter "_"</div><div> </Node></div>
<div></Plugin></div><div><Plugin curl_json></div><div> <URL "<a href="http://mongoose.local:5280/metrics/host/testing.local">http://mongoose.local:5280/metrics/host/testing.local</a>"></div>
<div> Instance "mongooseim"</div><div> <Key "metrics/sessionCount"></div><div> Type "absolute"</div><div> </Key></div><div> </URL></div><div>
</Plugin></div></div><div><br></div></div>