hoonmin / influxdb-collectd-proxy

A very simple proxy between collectd and influxdb.
MIT License
72 stars 26 forks source link

Add support for `proxyhost` flag #10

Closed vbatoufflet closed 10 years ago

vbatoufflet commented 10 years ago

Hi,

I just added support for a proxyhost flag as sometimes it could be useful to bind to specific interfaces (e.g. 127.0.0.1).

I added this flag in order to prevent breaking current proxy's defaults, but maybe something like a --listen flag (setting both interface and port) will suits to you better.

Please let me know what do you think.

Regards.

hoonmin commented 10 years ago

Pulled, thank you :-) But I agree with you that it would be better to have another flag.