newrelic / nri-winservices

Windows services Integration for New Relic Infrastructure
Apache License 2.0
8 stars 8 forks source link

feat: Added account info for winservice #29

Closed paologallinaharbur closed 4 years ago

paologallinaharbur commented 4 years ago

Adding info regarding run_as for windows service

Account name under which a service runs. Depending on the service type, the account name may be in the form of DomainName/Username or UPN format (Username@DomainName).

It corresponds to the StartName attribute of the Win32_Service class. StartName attribute can be NULL and in such case the label is reported as an empty string. Notice that if the attribute is NULL the service is logged on as the LocalSystem account or, for kernel or system-level drive, it runs with a default object name created by the I/O system based on the service name, for example, DWDOM/Admin.