KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Can I consolidate the results of several tests into 1 result

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
pvdc



Joined: 10 May 2006
Posts: 11
Location: Belgium

PostPosted: Wed Sep 05, 2007 9:14 am    Post subject: Can I consolidate the results of several tests into 1 result Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Sep 05, 2007 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
pvdc



Joined: 10 May 2006
Posts: 11
Location: Belgium

PostPosted: Thu Sep 06, 2007 4:23 am    Post subject: Thank you ! Reply with quote

Hi Alex,
your hint allowed me to figure it out . Thanks, Peter
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Sep 06, 2007 12:24 pm    Post subject: Reply with quote

You are welcome

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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

KS-Soft Forum Index