Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Error msg starting Telegraf 1.19.0
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Error msg starting Telegraf 1.19.0 (Read 10587 times)
andrema2
Jr. Member
Posts: 96
Karma: 3
Re: Error msg starting Telegraf 1.19.0
«
Reply #15 on:
August 12, 2021, 02:48:35 am »
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
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Error msg starting Telegraf 1.19.0
«
Reply #16 on:
September 03, 2021, 02:46:55 pm »
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?
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
andrema2
Jr. Member
Posts: 96
Karma: 3
Re: Error msg starting Telegraf 1.19.0
«
Reply #17 on:
September 03, 2021, 04:04:12 pm »
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.
Logged
mimugmail
Hero Member
Posts: 6766
Karma: 494
Re: Error msg starting Telegraf 1.19.0
«
Reply #18 on:
September 03, 2021, 05:17:38 pm »
Yep, when merged this will be the default when wheel group checkbox is ticked
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
Print
Pages:
1
[
2
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
Error msg starting Telegraf 1.19.0