Project

General

Profile

Actions

Feature #8216

open

Add prometheus output for telegraf

Added by Nicolas Marot over 6 years ago. Updated over 3 years ago.

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

Actions #1

Updated by Nicolas Marot over 6 years ago

it is no more than listening on port 9126 on lan interface, but while disabling any other outputs client.

Actions #2

Updated by Jim Pingle over 4 years ago

  • Category set to Telegraf
Actions #3

Updated by Bernd Klaus over 3 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

Actions #4

Updated by Bernd Klaus over 3 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:

  1. go to Services -> Telegraf
  2. check Enable Telegraf
  3. paste into Additional configuration for Telegraf field at the very bottom:
    [[outputs.prometheus_client]]
      listen = ":9100" 
    
  4. ensure the service started at Status -> Services
  5. verify metrics at http://PFSENSE.HOST:9100/metrics

tested with the telegraf 1.13.4_1 package that get installed currently

Actions

Also available in: Atom PDF