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?
Raise alert when subset of tests returning errors
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
I think, you may place all these tests into separate folder and use "advanced mode" action with expression like the following:
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
Code: Select all
(%FolderCurrent_BadTests% >= 10)
The list of folder-level macro variables available here: http://www.ks-soft.net/hostmon.eng/mfra ... oldermacro
Regards,
Max