Multible EDITs of tests

Need new test, action, option? Post request here.
Post Reply
User avatar
hmo
Posts: 81
Joined: Fri Feb 14, 2003 6:00 pm
Location: Denmark
Contact:

Post by hmo »

Hi Alex!

You can select multible tests and EDIT generel settings for many (at once) for those. I need You to make a "global approach" for the following Items:

Process -> Check process on....
Service -> Check service on....

We're stepping away from v3.x into v4.x and every Process and Service test has to be edited one-by-one ... I hate that! :grin:

A BIG SMILE FROM ME TO YOU .. :smile:

Cheers,
Hans Mosegaard

PS: That goes for HM v4.x only... no one wanna use v3.x anymore!! :grin:
_________________


<font size=-1>[ This Message was edited by: hmo on 2003-07-28 08:17 ]</font>
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

>We're stepping away from v3.x into v4.x and every Process and Service test has to be edited one-by-one ... I hate that

It needs a lof of changes in code :sad:
But why do you need to change name of the target system? As I understand you want to use remote agent to perform test? I think you don't need to change name of the system. Agent performs test in the same way when you select "<local computer>" or when you provide name of the system where agent is installed. I think you need to change "Test By" property only. You may do it for group of tests..

Regards
Alex
User avatar
hmo
Posts: 81
Joined: Fri Feb 14, 2003 6:00 pm
Location: Denmark
Contact:

Post by hmo »

When you're going from RPC - ie. HM make directly RPC calls to target - witch is used in v3.x, one have set the target IP in the "Check service on.." field! It's the same for Processes.

Even though I change "Test by", I also need a change for targit IP... ie. <local computer>. I migth have made a mistake back in v3.x - and now I have to pay for it! :sad:

Sooo... you say that it needs a lot of code-change for makeing group-edit on those entrys? Any way I can work-around this? Manual edit in configuration file? Anything I should take care of?

Cheers,
Hans Mosegaard

smckenna
Posts: 19
Joined: Sat Jul 26, 2003 6:00 pm

Post by smckenna »

I remember reading about a separate global search replace tool. I suppose that would satify us.

But, I am going yo jump in here and add that switching 50 Ping test from 2000ms to 5000ms would be nice as a group select.

If all tests are of a common type, add common field to interface. I do realize that statement severely understates the amount of code it would take.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

>Any way I can work-around this? Manual edit in configuration file? Anything I should take care of?

You may export tests into text file, edit it, and export back to HostMonitor.
If you want to replace all target systems to the same name (<local computer> as I understand), I can add new parameter for SetTestParam command (HMScript). In this case you will be able to use command "SetTestParam _AllService TargetSystem ''"

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

>But, I am going yo jump in here and add that switching 50 Ping test from 2000ms to 5000ms would be nice as a group select.

You can do it by single command "ReplaceTestParam _AllPing timeout 2000 5000". Just create text file with this command and click menu "File"->"Execute script". If you have ping tests in different directories you may need to add SetCurrentFolder and IncludeSubfolders commands.
See http://www.ks-soft.net/hostmon.eng/mfra ... #actScript

Regards
Alex
smckenna
Posts: 19
Joined: Sat Jul 26, 2003 6:00 pm

Post by smckenna »

Thanks
Post Reply