View previous topic :: View next topic |
Author |
Message |
philhorne
Joined: 23 Mar 2004 Posts: 4
|
Posted: Tue Mar 23, 2004 1:12 pm Post subject: Folders still not being created on import?? |
|
|
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? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12800 Location: USA
|
Posted: Tue Mar 23, 2004 1:47 pm Post subject: |
|
|
May I see your file? |
|
Back to top |
|
|
philhorne
Joined: 23 Mar 2004 Posts: 4
|
Posted: Tue Mar 23, 2004 1:57 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12800 Location: USA
|
Posted: Tue Mar 23, 2004 2:01 pm Post subject: |
|
|
Please, read the manual or "What's new" section.
Quote: | 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 |
|
Back to top |
|
|
philhorne
Joined: 23 Mar 2004 Posts: 4
|
Posted: Tue Mar 23, 2004 2:35 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
sista71
Joined: 06 Aug 2003 Posts: 11
|
Posted: Fri Apr 23, 2004 5:18 am Post subject: CreateFolder issue |
|
|
Hi Alex,
maybe my hair color (blonde) gets in my way again 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 |
|
Back to top |
|
|
Marcus
Joined: 18 Nov 2002 Posts: 367
|
Posted: Fri Apr 23, 2004 7:31 am Post subject: |
|
|
Place the whole folder path in the script: Root\.....
And syntax should be:
CreateFolder = Root\......
DefaultFolder = Root\...... |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12800 Location: USA
|
Posted: Sun Apr 25, 2004 1:42 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
Marcus
Joined: 18 Nov 2002 Posts: 367
|
Posted: Mon Apr 26, 2004 2:09 am Post subject: |
|
|
His messages stated:
CreateFolder: |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12800 Location: USA
|
Posted: Mon Apr 26, 2004 12:55 pm Post subject: |
|
|
Right. Should be "=" instead of ":".
Thank you Marcus, I didn't notice this
Regards
Alex |
|
Back to top |
|
|
|