You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is just the default for the plugin, and should be set from config after creation. Missing toml tags might be problematic. Are you seeing any problems changing the default?
I've tried with several values of restart_delay (by default set to 10s), but the value gets ignored and the executable restarts after 10s.
I had a look in the code, and personally I didn't find any reference to the value defined in the telegraf configuration (but I'm not so good at GO yet)
A sample conf section
[[inputs.execd]]
## use bat filecommand = ['C:\Users\gluisotto\Desktop\test_Telegraf\StartPrintrandom.bat']
signal = "none"restart_delay = "25s"data_format = "influx"
In case of error, this is what I get in the log:
2020-07-20T14:52:21Z I! Process [C:\Users\gluisotto\Desktop\test_Telegraf\StartPrintrandom.bat] terminated: %!s(<nil>)
2020-07-20T14:52:21Z I! Restarting in 10s...
In the execd input plugin, the configuration parameter restart_delay is not used, and a fixed value of 10 seconds is used.
see row below:
telegraf/plugins/inputs/execd/execd.go
Line 159 in ef262b1
The text was updated successfully, but these errors were encountered: