Prometheus - agent install guide

Prometheus - agent install guide

Eyer uses Influx Telegraf to scrape Prometheus endpoints and transmit the data to our platform.

 

  1. Please read the prerequisites Prerequisites - data collectors

  2. Download and install Influx Telegraf. Influx Telegraf is one of the most used open source agents to collect metrics from sensors and systems. See Telegraf for more information. Make sure you download the version corresponding to your OS.

  3. Download the telegraf_prometheus.conf configuration file from Eyer.

  4. Open the telegraf_prometheus.conf file and navigate to the [[inputs.prometheus]] section. Add the Prometheus endpoints that you want Eyer to monitor.

  5. Navigate to the “Output plugins” section. Insert your Eyer apiTokenPush in the “authenticate” line as seen below

    authenticate = "apiTokenPush"
  6. Save the config.

  7. Register the Telegraf agent as a service and start it (see instructions per OS). With Windows use

    .\telegraf.exe --config "C:\Program Files\InfluxData\telegraf\telegraf_prometheus.conf" service install