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
Would it be possible to collect info about the auto-start setting for the service (like auto/manual/disabled)?
And how about uptime for the service?
As for the config, for the first iteration I recommend not including the services.state filter. I'd like to see if it's really necessary. We have the drop_event filter that could be used instead.
Yes that is possible. You have QueryServiceConfig and QueryConfigService2 which deliver you detailed information about a service. However this requires to open every service you get and call one of these functions. The uptime you can get with the ProcessId. With this ID you can call OpenProcess. With the returned handle you can call GetProcessTimes
Because there are some requests for having a collector for windows services, i have decided to create a new metricset. Config would look like this
With state option you can decide which services you would to like to collect. This option is optional and has
all
as default value.Here is an output example
The text was updated successfully, but these errors were encountered: