I've successfully compiled the Telegraf agent on the RC-AC68U. I wrote a quick post about it here
TL;DR
opkg install go_nohf
opkg install git-http
opkg install file
cd /tmp/mnt/sda1/
mkdir telegraf
git clone https://github.com/influxdata/telegraf.git
opkg install make
export PATH=$PATH:/opt/bin/go/bin
export GOROOT=/opt/bin/go
mkdir /tmp/mnt/sda1/gopath
export GOPATH=/tmp/mnt/sda1/gopath/
dd if=/dev/zero of=/tmp/mnt/sda1/swapfile bs=1024 count=1048576
mkswap /tmp/mnt/sda1/swapfile
swapon /tmp/mnt/sda1/swapfile
mkdir /tmp/mnt/sda1/gotmp
export TMPDIR=/tmp/mnt/sda1/gotmp
mkdir /tmp/mnt/sda1/gocache
export GOCACHE=/tmp/mnt/sda1/gocache/
export LDFLAGS="-X main.version=1.16.1"
make telegraf
Monitoring the Asus RT-AC68U with the Telegraf agent Grafana and InfluxDB
After completing the installation of Influxdb and Grafana, I wanted to capture metrics from my ASUS RT-AC68U router. The first option I…
jswheeler.medium.com
TL;DR
opkg install go_nohf
opkg install git-http
opkg install file
cd /tmp/mnt/sda1/
mkdir telegraf
git clone https://github.com/influxdata/telegraf.git
opkg install make
export PATH=$PATH:/opt/bin/go/bin
export GOROOT=/opt/bin/go
mkdir /tmp/mnt/sda1/gopath
export GOPATH=/tmp/mnt/sda1/gopath/
dd if=/dev/zero of=/tmp/mnt/sda1/swapfile bs=1024 count=1048576
mkswap /tmp/mnt/sda1/swapfile
swapon /tmp/mnt/sda1/swapfile
mkdir /tmp/mnt/sda1/gotmp
export TMPDIR=/tmp/mnt/sda1/gotmp
mkdir /tmp/mnt/sda1/gocache
export GOCACHE=/tmp/mnt/sda1/gocache/
export LDFLAGS="-X main.version=1.16.1"
make telegraf