christopher.harris

Monitoring all Automatic services on Windows

Discussion created by christopher.harris on Jul 3, 2009
Latest reply on Aug 3, 2009 by christopher.harris
Does anyone have a script or some other method they are using to monitor all services that are configured to start automatically?

We have several hundred servers and they very few of them are configured the same way. I want something I can deploy soon to monitor services until I have time to be more deliberate about how I monitor them.

I'm not opposed to writing a script for this, but I'm not thrilled about distributing it to all of my servers so nexec can run it even when it can't connect to a network share.

I'm considering writing a probe in NSA for this, but I'm not sure how long that will take.

Hmmm... if only there was a PowerShell probe, then I could run this to find all of the services that aren't running:
    Get-WmiObject win32_service | where {$_.startMode -eq "auto"} | where {$_.state -ne "running"}

Thanks,
Chris

Outcomes