Folders still not being created on import??

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
philhorne
Posts: 4
Joined: Tue Mar 23, 2004 1:08 pm

Folders still not being created on import??

Post by philhorne »

I downloaded the latest version of HM and it still does not appear to be able to create folders when I import from a replicator text file..

Is there something that i am missing here or does it still not work?
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May I see your file?
philhorne
Posts: 4
Joined: Tue Mar 23, 2004 1:08 pm

Post by philhorne »

This is the email I just sent to support..

I have the latest version of both HM and Replicator. When I create a batch of tests with replicator and import it into HM the folders are not created? Here Is the replicator text file Im using to create the hml. I have tried it with and without commenting the Folder: and DefaultFolder = lines out. If they are uncommented then it says Error: Invalid Folder name (line #10) list of tests cannot be imported.

;=============================================================================
; replica #1
; "fw-sf45" replaced to "etmbdt02" ;=============================================================================

;-----------------------------------------------------------------------------
Folder: Root\Monterey\etmbdt02\
;-----------------------------------------------------------------------------
;You may uncomment the following line to import tests exactly into src. folder DefaultFolder = Root\Monterey\etmbdt02\


; ------- Test #01 -------


Method = UNC
;--- Common properties ---
Title = etmbdt02 Drive D: Free Space
Comment = etmbdt02 Drive D: Free Space
RelatedURL =
ScheduleMode= Regular
Schedule =
Interval = 600
Alerts =
ReverseAlert= No
UnknownIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
;--- Test specific properties ---
UNC = \\etmbdt02\d$\
test = totalfreespace
MinFreeSpace= 64M
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Please, read the manual or "What's new" section.
HostMonitor & HML Manager: import function supports new command "CreateFolder".
The value of this parameter should specify the full path to the folder that you want to create. E.g. CreateFolder = Root\USA Branch\Support\part2\ will successively create folders USA Branch (in the Root folder), Support (in USA Branch subfolder) and part2 (in Support subfolder). Of course if some (or all) of specified folders already exist, HostMonitor will not create second copy of them.
I do not see any "CreateFolder" command in your file.

Regards
Alex
philhorne
Posts: 4
Joined: Tue Mar 23, 2004 1:08 pm

Post by philhorne »

I made the assumption that HM could figure out that if the folder wasnt there then it should create it.. I missed the part about having to go in and edit the files that replicator makes so that the folders will be created.

Thanks. This will save me allot of time.
Phil
sista71
Posts: 11
Joined: Wed Aug 06, 2003 6:00 pm

CreateFolder issue

Post by sista71 »

Hi Alex,
maybe my hair color (blonde) gets in my way again :roll: but I can get the CreateFolder command to work. I made an export of my tests, removed them from HM and then try to import the Export file again. I removed the ; from the line
DefaultFolder = company\testfolder
and before I added a line
CreateFolder=company\testfolder
so it looks like this now:
...
;-----------------------------------------------------------------------------
; Folder: company\testfolder
;-----------------------------------------------------------------------------
;You may uncomment the following line to import tests exactly into src. folder
CreateFolder: arvato systems\test
DefaultFolder = arvato systems\test


; ------- Test #01 -------

....

I get the same error message as philhorne:
Invalid Folder name (line #xx) list of tests cannot be imported.

Do I put the command in the wrong location? Is my syntax wrong? Please help. BTW: I am workign with the newest version of HM (4.42)
Thanks a lot in advance

sista71
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

Place the whole folder path in the script: Root\.....

And syntax should be:
CreateFolder = Root\......
DefaultFolder = Root\......
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I assume root folder has been names "arvato systems"?
I cannot reproduce the problem. Could you send your HML file with tests and import text file to support@ks-soft.net?

Regards
Alex
User avatar
Marcus
Posts: 367
Joined: Mon Nov 18, 2002 6:00 pm

Post by Marcus »

His messages stated:

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

Post by KS-Soft »

Right. Should be "=" instead of ":".
Thank you Marcus, I didn't notice this

Regards
Alex
Post Reply