I have been monitoring services on remote systems using WMI to check if any atuostart services have stopped. I have just noticed that these tests have stopped working at some point (but were set to be OK if unavailable for some reason).
I use the following line:
SELECT Name FROM Win32_Service WHERE (Started=0) AND (StartMode='Auto') AND (NAME<>'SysmonLog')
And check if the row count is greater than 0. This has worked perfectly for over a year, not sure why it's not working now?
Any ideas? These are all remote active agents and all other non WMI tests seem ok.
WMI Check for stopped services has stopped working
Nothing in Reply field? If there is some WMI related error, HostMonitor displays error description in this field.
Have you tried WMI Explorer to execute this query (on the same system where RMA is running)?
Also, are you sure test does not work?
If there are no such stopped services, HostMonitor will set status specified for "if instance not available set ..." option and set empty Reply. So if you selected "Unknown" status for this option, Unknown status and empty reply means everything works just fine.
Regards
Alex
Have you tried WMI Explorer to execute this query (on the same system where RMA is running)?
Also, are you sure test does not work?
If there are no such stopped services, HostMonitor will set status specified for "if instance not available set ..." option and set empty Reply. So if you selected "Unknown" status for this option, Unknown status and empty reply means everything works just fine.
Regards
Alex