How to setup individual tests to trip master alert

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
jimholcomb
Posts: 13
Joined: Wed Jul 25, 2007 12:12 pm

How to setup individual tests to trip master alert

Post by jimholcomb »

I want to setup approximately 50 tests and if any ONE of those fails I want to trip the master alert.

The specific example is I want to test some 50 folders for files that are more than 60 minutes old. If there are any failures I want to send 1 alert, not 50.

The directory structure is already in place and isn't setup to easily do one test that reads all subfolders, and I can't change what's already in place.

Is there any way to set this up?

Thanks,
Jim
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If these sub-directories do not belong to single folder, then yes - you should create several test items.
I think you may group all these tests into single folder (HostMonitor's folder) and assign alert profile with "advanced mode" action. You may use expression like %FolderCurrent_BadTests%==1 for this action

Regards
Alex
jimholcomb
Posts: 13
Joined: Wed Jul 25, 2007 12:12 pm

Post by jimholcomb »

That doesn't quite do what I want using an alert profile, but it's put me on the right track using active script and the %FolderCurrent_BadTests% macro.

Thanks,
Jim
Post Reply