|
View previous topic :: View next topic |
Author |
Message |
pvdc
Joined: 10 May 2006 Posts: 11 Location: Belgium
|
Posted: Wed Sep 05, 2007 9:14 am Post subject: Can I consolidate the results of several tests into 1 result |
|
|
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 . |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12793 Location: USA
|
Posted: Wed Sep 05, 2007 11:19 am Post subject: |
|
|
Quote: | 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)
Quote: | 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/mframe.htm#tests.htm#Master
Regards
Alex |
|
Back to top |
|
|
pvdc
Joined: 10 May 2006 Posts: 11 Location: Belgium
|
Posted: Thu Sep 06, 2007 4:23 am Post subject: Thank you ! |
|
|
Hi Alex,
your hint allowed me to figure it out . Thanks, Peter |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12793 Location: USA
|
Posted: Thu Sep 06, 2007 12:24 pm Post subject: |
|
|
You are welcome
Regards
Alex |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|