Quick Log

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
AndJ
Posts: 3
Joined: Thu Jun 17, 2010 3:01 am

Quick Log

Post by AndJ »

Hi there, the Quick Log which from the manual "displays last 10 events for selected test or 50 events for selected folder " is reset when we don't use append mode for importing ( in script ). If we use append, the Quick Log retains its "history". How does the Quick Log gets/save its data, are there any way to get around this so that the Quick Log retains its data even if we do not use append mode?

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

Post by KS-Soft »

Sorry, I don't understand the problem. "we don't use append mode for importing"... Then what exactly do you use?
Do you import test settings from text file? Then Quick Log records for "old" test items disappear?

Regards
Alex
AndJ
Posts: 3
Joined: Thu Jun 17, 2010 3:01 am

Post by AndJ »

Yes thats correct. We import them from a textfile.

This combination retains the Quick Log:
LoadTestList
ImportFromFile
SaveTestList

However this does not ( same tests ):
NewTestList
ImportFromFile
SaveTestList

Are there any way to use the second option presented here, and still retain the Quick Log? ( Since the tests are the same. )

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

Post by KS-Soft »

If you create new test list, how it can contain some log records? Its new list, it cannot have any history.
Log shows you information about tests that were performed. If you create new list and new test items, there is no history yet.

Regards
Alex
AndJ
Posts: 3
Joined: Thu Jun 17, 2010 3:01 am

Post by AndJ »

Yes, I see your point.
When we make a change in the textfile to one test and then import it ( not using NewTestList ) then what happens is that we get 2 tests. The original, and a copy of the original with the change. We would like to avoid this using NewTestList. And in some way, still retain the Quick Log history, since the tests ( by testname ) are the same.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

If you use import function to change test settings, then you should use "Modify" import mode.
Just insert "ImportMode=Modify" line before test settings.
Quote
=====================
- ImportMode = Add - in this mode HostMonitor adds new tests to the list; prompts for confirmation when the test with specified name already exists within the list (in any folder). This mode is used by default as it conforms with the behavior of previous versions of HostMonitor (version 4.30 or earlier);

- ImportMode = Modify - in this mode application adds new test if the test with specified name doesn't exist in the folder. Otherwise, HostMonitor replaces the test settings by those provided in the imported file. Statistical information (dead ratio, alive ratio, etc) is kept intact;

- ImportMode = Replace - adds new test if the test with provided name doesn't exist in the specified folder. Otherwise, HostMonitor replaces the test settings with the settings that are specified in the imported file and resets all statistical information (similar to the effect of complete removing of an old test and then creating the new one instead.
=====================

Regards
Alex
Post Reply