KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Specifying Master Test in text import

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor
View previous topic :: View next topic  
Author Message
jricha34



Joined: 07 Jul 2002
Posts: 59
Location: USA

PostPosted: Tue Jul 09, 2002 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Jul 10, 2002 2:38 pm    Post subject: Reply with quote

I will implement new parameter in next version. Now this is impossible.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
jricha34



Joined: 07 Jul 2002
Posts: 59
Location: USA

PostPosted: Wed Jul 10, 2002 3:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Jul 10, 2002 4:59 pm    Post subject: Reply with quote

Tomorrow.
Sorry, our "to do" list for internal use only.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Jul 10, 2002 6:33 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jricha34



Joined: 07 Jul 2002
Posts: 59
Location: USA

PostPosted: Thu Jul 11, 2002 12:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Fri Jul 12, 2002 7:49 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jricha34



Joined: 07 Jul 2002
Posts: 59
Location: USA

PostPosted: Sat Jul 13, 2002 6:57 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sun Jul 14, 2002 11:23 am    Post subject: Reply with quote

Yes, you are right.
I will try to improve import utility.

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
jricha34



Joined: 07 Jul 2002
Posts: 59
Location: USA

PostPosted: Sun Jul 14, 2002 7:32 pm    Post subject: Reply with quote

Thanks.
Back to top
View user's profile Send private message Send e-mail
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Tue Jul 16, 2002 3:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    KS-Soft Forum Index -> HostMonitor All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index