collectd / collectd

The system statistics collection daemon. Please send Pull Requests here!
http://collectd.org
Other
3.2k stars 1.23k forks source link

Report stats by proxy for other hosts #1092

Open alerque opened 9 years ago

alerque commented 9 years ago

I ran into an issue some time ago that still doesn't seem to be resolved. Since then a few other people have shown an interest in my problem, but a direct solution doesn't seem to exist, so this is a feature request for the ability re adjust the host name on a per-plugin basis.

The use case would be this: Host A, B and C all report various metrics about themselves to a central server that logs and graphs them. Host B also has a couple plugins that read metrics from sensors that are not logically associated with itself but instead should be classified as stats for hosts D and E.

The request would be to set a hostname in each read plugin so what when writing those values back to a central logging server the reported hostname would be the value configured in the plugin rather than the actual hostname of the machine doing the reporting.

ranjanmanish commented 9 years ago

based on my research I found the python plugins are capable of sending tagged data ( Write_tsdb plugin for example) but there is not an easy way to tag system plugin data like cpu , memory, etc. It will be very useful to have tagging feature.