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 .
Can I consolidate the results of several tests into 1 result
Yes, you may use advanced mode action with expression like (%FolderCurrent_BadTests%==1)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
You may setup test (e.g. Ping 127.0.0.1) and use "This test depends on expression mode". Set the following options: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
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
Thank you !
Hi Alex,
your hint allowed me to figure it out . Thanks, Peter
your hint allowed me to figure it out . Thanks, Peter