[ Telegraf ][ 1.23.0.0 ] A server-based agent to collect and send metrics

Discussion on apps, protocols, APIs, specifications, and more. You are welcome to join us as a TOS app developer!
Post Reply
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

[ Telegraf ][ 1.23.0.0 ] A server-based agent to collect and send metrics

Post by outkastm »

Image

About : https://docs.influxdata.com/telegraf

Category: Tools
Applicable models:
TerraMaster x.64 series - last version 1.23.0.0
TerraMaster armv8 series - last version 1.23.0.0
Applicable TOS: 4.1.27 or later versions
App download: https://tmnascommunity.eu/download/telegraf

Required packages:

Module WebUI for additional settings can be accesses at

http(s)://yournasip:port/modules/Telegraf/www

How to manully install this app on TerraMaster application store?

About:

Telegraf, a server-based agent, collects and sends metrics and events from databases, systems, and IoT sensors.
User avatar
maaeel
Posts: 14
Joined: 04 May 2022, 04:17

Re: [ Telegraf ][ 1.22.3.0 ] A server-based agent to collect and send metrics

Post by maaeel »

It works! Very nice, thank you for your effort. I just used template I user all the linux VMs i have and now the disks are reporting correctly, number of prcesses, etc.

The only thing is, that config file was not editable from the Terra OS, had to ssh into the NAS and update /mnt/md0/appdata/MOD_CONFIG/Telegraf/telegraf.conf from there.


Just wondering how easy is to prepare the environment for packaging the apps?
terra-grafana.PNG
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Telegraf ][ 1.22.3.0 ] A server-based agent to collect and send metrics

Post by outkastm »

You cannot modify the config from the menu Configuration Files ?
The difficulty to create a working tpk file depends from app to app. Can take days or weeks.

Image
User avatar
maaeel
Posts: 14
Joined: 04 May 2022, 04:17

Re: [ Telegraf ][ 1.22.3.0 ] A server-based agent to collect and send metrics

Post by maaeel »

That's strange, the "edit config" is completely empty on my system. Not sure if that matters at all but my NAS is ARM version.

I posted it here and the workaround in case anyone else would like to run Telegraf and have this issue. However I can imagine anyone using Telegraf is going to be computer savvy enough to figure it out themselves :)

Thank you very much again for doing this.
User avatar
outkastm
Posts: 1185
Joined: 29 Dec 2020, 23:52

Re: [ Telegraf ][ 1.22.3.0 ] A server-based agent to collect and send metrics

Post by outkastm »

Yes it's related to arm OS, I don't have such device to test all the functions :cry: , but some other arm users have reported also that the config is not loaded in UI
Post Reply