Raise alert when subset of tests returning errors

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
Wabiloo
Posts: 26
Joined: Thu Jun 05, 2008 12:15 am

Raise alert when subset of tests returning errors

Post by Wabiloo »

I need to create a special test that is dependent on a subset of other tests.
Let me explain...

I have 30 machines and 30 ping tests. I want to raise an alert if 10 or more of the ping tests fail (I don't care which 10 though, it will be different every time).
I would like therefore to create another test that will raise the alert when that happens

Is there a way to do that?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

I think, you may place all these tests into separate folder and use "advanced mode" action with expression like the following:

Code: Select all

(%FolderCurrent_BadTests% >= 10)
Please, read the following article for details: http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction

The list of folder-level macro variables available here: http://www.ks-soft.net/hostmon.eng/mfra ... oldermacro

Regards,
Max
Post Reply