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

non-typical test

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



Joined: 06 Jul 2005
Posts: 47
Location: Russia

PostPosted: Thu Nov 17, 2005 5:27 pm    Post subject: non-typical test Reply with quote

There are three external tests. Their "Bad status" action profile: Start when 2 consecutive Bad results occur, Repeat 1 times (standard mode). Their "Good status" action profile: Start when 2 consecutive Good results occur, Repeat 1 times, Action depends on "bad" one (reference to "Bad status" action profile).
Other test is necessary. If have started "Bad status" action for ALL three above described tests then play sound "dead.wav" 1 time. If after that has started "Good status" action even for ONE test then play sound "alive.wav" 1 time.
How to create such test? Help, please me.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Nov 17, 2005 9:26 pm    Post subject: Reply with quote

Quote:
If have started "Bad status" action for ALL three above described tests then play sound "dead.wav"


Add "advanced mode" action into profile. Use expression like ('%::Test1::SimpleStatus%'=='DOWN') and ('%::Test2::SimpleStatus%'=='DOWN') and ('%::Test3::SimpleStatus%'=='DOWN') and
(%Rettries%==2) and (%::Test1::Rettries%>1) and (%::Test2::Rettries%>1) and (%::Test3::Rettries%>1) and

Quote:
If after that has started "Good status" action even for ONE test then play sound "alive.wav" 1 time


I don't see how this can be configured "Advanced" actions cannot depend on previously started actions...

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



Joined: 06 Jul 2005
Posts: 47
Location: Russia

PostPosted: Thu Nov 17, 2005 11:19 pm    Post subject: Reply with quote

%Rettries% ??? I can't find it in manual. May be is %Recurrences% ?
What kind test use for this action?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Nov 18, 2005 12:51 am    Post subject: Reply with quote

Yes, Recurrences. Sorry for mistake.
I thought you don't need any test. You said you need play sound actions.

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



Joined: 06 Jul 2005
Posts: 47
Location: Russia

PostPosted: Sun Nov 20, 2005 12:35 am    Post subject: Reply with quote

KS-Soft wrote:

Quote:
If after that has started "Good status" action even for ONE test then play sound "alive.wav" 1 time

I don't see how this can be configured "Advanced" actions cannot depend on previously started actions...


I adding play sound "alive.wav" action into "Good status" action profile:
(('%::Test1::SimpleStatus%'=='UP') or ('%::Test2::SimpleStatus%'=='UP') or ('%::Test3::SimpleStatus%'=='UP')) and (%Recurrences%==2)

Thanks
Igor
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sun Nov 20, 2005 12:23 pm    Post subject: Reply with quote

This action can be started even if "Bad" action was not started
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