-
Notifications
You must be signed in to change notification settings - Fork 675
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
Read configuration from file #233
Comments
Hi @petemounce, As a side-note, why are you running under nssm? The exporter supports running as a service natively, so you don't have to (but you might have some other reasons such as uniformity of deployment with other services?). |
re: flags over file - ok. re: nssm -
re: re:
|
Yep, since WMI requires such high privileges, it didn't seem to add much value to use a separate administrative service account. It wouldn't be a major change if there is a use-case, though. Ok. If you want to keep the defaults turned on and just add a few more, you can use the It should work with the second one there, having a single argument with the patterns separated by OR... Odd. (And it is the exact same approach on the process collector, btw) |
I naively started with "let's not give it LOCALSYSTEM or admin" and see if it works, then added the other two re: re: query - neither worked, am confused. I'll try again, I might have tried while also changing the groups setup without realising. |
Would it be reasonable to extend this excellent app to let it read configuration from a file? I'm setting it up for the first time, running it via NSSM, and finding that the service declaration with various flags and per-process filters is quite long. My own is:
I was thinking along the lines of TOML via https://github.com/toml-lang/toml
The text was updated successfully, but these errors were encountered: