InfluxDBAndGrafanaOnRaspberryPi

InfluxDB And Grafana On RaspberryPi

The server:

  • a Raspberry Pi 3 B
  • Four 1.2 GHz CPU & 1 GB RAM

Raspberry Pi running:

  • Ubuntu 18.04.2 plus apt upgrade - for all the newer fixes
  • InfluxDB 1.7.5
    • from Influxdata.com
  • Grafana 6.1.3
    • from Grafana.com
  • Influx client 4.1.1 = python module

= all blog standard, latest releases from the web

Install

OS for Raspberry Pi 3B

InfluxDB 1.7.5

Grafana 6.1.3

Influx client 4.1.1

  • python module
  • sudo apt install python-pip
  • sudo apt install python3-influxdb (don.t forget the .3. for python version 3)

To collect the njmon you will need njmon match the endpoint operating system Also the njmon injector.py python3 program for taking njmon .json files and adding the data to InfluxDB

Either the ssh method or also set up njmon_collector so njmon can directly send the data to the InfluxDB server.

For Alerts - get email working on the Grafana Server (here InfluxDB and Grafana run on the same Server.