Telegraf on mipsel_24kc

Hi,

I use OpenWRT on Xiaomi Redmi Router AC2100 :

root@farpoint:~# cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='21.02.1'
DISTRIB_REVISION='r16325-88151b8303'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 21.02.1 r16325-88151b8303'
DISTRIB_TAINTS=''

I would like to upgrade my influxDB instance to InfluxDB2 without support of collectD. It's a good moment to try telegraf for OpenWRT ! But I have an issue:

root@farpoint:~# wget https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/packages/telegraf-full_1.21.2-1_mipsel_24kc.ipk
root@farpoint:~# opkg install telegraf_1.21.2-1_mipsel_24kc.ipk

Package telegraf (1.21.2-1) installed in root is up to date.
root@farpoint:~# telegraf  --test
Error relocating /usr/bin/telegraf: __nanosleep_time64: symbol not found

mipsel_24kc is it the good version ?

  • it was already installed
  • why are you not using the opkg update and opkg install telegraf commands?
  • using this will ensure the correct telegraf for your CPU is installed

The problem:

The possible root cause:

You are trying to install a snapshot package on a 21.02.1 image.

1 Like

Yes, it's seems that... But isn't there any backport on 21.02 branch...