Can any test check multiple services as part of one test?

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Gavin
Posts: 58
Joined: Thu Sep 24, 2009 8:44 am

Can any test check multiple services as part of one test?

Post by Gavin »

I can't see any way to do this in the current service check. For example, I'd like to check all BackupExec services are running on a server, of which it has 6 services. 6 individual tests seems like a waste of time for configuration and I'd rather have them as one service and when it fails it simply inserts the service that failed into the reply value.

Any options available?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You may use WMI test to check State of all 6 Services using one WMI query.
Query may look like the following:
Select Caption from Win32_Service WHERE (Caption like "Backup Exec%") and (State<>"Running")
WMI test settings:
Alert if: row count is > than 0
In instance is not available, set Ok status
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

P.S.
This WMI test will only show number of services that are not started.
If you want to see name of stopped service, you will need to use Shell Script or Active Script test method with custom made script.

Please check for details at:
Shell Script test method: http://www.ks-soft.net/hostmon.eng/mfra ... m#chkShell
Active Script test method: http://www.ks-soft.net/hostmon.eng/mfra ... htm#script
AlexL
Posts: 62
Joined: Tue Jul 18, 2006 9:56 am
Location: Switzerland

Re: Can any test check multiple services as part of one test

Post by AlexL »

Post Reply