Actions
Feature #8216
openAdd prometheus output for telegraf
Status:
New
Priority:
Normal
Assignee:
-
Category:
Telegraf
Target version:
-
Start date:
12/16/2017
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Description
Please consider adding prometheus output as output choice for telegraf
Updated by Nicolas Marot about 7 years ago
it is no more than listening on port 9126 on lan interface, but while disabling any other outputs client.
Updated by Bernd Klaus over 4 years ago
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
Updated by Bernd Klaus over 4 years ago
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
Actions