telegraf icon indicating copy to clipboard operation
telegraf copied to clipboard

Win_services: case sensitive in service names

Open sbuldakov opened this issue 4 years ago • 1 comments

Hi all,

I've just met with strange (from point of view of administrator of windows systems) behavior of win_services input plugin. If I'm using capitalization that differ from service name win_services plugin can't find out this service.

For example, Get-Service "iisadmin" and Get-Service "IISADMIN" give equal result. But win_service can find out only last service.

sbuldakov avatar Feb 03 '21 18:02 sbuldakov

Hi,

The Windows services are looked up using Go's windows services tools. There may not be anything Telegraf can even do about this, but the next step would be to confirm that this is how the library works and if there are any other options there.

Thanks

powersj avatar Mar 31 '22 20:03 powersj

@sbuldakov can you please test the binary in #14684, available once CI finished the build!? Let me know if this solves your request!

srebhan avatar Feb 05 '24 17:02 srebhan