Can I consolidate the results of several tests into 1 result

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
pvdc
Posts: 11
Joined: Wed May 10, 2006 6:25 am
Location: Belgium

Can I consolidate the results of several tests into 1 result

Post by pvdc »

I have several tests on different windowsservices that run on specific servers . These tests are grouped in one subfolder per monitored server . I would like to get one alarmprofile triggered, in case one of those monitored services - in one subfolder - fails . But in case that more than one service fails simultanously, I also want only one alarm to be triggered, per subfolder . Can this be done ? In other words, is it possible to create a kind of parent test that gets it's state from (all) other tests that find themselves in the same subfolder ? So, if any or more tests in a subfolder fail, then the parent test gets bad and triggers the alarm, only once, until all tests are ok again .
I played around with the advanced options and the %FolderCurrent_BadTests% parameter, but this has no influence on the testresult itself, it only deals with (test)conditions . Pls see topic 4227 as well . Thank you, Peter .
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I would like to get one alarmprofile triggered, in case one of those monitored services - in one subfolder - fails . But in case that more than one service fails simultanously, I also want only one alarm to be triggered, per subfolder
...
played around with the advanced options and the %FolderCurrent_BadTests% parameter
Yes, you may use advanced mode action with expression like (%FolderCurrent_BadTests%==1)
In other words, is it possible to create a kind of parent test that gets it's state from (all) other tests that find themselves in the same subfolder ? So, if any or more tests in a subfolder fail, then the parent test gets bad and triggers the alarm, only once, until all tests are ok again
You may setup test (e.g. Ping 127.0.0.1) and use "This test depends on expression mode". Set the following options:
Perform test if (%FolderCurrent_BadTests%==0) or ((%FolderCurrent_BadTests%==1) and ('%SimpleStatus%'=='DOWN'))
Otherwise status: Bad
Synchronize status & alerts: [x]
http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master

Regards
Alex
pvdc
Posts: 11
Joined: Wed May 10, 2006 6:25 am
Location: Belgium

Thank you !

Post by pvdc »

Hi Alex,
your hint allowed me to figure it out . Thanks, Peter
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome

Regards
Alex
Post Reply