External Test: parameters and transfer file

Need new test, action, option? Post request here.
Post Reply
Wabiloo
Posts: 26
Joined: Thu Jun 05, 2008 12:15 am

External Test: parameters and transfer file

Post by Wabiloo »

External test is good but lacking a bit of functionality in my opinion.
Here are 2 wishes:

1. Often I will use some command line applications that do specific things. However, none of the machines on which an RMA is installed will have that executable. An error "RMA: 301 - the system cannot find the path specified" is returned.
Wish: I'd like to have an option of transferring the file first if it doesn't exit. Some might say it is a security issue, but since there is already an implicit trust between RMA and HostMonitor, I would have to disagree. After all, I can make HostMonitor reformat a hard drive remotely via a script already (not that I'm doing it...).

2. Often External programs will take command line parameters (look for example at little tools like nircmd, wizmo, robocopy, etc.).
Wish: it would be good to be able to define parameters in the interface (separately from the executable itself), including ability to translate macros (similar to what's already available for Shell Script)

Many thanks
(and once again: waw! congratulations for such a fantastic application)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

1. Often I will use some command line applications that do specific things. However, none of the machines on which an RMA is installed will have that executable. An error "RMA: 301 - the system cannot find the path specified" is returned.
Wish: I'd like to have an option of transferring the file first if it doesn't exit. Some might say it is a security issue, but since there is already an implicit trust between RMA and HostMonitor, I would have to disagree. After all, I can make HostMonitor reformat a hard drive remotely via a script already (not that I'm doing it...)
Not sure we should implement such option. RMA should decrease network traffic that is necessary for monitoring, not increase it. Yes, we can implement some "pool" of external applications so the same application will not be transferred to RMA every time test is started but .. in some cases you may need transfer several files, not just single executable module, and so on.
Probably such option is good for RMA Manager (not HostMonitor) - transfer 3rd party applications to the agent. I have added this task into "to do" list. Low priority.
2. Often External programs will take command line parameters (look for example at little tools like nircmd, wizmo, robocopy, etc.).
Wish: it would be good to be able to define parameters in the interface (separately from the executable itself), including ability to translate macros (similar to what's already available for Shell Script)
Such option was implemented long time ago:
- macro variables: http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro
- user defined variables: http://www.ks-soft.net/hostmon.eng/mfra ... m#udvmacro
(and once again: waw! congratulations for such a fantastic application)
Thank you

Regards
Alex
Wabiloo
Posts: 26
Joined: Thu Jun 05, 2008 12:15 am

Post by Wabiloo »

KS-Soft wrote:
2. Often External programs will take command line parameters (look for example at little tools like nircmd, wizmo, robocopy, etc.).
Wish: it would be good to be able to define parameters in the interface (separately from the executable itself), including ability to translate macros (similar to what's already available for Shell Script)
Such option was implemented long time ago:
Yes, I can use macros and global variables (although they are very limited for me due to their global scope, as indicated in http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=4725) for Scripts.
There is however no such option for "external test" (unless I'm missing something). Some external programs take command line parameters and it's for those that I'd like to be able to define parameters.

For example I created a small application that can return an error code that tells me how the graphic card has been configured. To run it, the command line is:

Code: Select all

CheckGC -width 1024 -height 768
If the graphic card is correctly configured, the application returns0. If not it returns something different (that tells me where the problem is).

Obviously, for different machines, I have different resolutions, and therefore I'd like to be able to define that in the test[/code][/url]
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Oh sorry, my mistake. You said "Externat test" while I was thinking about External actions.
Yes, we plan to implement some templates and/or macro support for test parameters in future versions. May be in version 8

Regards
Alex
losisoft
Posts: 43
Joined: Fri Mar 21, 2008 4:02 am

Re: External Test: parameters and transfer file

Post by losisoft »

Wabiloo wrote: 1. Often I will use some command line applications that do specific things. However, none of the machines on which an RMA is installed will have that executable. An error "RMA: 301 - the system cannot find the path specified" is returned.
Yes I know the issue. Why don't you create a script, which is copies such command line applications to the test machines? Like once a day? Or by case by case, when you update your scripts.
Just run and it will copy to the machines.
I know it's not a perfect solution, but a workaround. :)
Post Reply