Reset of counters when service ist restarted

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Reset of counters when service ist restarted

Post by thomasschmeidl »

HM 6.74 running as Service on WS2003

When the service is restarted, some test variables/counters obviously are reset, whereas others keep their value, e.g:
%Recurrences% keeps its value
%FailureIteration% is reset

As the expressions used to determine "Warning"- and "Normal" Status use %FailureIteration%, tests will fall back to "Normal" or "Warning" when the service is restarted and have to be acknowledged again.

It would be helpful for me to get a list of those counters that will not be reset when the service is restarted. Where are these counters stored?

Thanks in advance

Thomas
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Its not a bug, however... may be you are right and some counters should not be resetted.
It would be helpful for me to get a list of those counters that will not be reset when the service is restarted. Where are these counters stored?
Test related information stored in HML file.

Regards
Alex
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

Thanks for prompt reply, Alex

I didn't want to report a bug.

But for redesigning my "warning"-expressions I would ask you to tell me WHICH counters are stored in hml-file.

Thanks in advance

Thomas
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Every counter is stored except the following
%CurrentStatusIteration%
%SuggestedStatus%
%SuggestedSimpleStatus%
%SuggestedReply%
%SuggestedRecurrences%
%FailureIteration%
+ test specific variables are not stored
%TraceBrief%
%TraceFull%
%HttpPage%
%HttpHeader%
%HttpCode%
%DnsResults%
%TrapHost%
%TrapType%
etc

Regards
Alex
thomasschmeidl
Posts: 166
Joined: Sat Apr 15, 2006 2:14 pm
Location: Germany, Bavaria

Post by thomasschmeidl »

Thanks for this information, Alex,

we successfully corrected all expressions with %CurrentStatusIteration% and %FailureIteration% and everything works fine.

PROPOSAL/WISH: I think it makes sense to give the information above in the manual (or add the counters to the hml-file)

Regards

Thomas
Post Reply