Add new request type that monitors all Windows Services with a startup type of “Automatic”


Proposed by ReneHezser (http://www.codeplex.com/site/users/view/ReneHezser)

Add a way to monitor the status of all Windows Services that have a startup type of "Automatic"


wheelies wrote Oct 19, 2012 at 10:02 AM

I propose this would work similar to the existing windows-service-status request type (https://www.rightcalc.com/blog/servicemon/request-windows-service-status/)

It could be used in the script like this:
all-automatic-windows-services "localhost" must-equal "AllRunning"
The machine name could be an optional argument. If left out, it assumes local. E.g.
all-automatic-windows-services must-equal "AllRunning"
I suggest that, as a minimum, the response type implements IStringContainer so it can be tested as shown in the example above.

ReneHezser wrote Oct 19, 2012 at 10:09 AM

Sounds good. As soon as I have some time, I'll look into this.

wheelies wrote Oct 19, 2012 at 2:57 PM

I've had a chat with the System Support Manager here at Kaleida to get his opinion and he also believes this would be a useful addition to ServiceMon. I asked him if he could come up with any better names for the request type and he suggested "service-point" or "service-station". I quite like these names because they are a lot shorter than the one I suggested and still seem to work when used in a script.

Here’s the three naming options we have so far, as I imagine they’d be used:
all-automatic-windows-services "localhost" must-equal "AllRunning"

service-point "localhost" must-equal "AllRunning"

service-station "localhost" must-equal "AllRunning"

What do you think of these names René? Which would you choose?

wrote Feb 13, 2013 at 10:37 PM