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

%Reply_Integer% is one step behind in "Use warning stat

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports
View previous topic :: View next topic  
Author Message
JuergenF



Joined: 26 Jan 2003
Posts: 330
Location: Germany, North Rhine-Westphalia

PostPosted: Sat Dec 22, 2012 3:03 am    Post subject: %Reply_Integer% is one step behind in "Use warning stat Reply with quote

Hi all,

I use %Reply_Integer% in the "Use warning status if" expression
(%Reply_Integer% > 500)

It's a HTTP test.

The status-switch to warning occurs in the test following the one that is slower than 500 ms. So it looks to me that %Reply_Integer% refers to the "last test result" instead of the "current test result" .

2012-12-22 05:30:46 Host is alive 9125 ms
2012-12-22 05:33:47 Warning 141 ms
2012-12-22 05:36:50 Host is alive 140 ms

2012-12-22 08:17:17 Host is alive 328 ms
2012-12-22 08:20:26 Host is alive 4844 ms
2012-12-22 08:23:29 Warning 281 ms
2012-12-22 08:26:31 Host is alive 344 ms

Can you please check that.
HM 9.30

Thanks

Juergen
Back to top
View user's profile Send private message
JuergenF



Joined: 26 Jan 2003
Posts: 330
Location: Germany, North Rhine-Westphalia

PostPosted: Sat Dec 22, 2012 3:40 am    Post subject: Reply with quote

Sorry


The following variables may be used in the expressions that define Normal and Warning statuses (see Optional status processing section of the manual).

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



Joined: 03 Apr 2002
Posts: 11782
Location: USA

PostPosted: Sat Dec 22, 2012 3:40 pm    Post subject: Reply with quote

Yes, this is correct behavior.
Quote from the manual
--------------
IMPORTANT note: HostMonitor checks logical expressions after test check is done and "reverse alert" option is processed.
I.e.
- HostMonitor performs the test;
- processes "Reverse alert" option;
- sets "suggested" macro variables (%SuggestedStatus%, %SuggestedSimpleStatus%, %SuggestedReply%, %SuggestedRecurrences% and %FailureIteration%) without touching regular counters (%Status%, %Reply%, %Recurrences%, etc);
- then HostMonitor checks "Warning" and "Normal" expressions, processes "Tune up Reply" option and finally modifies current test status and statistisc counters (Status, Reply, Alive%, Passed tests, Failed tests, etc).
--------------

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports 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