Table of Contents

InfluxDB

Description

  1. Install InfluxDB (MyQNAP package) on QNAP (WHITERUN)
  2. Create RPi64 bucket in InfluxDB
  3. Install Raspberry Pi template in InfluxDB
  4. Install InfluxDB repository on RPi64
  5. Install telegraf package on RPi64 (from InfluxDB repository)
  6. Configure telegraf on RPi64 to connect to InfluxDB on QNAP

Steps

InfluxDB Raspberry Pi template installation

  1. Login to InfluxDB
  2. Go to Settings / Templates

InfluxDB repository installation

wget -q https://repos.influxdata.com/influxdata-archive_compat.key
gpg --with-fingerprint --show-keys ./influxdata-archive_compat.key

Output

pub   rsa4096 2023-01-18 [SC] [expires: 2026-01-17]
      9D53 9D90 D332 8DC7 D6C8  D3B9 D8FF 8E1F 7DF8 B07E
uid                      InfluxData Package Signing Key <support@influxdata.com>
cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
echo 'deb [arch=arm64 signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
apt-get update

Repo

telegraf package installation

As root:

apt install telegraf

References