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

Is there a way to make a test run to check all other tests?

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



Joined: 09 Aug 2004
Posts: 28

PostPosted: Mon Sep 27, 2004 8:09 am    Post subject: Is there a way to make a test run to check all other tests? Reply with quote

For example, if I have 30 file availability tests and one of them fails (goes to "Bad") to have a test run and send an alert if this happens?

What I am trying to do is to be able to have an alert for a bad status but not have 30 alerts if all 30 test fail. That way I can have the one alert sent to notifiy the administrators and they would just be able to log into the system and check hostmonitor to determine which file test failed. By doing this I can save us from having 30 or more alerts sent out every night if all 30 test fail.

Is this sort of thing possible? Sort of a test on a group of tests.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Sep 27, 2004 1:11 pm    Post subject: Reply with quote

Possible solution - use "advanced mode" action. But you have 30 tests, it will be huge expressions. Somethinkg like "('%::Test1::SimpleStatus%'=='DOWN') and (%::Test1::Recurrences%==1) and ('%::Test2::SimpleStatus%'=='DOWN') and (%::Test2::Recurrences%==1) and ('%::Test3::SimpleStatus%'=='DOWN') and (%::Test3::Recurrences%==1) and .... and ('%::Test30::SimpleStatus%'=='DOWN') and (%::Test30::Recurrences%==1)"

Another solution - use HM Script action to disable/enable test items...

H'm... may be we should implement some statistical macro variables... like %FolderBadTests%, %FolderBadRecurrences%... that could be used as expression for "advanced mode" action...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Flashback



Joined: 27 Oct 2002
Posts: 37

PostPosted: Mon Sep 27, 2004 3:08 pm    Post subject: Reply with quote

Those statistical variables for folders would be quite useful to me.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Mon Sep 27, 2004 6:42 pm    Post subject: Reply with quote

I have added new task into "to do" list...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
grahamr



Joined: 22 Jun 2006
Posts: 17
Location: LAX

PostPosted: Tue Aug 08, 2006 9:36 am    Post subject: Did the stat macro vars ever get implemented? Reply with quote

The post from 2002 suggests that this would be implemented. Are these variables available in version 5.92?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Aug 08, 2006 9:45 am    Post subject: Reply with quote

A while ago we have implemented the following variables:
%HM_RccSessions% - represents number of active RCC sessions
%HM_TestListFile% - name of the TestList file being used
%HM_TestsPerformed% - number of tests performed since startup
%HM_TotalTestItems% - total number of test items (in loaded file)
%HM_GoodItems% - number of tests with "Good" status
%HM_BadItems% - number of tests with "Bad" status
%HM_UnknownItems% - number of tests with "Unknown" status
%HM_AckBadItems% - number of "Bad" acknowledged test items
%HM_AckUnknItems% - number of "Unknown" acknowledged test items

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
grahamr



Joined: 22 Jun 2006
Posts: 17
Location: LAX

PostPosted: Tue Aug 08, 2006 11:14 am    Post subject: Folder of good tests Reply with quote

So the %FolderTestsGood% hasn't been implemented?

Basically, I would like to setup expressions that force tests to wait if a certain percentage of tests from another folder fail.

An expression like this would help me:

('%::FolderWithTests::FolderTestsGood::%'>"4") or something like that...

Is there anything like that going to be available soon?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Aug 08, 2006 1:36 pm    Post subject: Reply with quote

Ok, there is update at www.ks-soft.net/download/hm612.zip
5 new variables have been added:
%FolderCurrent_GoodTests%
%FolderCurrent_BadTests%
%FolderCurrent_UnknownTests%
%FolderCurrent_AcknowledgedBad%
%FolderCurrent_AcknowledgedUnknown%
If you create a test and configure action profile using these variables, HostMonitor will calculate counters for the folder that contains the test.

Please install version 6.10 before applying this update.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
grahamr



Joined: 22 Jun 2006
Posts: 17
Location: LAX

PostPosted: Tue Nov 21, 2006 7:59 pm    Post subject: Reply with quote

Is it not possible to specify which folder?
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Wed Nov 22, 2006 1:38 am    Post subject: Reply with quote

grahamr wrote:
Is it not possible to specify which folder?

You may use foregoing variables as parameters of action. So, they are applied to the current folder, where located the test, that triggers this certain action.

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
grahamr



Joined: 22 Jun 2006
Posts: 17
Location: LAX

PostPosted: Wed Nov 22, 2006 5:21 pm    Post subject: Reply with quote

I'm not exactly clear on what that means. Can you rephrase it for me?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Nov 22, 2006 6:25 pm    Post subject: Reply with quote

Variables provide information about parent folder - folder that contains test item that triggered alert.
You may put test into any folder you need.

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