Feature #8216
open
it is no more than listening on port 9126 on lan interface, but while disabling any other outputs client.
this would be really nice cause it obsoletes running a InfluxDB server just to get the metrics viewable in Grafana.
its this plugin: Prometheus Output Plugin
apparently builds along with current telegraf
wait, its already there and works!
no need to do anything, except perhaps adding some hint to the Web UI at Services -> Telegraf
all that needs to be done is:
- go to Services -> Telegraf
- check Enable Telegraf
- paste into Additional configuration for Telegraf field at the very bottom:
[[outputs.prometheus_client]]
listen = ":9100"
- ensure the service started at Status -> Services
- verify metrics at http://PFSENSE.HOST:9100/metrics
tested with the telegraf 1.13.4_1
package that get installed currently
Also available in: Atom
PDF