Export / Import
Alex,
Thanks for the export feature. I just did an export of current folder and subfolders and saw that it indicated the folders in the export file but then when I imported, it didn't use any of them
Also the tests are all failing that I exported and immediately re-imported into a new HML. I will try to figure out why and then let you know what I find.
joe
Thanks for the export feature. I just did an export of current folder and subfolders and saw that it indicated the folders in the export file but then when I imported, it didn't use any of them
Also the tests are all failing that I exported and immediately re-imported into a new HML. I will try to figure out why and then let you know what I find.
joe
>Also the tests are all failing that I exported and immediately re-imported into a new HML. I will try to figure out why and then let you know what I find.
Problem fixed (HM worked incorrectly with "Reverse Alert" option). Please, try patch at http://www.ks-soft.net/download/hm331.zip
>I just did an export of current folder and subfolders and saw that it indicated the folders in the export file but then when I imported, it didn't use any of them
HostMonitor puts folder names into export file just for comments. Import utility imports all tests into current folder. In future import utility will be improved.
Regards
Alex
Problem fixed (HM worked incorrectly with "Reverse Alert" option). Please, try patch at http://www.ks-soft.net/download/hm331.zip
>I just did an export of current folder and subfolders and saw that it indicated the folders in the export file but then when I imported, it didn't use any of them
HostMonitor puts folder names into export file just for comments. Import utility imports all tests into current folder. In future import utility will be improved.
Regards
Alex
Thanks for the "reverse action" fix. I noticed that if I have an NT service dependant on another NT service, and I try to export and import it, those dependant services will say "Unknown test name in line #X" - yet something such as a perf counter will retain this information (it's the same dependancy)
Basically, I'm making the lanmanserver service dependant on ping, and I'm making all other services dependant on lanmanservice. Only UNC (C drive for example) and our perf counters are correctly inheriting the dependancy. None of the other services (such as antivirus) are inheriting this and I'm having to go manually adjust them.
Thanks,
Greg
Basically, I'm making the lanmanserver service dependant on ping, and I'm making all other services dependant on lanmanservice. Only UNC (C drive for example) and our perf counters are correctly inheriting the dependancy. None of the other services (such as antivirus) are inheriting this and I'm having to go manually adjust them.
Thanks,
Greg
Here is another bug I found in the export/import process. I think I have it nailed down for you.
o Created a folder structure like
--root
|
|------folder1
|
------folder2
o In folder 2 create test1
o In folder 1 create test2 and make it dependent on test1
The export file will look like this:
;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor at 10/9/2002 6:36:42 PM -
;- Source file: -
;- Generation mode: All_Tests -
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; Folder: Root
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; Folder: RootFolder1
;-----------------------------------------------------------------------------
; ------- Test #01 -------
Method = Ping
;--- Common properties ---
Title = Test2
Comment =
RelatedURL =
ScheduleMode= Regular
Schedule =
Interval = 600
Alerts =
ReverseAlert= No
UnknownIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
SyncCounters= Yes
SyncAlerts = No
MasterTest-Alive = Test1
;--- Test specific properties ---
Host = server2
Timeout = 2000
Retries = 4
MaxLostRatio= 100
DisplayMode = time
;-----------------------------------------------------------------------------
; Folder: RootFolder2
;-----------------------------------------------------------------------------
; ------- Test #02 -------
Method = Ping
;--- Common properties ---
Title = Test1
Comment =
RelatedURL =
ScheduleMode= Regular
Schedule =
Interval = 600
Alerts =
ReverseAlert= No
UnknownIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
;--- Test specific properties ---
Host = server1
Timeout = 2000
Retries = 4
MaxLostRatio= 100
DisplayMode = time
;-----------------------------------------------------------------------------
; Exported 2 tests
When you try to import you will get an error like:
Opening input file "C:DDRIVEDevHostMonitorHM330test2.txt" .. Ok
Reading ..
Unknown test name in line #33
Done
tasks imported: 2
errors: 1
warnings: 0
The issue appears to be when a test with a dependency is attempted to be loaded prior to the dependency test being loaded. This would have to be fixed by either using a two pass import process or making sure that the export file has all of the dependencies written to it prior to anything using the dependencies.
joe
o Created a folder structure like
--root
|
|------folder1
|
------folder2
o In folder 2 create test1
o In folder 1 create test2 and make it dependent on test1
The export file will look like this:
;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor at 10/9/2002 6:36:42 PM -
;- Source file: -
;- Generation mode: All_Tests -
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; Folder: Root
;-----------------------------------------------------------------------------
;-----------------------------------------------------------------------------
; Folder: RootFolder1
;-----------------------------------------------------------------------------
; ------- Test #01 -------
Method = Ping
;--- Common properties ---
Title = Test2
Comment =
RelatedURL =
ScheduleMode= Regular
Schedule =
Interval = 600
Alerts =
ReverseAlert= No
UnknownIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
SyncCounters= Yes
SyncAlerts = No
MasterTest-Alive = Test1
;--- Test specific properties ---
Host = server2
Timeout = 2000
Retries = 4
MaxLostRatio= 100
DisplayMode = time
;-----------------------------------------------------------------------------
; Folder: RootFolder2
;-----------------------------------------------------------------------------
; ------- Test #02 -------
Method = Ping
;--- Common properties ---
Title = Test1
Comment =
RelatedURL =
ScheduleMode= Regular
Schedule =
Interval = 600
Alerts =
ReverseAlert= No
UnknownIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
;--- Test specific properties ---
Host = server1
Timeout = 2000
Retries = 4
MaxLostRatio= 100
DisplayMode = time
;-----------------------------------------------------------------------------
; Exported 2 tests
When you try to import you will get an error like:
Opening input file "C:DDRIVEDevHostMonitorHM330test2.txt" .. Ok
Reading ..
Unknown test name in line #33
Done
tasks imported: 2
errors: 1
warnings: 0
The issue appears to be when a test with a dependency is attempted to be loaded prior to the dependency test being loaded. This would have to be fixed by either using a two pass import process or making sure that the export file has all of the dependencies written to it prior to anything using the dependencies.
joe