-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] windows, can not add config-directory with "-service install" #1797
Comments
dupe of #1137 |
I'm not sure this is the same problem. With version previous 1.0.0, I was using "nssm" and telegraf.d was "working". Files inside were read. But we can only declare one of each input. About this bug, no file inside telegraf.d are readen. In fact, "-config-directory" is not set on the command line. |
Whilst annoying, it's reasonably trivial to work around this by using sc.exe to update the the service binPath following installing with
It's also worth noting that whilst https://github.com/cosmopetrich/telegraf/commit/fa8f9b534e23220da16f4bfe80417a341d892721 adds the ability to use the |
Well done @davestephens Just replace With the default installation dir :
So, with the right way for quotes :
|
Isn't this bug fixed by #2330 ? |
Hi,
"-service install" does not install the service with "-config-directory c:\program files\telegraf\telegraf.d" even if we specify it during "service install"
I'm running telegraf 1.0.0 on windows 2012R2
To reproduce, just add the service as written in the documentation and check "path to executable" on windows service.
Regards
The text was updated successfully, but these errors were encountered: