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
I expected to see a second service to show up that is using the "telegraf-2" service name
Actual behavior:
I receive the following error:
2019/04/15 19:07:17 E! Failed to install Telegraf Data Collector Service: The name is already in use as either a service name or a service display name.
In this case the display name is the duplicate value.
Additional info:
I see in the telegraf.go file (https://github.com/influxdata/telegraf/blob/master/cmd/telegraf/telegraf.go) that on line 348, that the DisplayName value is hard coded to always be "Telegraf Data Collector Service", I would hope that it is easy enough to add an additional flag.string ~line 62 for fDisplayName and change the referenced DisplayName on line 348 from "Telegraf Data Collector Service" to "*fDisplayName"
The text was updated successfully, but these errors were encountered:
Sorry, I am going to sound really bad, but I am new to GitHub so it might take me a while to figure out how to use go and dep on a windows environment and figure out the proper processes of submitting such code updates to later release versions. But I will try unless you have a quick guide handy to help to newbies dive in.
It might be helpful to look at the appveyor script since it sets up everything from scratch on Windows. If you don't have time though no worries, we can still make sure it gets done.
System info:
Windows Server 2008R2
Steps to reproduce:
"telegraf.exe --config "C:\Program Files\telegraf\telegraf-cluster.conf" --service install --service-name telegraf-2",
Expected behavior:
I expected to see a second service to show up that is using the "telegraf-2" service name
Actual behavior:
I receive the following error:
2019/04/15 19:07:17 E! Failed to install Telegraf Data Collector Service: The name is already in use as either a service name or a service display name.
In this case the display name is the duplicate value.
Additional info:
I see in the telegraf.go file (https://github.com/influxdata/telegraf/blob/master/cmd/telegraf/telegraf.go) that on line 348, that the DisplayName value is hard coded to always be "Telegraf Data Collector Service", I would hope that it is easy enough to add an additional flag.string ~line 62 for fDisplayName and change the referenced DisplayName on line 348 from "Telegraf Data Collector Service" to "*fDisplayName"
The text was updated successfully, but these errors were encountered: