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

help

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



Joined: 27 Apr 2006
Posts: 55

PostPosted: Fri Aug 27, 2010 2:44 am    Post subject: help Reply with quote

hi!
I can't find a way to do this,help me please:
At the first hour when both of two ping tests are bad, I think it ok and only send alarm. If this lasts for more time, I think it bad and begin to statistac bad time.
I made a new test depends on those two ping tests dead, but when using "normal status" for first hour ,"suggestedstatus" do not work correctly.

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



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Fri Aug 27, 2010 11:08 am    Post subject: Reply with quote

Quote:
At the first hour when both of two ping tests are bad, I think it ok and only send alarm. If this lasts for more time, I think it bad and begin to statistac bad time.

Not sure I understand you.
Do you want to see Bad status when host does not respond and start Bad actions but calculate statistics like test has "Ok" status?? This is impossible

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



Joined: 27 Apr 2006
Posts: 55

PostPosted: Sun Aug 29, 2010 10:34 pm    Post subject: sorry for my poor English Reply with quote

there are two hosts. what I want is:
when HM found that both two hosts do not respond , at the first hour, I want to see "ok" or "normal" status. if these two hosts do not respond over 1 hour, I want to see bad status. statistics just the same as status above.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Mon Aug 30, 2010 1:40 pm    Post subject: Reply with quote

You may use "Use Normal status" option and %FailureIteration% variable in expression. E.g. if test is performed every 3 minutes, you may use expression like %FailureIteration%<20

Question is: what status do you want to set when just 1 of these 2 hosts does not respond?

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



Joined: 27 Apr 2006
Posts: 55

PostPosted: Mon Aug 30, 2010 7:37 pm    Post subject: Reply with quote

KS-Soft wrote:
Question is: what status do you want to set when just 1 of these 2 hosts does not respond?

I think everything is ok.

KS-Soft wrote:
You may use "Use Normal status" option and %FailureIteration% variable in expression. E.g. if test is performed every 3 minutes, you may use expression like %FailureIteration%<20

I create a new test which ping a ip address doesn't exist (127.0.0.0) ,depends on those two hosts "dead" status, "Use Normal status" and "%FailureIteration%<20". It seems alright at first, but when this new test's status changes from bad to ok, "%FailureIteration%"variable doesn't reset. Then when both of two hosts do not response again, "Use Normal status" and "%FailureIteration%<20" do not work correctly.
How should I do?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Tue Aug 31, 2010 11:19 am    Post subject: Reply with quote

Question is: what status do you want to set when just 1 of these 2 hosts does not respond?
Probably you don't need 3rd dependant test at all?

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



Joined: 27 Apr 2006
Posts: 55

PostPosted: Tue Aug 31, 2010 8:49 pm    Post subject: Reply with quote

KS-Soft wrote:
Question is: what status do you want to set when just 1 of these 2 hosts does not respond?
Probably you don't need 3rd dependant test at all?

Regards
Alex

I want to set "ok" status. and I need to calculate statistics every month.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Wed Sep 01, 2010 4:09 pm    Post subject: Reply with quote

Then I think you may accomplish this without using additional dependant test item.
E.g. if you have TestA and TestB then you may use the following expressions:

TestA) Use Normal status if ('%SuggestedSimpleStatus%'=='DOWN') and (('%FailureIteration%'<20) or ('%::TestB::FailureIteration%'<20))

TestB) ('%SuggestedSimpleStatus%'=='DOWN') and (('%FailureIteration%'<20) or ('%::TestA::FailureIteration%'<20))

Note: you may need to change 20 to some other number depending on test execution frequency

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



Joined: 27 Apr 2006
Posts: 55

PostPosted: Thu Sep 02, 2010 1:54 am    Post subject: Reply with quote

perfect!
thank you very much!
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Thu Sep 02, 2010 1:43 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