Diskussion  - 
Hi All,

I want to use collectd to collect the cost of my program which needs to write some data to collectd and then collectd sends to InfluxDB. I searched the Internet and could not find a suitable lib, plugin or api. I can not figure out where to get it solved.

Any help would be very much appreciated.

Sebastian “tokkee” Harl's profile photoshanfeng Jiang's profile photo
Did you have a look at the unixsock plugin? There are client libs for a couple of programming languages. If that's not what you want, please provide more details about your requirements.
+Sebastian Harl
Thanks for your answering.
My requirement is below,
Our cluster(java) needs to statistics the communication cost of thrift connections. So we design a module to calculate the information and send analysis to influxdb motoring system. The module is bounded with the version of software. I am looking for a more portable solution which can collect analysis and forward it. And collectd may be a good choice.

But I never use it before. I search collectd.org and read the contents of unixsock plugin. And I still donot know how to use it.

Would you like to give me more advice?
Looking forward to you.
collectd.org - Start page – collectd – The system statistics collection daemon
Add a comment...