View previous topic :: View next topic |
Author |
Message |
jricha34
Joined: 07 Jul 2002 Posts: 59 Location: USA
|
Posted: Tue Jul 09, 2002 11:22 am Post subject: |
|
|
How do you specify a master test for the import text file?
Ex:
I want to script the setup of several LDAP and ping tests, I want the LDAP tests to be dependent on the ping tests.
|
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Wed Jul 10, 2002 2:38 pm Post subject: |
|
|
I will implement new parameter in next version. Now this is impossible.
Regards
Alex |
|
Back to top |
|
|
jricha34
Joined: 07 Jul 2002 Posts: 59 Location: USA
|
Posted: Wed Jul 10, 2002 3:04 pm Post subject: |
|
|
Ok cool. Any time frame on that? Also is there a web page with a list of coming enhancements with possible time lines?
|
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Wed Jul 10, 2002 4:59 pm Post subject: |
|
|
Tomorrow.
Sorry, our "to do" list for internal use only.
Regards
Alex |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Wed Jul 10, 2002 6:33 pm Post subject: |
|
|
Done. Update available at http://www.ks-soft.net/download/hm319c.zip
There are 6 new parameters those you can use in an import file:
SyncCounters = Yes|No
SyncAlerts = Yes|No
MasterTest-Alive = <Test name>
MasterTest-AliveOrUnknown = <Test name>
MasterTest-DeadOrUnknown = <Test name>
MasterTest-Dead = <Test name>
Example:
Method = Ping
Title = ping yahoo
Host = http://www.yahoo.com
Timeout = 3000
Retries = 4
DisplayMode = Received
MaxLostRatio = 90
MasterTest-DeadOrUnknown = ping altavista
MasterTest-Dead = ping google
SyncCounters = Yes
SyncAlerts = No
Regards
Alex |
|
Back to top |
|
|
jricha34
Joined: 07 Jul 2002 Posts: 59 Location: USA
|
Posted: Thu Jul 11, 2002 12:49 pm Post subject: |
|
|
Excellent, thanks Alex.
Along this line, is it possible to tell the import text that it should be updating existing tests versus trying to create new ones? i.e. I have a couple of thousand tests configured and I want to set up just the master options on about 1800 of them how would I specify that?
Additionally is it possible to delete tests from the import file or through scripts?
thanks, joe |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Fri Jul 12, 2002 7:49 am Post subject: |
|
|
You are welcome.
Unfortunately using script you cannot update or delete existing tests. However if you have all necessary tests in your import file, you can create new HML file, import tests, and save the file. E.g.
NewTestList
AppendTestList c:list1.hml
ImportFromFile c:import1.txt SkipDuplicates WriteLog
SaveTestList c:list2.hml
Probably it can be helpful in your case
Regards
Alex |
|
Back to top |
|
|
jricha34
Joined: 07 Jul 2002 Posts: 59 Location: USA
|
Posted: Sat Jul 13, 2002 6:57 am Post subject: |
|
|
So it sounds like for now if I want to automate the updating of the HML files I will need to maintain a separate database with all of the tests that need to be performed, write a script that will generate a text file for that when it changes and place it somewhere where it will trigger an event to cause a script to import the file to run. Unfortunately it means I can't make any changes to the HML within the GUI as there would be no way to maintain that info.
Would that be a correct summary?
thanks, joe
|
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Sun Jul 14, 2002 11:23 am Post subject: |
|
|
Yes, you are right.
I will try to improve import utility.
Regards
Alex |
|
Back to top |
|
|
jricha34
Joined: 07 Jul 2002 Posts: 59 Location: USA
|
Posted: Sun Jul 14, 2002 7:32 pm Post subject: |
|
|
Thanks. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Tue Jul 16, 2002 3:25 pm Post subject: |
|
|
We do not changed import utility yet, but now HM script supports new command "DeleteTest <test name>". You will be able to remove old tests before importing new version of tests. There are update http://www.ks-soft.net/download/hm319e.zip
Regards
Alex |
|
Back to top |
|
|
|