Disable link test via HMScript

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
wchildress
Posts: 23
Joined: Tue Oct 15, 2002 6:00 pm

Disable link test via HMScript

Post by wchildress »

I have several test links in a maintenance folder. I want to be able to disable all of the associated tests via HMScript. DisableAllTests does not affect the link tests. I really need this as it is easiest to create links in the maintenance folder rather than reorganizing my tests or calling out / adding each test to the script when we modify our affected servers by maintenance mode.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

So, you want to remove links?
I have added your request into "to do" list. Low priority

Regards
Alex
wchildress
Posts: 23
Joined: Tue Oct 15, 2002 6:00 pm

Post by wchildress »

No - I want to use the links to disable the actual tests. I create links in various "maintenance" folders. I run a file compare tests looking for a trigger in our config file on the servers. When we are pushing releases or performing other maintenance i need our tests disabled so they don't try to restart services or send alerts. I created a HMScript that sets the current folder and then "DisableAllTests" only real tests get disabled not any "link" tests or the tests they are linked from. This is odd because i can do it manually. Is there a "DisableAllLinks"?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Oh, I see. Yes, script works with tests but it does not use links.
Probably we should add new command "UseLinks=yes|no" :roll:
I think we can implement this pretty soon...

Regards
Alex
wchildress
Posts: 23
Joined: Tue Oct 15, 2002 6:00 pm

thanks

Post by wchildress »

Once again - best service of any product that I've been using for the last 9 years. Thanks. Alex.

I'll be looking for the update.

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

Post by KS-Soft »

You are welcome :)

There is update: www.ks-soft.net/download/hm801f.zip
Please install version 8.01 before using this update

Regards
Alex
wchildress
Posts: 23
Joined: Tue Oct 15, 2002 6:00 pm

Post by wchildress »

WOW - super quick. What do I need to do to active links on in the script? Out of the box nothing happened.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Insert UseLinks yes command into the script (before DisableTest command)

Regards
Alex
wchildress
Posts: 23
Joined: Tue Oct 15, 2002 6:00 pm

Post by wchildress »

Perfect - my hero.

Thanks again,
Will
Post Reply