Reset count of Recurrence?

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
fve
Posts: 98
Joined: Sun Apr 27, 2008 11:25 am
Location: Denmark

Reset count of Recurrence?

Post by fve »

Simple maybe, how to reset the count of Recurrence?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Recurrences counter tells HostMonitor when and what action should be started. So its better do not reset this counter unless you really understand what it means. If you do understand, you may use HM Script and ResetRecurrencesTest command
www.ks-soft.net/hostmon.eng/mframe.htm# ... #actScript
Also you may play with "Reset Recurrences..." options located on "Behavior" page in the "Options" dialog. E.g. you may setup HostMonitor to reset recurrences after test parameters modification.

Regards,
Max
fve
Posts: 98
Joined: Sun Apr 27, 2008 11:25 am
Location: Denmark

Post by fve »

Hi
Yes but how to fire the script outside the "behaver option".

I want to make a clean reset of all statistical in my test case, before going to production with it. If you understand.

I had hoped it just was possible to execute the hms script.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You may use "HM Script" and "ResetRecurrencesAll" command: http://www.ks-soft.net/hostmon.eng/mfra ... #actScript

In particular, you should create simple file with .hms extension, and place the following lines into this file:

Code: Select all

SetCurrentFolder \
IncludeSubfolders yes 
ResetRecurrencesAll

After that you may use menu "File" -> "Execute script.." to execute foregoing .hms script file.

Regards,
Max
fve
Posts: 98
Joined: Sun Apr 27, 2008 11:25 am
Location: Denmark

Post by fve »

Thanks for information.

I know why I have problem with it, I use a RCC to connect

Thanks again for the help!
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

fve wrote:I know why I have problem with it, I use a RCC to connect
Yes, RCC does not provide such functionality. You may use built-in "Scheduler" ("Options" -> "Scheduler") to execute some action profile with "HMS script" action. http://www.ks-soft.net/hostmon.eng/mfra ... #SchedPage

Regards,
Max
Post Reply