VictoriaMetrics-Community / homeassistant-addon-victoriametrics

VictoriaMetrics Add-on for Home Assistant OS is the perfect solution for long term data storage of your smart home sensor data and visualization with Grafana.
MIT License
95 stars 24 forks source link

[feature] Add support for graphite #37

Closed googanhiem closed 8 months ago

googanhiem commented 8 months ago

I'd like to enable graphite listening server, as documented here

I can add the argument -graphiteListenAddr=8867 , but get an error. It returns error fatal VictoriaMetrics/lib/ingestserver/graphite/server.go:48 cannot start TCP Graphite server at "8867": listen tcp4: address 8867: missing port in address

If you could add the ability to specify another port I imagine that would solve the issue.

denisgolius commented 8 months ago

I'd like to enable graphite listening server, as documented here

I can add the argument -graphiteListenAddr=8867 , but get an error. It returns error fatal VictoriaMetrics/lib/ingestserver/graphite/server.go:48 cannot start TCP Graphite server at "8867": listen tcp4: address 8867: missing port in address

If you could add the ability to specify another port I imagine that would solve the issue.

Hey @googanhiem , try once again but put : symbol before port number, for example:

-graphiteListenAddr=:8867
googanhiem commented 8 months ago

Yes, adding that allowed it to launch. Thanks

I'm trying to get Truenas Scale to export to it. As its a separate machine I think the port is being blocked by HAOS.

fuslwusl commented 8 months ago

Thanx for your feedback!