Windows Services - Monitor all services with startup type "Automatic"

Started by DIS, October 17, 2014, 12:42:31 PM

Previous topic - Next topic

DIS

Dear Forum,

another nice check would be monitoring all services with startup type "Automatic" and if one of them is stopped, a warning message with the affected service should be generated.  ;D

Alex Kirhenshtein

You can use PowerShell script as external parameter for that (or query WMI directly using WMI subagent):Get-WmiObject Win32_Service | Where-Object {$_.StartMode -eq 'Auto' -and $_.State -ne 'Running'} | Measure-Object | Foreach { $_.Count }