Error msg starting Telegraf 1.19.0

Started by andrema2, July 25, 2021, 02:49:47 PM

Previous topic - Next topic
Quote from: mimugmail on August 07, 2021, 09:34:42 AM
For me it also works only a couple of times, maybe with restaring Unbound or OPN itself
So, I downloaded version 1.19.2 of telegraf. Still no luck. I also added telegraf user to admins group, it didn't change the results.
I'm still trying

I checked back and I got metrics for the last 2 days .. I now added also userprocess "root" for telegraf .. maybe this help. I believe with your multiple tries you were in a state where nothing works?

Hi,

I think I was able to create a workaround. Not the safest one...

in the /usr/local/etc/rc.d/telegraf instead of running the daemon as telegraf user I changed to run with the root user.

I don't have any errors now and the data is being saved on Influx as I wanted.

Still not clear why the telegraf user can't run telegraf on daemon mode, but it's certainly related to it.

Yep, when merged this will be the default when wheel group checkbox is ticked