opserver / Opserver

Stack Exchange's Monitoring System
https://opserver.github.io/Opserver/
MIT License
4.5k stars 827 forks source link

Support for Windows Services - request for feedback #292

Closed KennethScott closed 6 years ago

KennethScott commented 6 years ago

I recently added support for inquiring on the current state of Windows Services (Win32_Services) via the WMI provider and I was wondering what kind of interest there might be in it.

I basically added a new Windows Services partial view underneath the Interfaces. You control which services are monitored via a new DashboardSettings property that can be specified at the global, category, or perNodeSettings levels. The property itself is literally the WQL WHERE clause you want to use to select the services (i.e. 'Name = 'W3SVC').

This is what it looks like: Screenshot

Next I'll try to add buttons in the view to allow you to Stop/Start the individual services.

And I'm also considering adding something to the dashboard to show the number of running/stopped services for the node.

Ultimately I'd love to add support for alerts, but let's not get carried away. :)

Is this something you'd consider merging in? Are others interested in this?

djlaney3 commented 6 years ago

I'd like to see that for sure.

omukwenyi commented 6 years ago

Yeah. Most definitely.

NickCraver commented 6 years ago

Closing this out to cleanup - it'll land shortly in #293, thanks for the feedback and the contribution!