View previous topic :: View next topic |
Author |
Message |
eddymicro
Joined: 13 Nov 2002 Posts: 95
|
Posted: Mon Feb 21, 2005 8:08 am Post subject: RMA and Test Method by External Program |
|
|
Hello,
I want to run a .cmd file on a WIndows Server with the RMA agent installed. I know the agent works since I can run other test such as Drive Space etc... When I try to run the External program I get error 301 (system cannot find the specified path). For example if I just wanted to launch notepad.exe in the C:\windows directory how would I do it, what would I put in the external program field. I expected I would simply enter
c:\windows\notepad.exe (meaning the C drive of the remote machine) this does not work, what am I doing wrong ? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Feb 21, 2005 9:16 am Post subject: |
|
|
Quote: | I expected I would simply enter c:\windows\notepad.exe |
Yes, it should work like this.
If you experience any problem, please provide more information:
- HostMonitor version
- RMA version
- Windows version
- Service Pack?
I recall we fixed such problem long time ago. Probably you are using old version of the software?
Regards
Alex |
|
Back to top |
|
|
eddymicro
Joined: 13 Nov 2002 Posts: 95
|
Posted: Mon Feb 21, 2005 9:50 am Post subject: Configuration |
|
|
Windows Server 2003 with Hostmonitor 4.86
RMA 2.02 installed on Windows 2000 server (SP4) and Windows 2003 server
RMA works for other commands. Have tried running as application and service. WHen running as application it show connections.
All tests and actions are enabled in the agent.
Please give me a suggestion for another simple example I have just tried running notepad.exe |
|
Back to top |
|
|
eddymicro
Joined: 13 Nov 2002 Posts: 95
|
Posted: Mon Feb 21, 2005 10:36 am Post subject: Solved Problem |
|
|
Hello,
I cannot get the notepad.exe to be visable. It was running but not visible when I looked in task manager, that is the problem. I am running .cmd files so I am all set now. But if you want to run a program I could not find a way to make it visible. I tried showmaximized, it did not work.
Ed... |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Mon Feb 21, 2005 1:02 pm Post subject: |
|
|
Agent uses SW_HIDE mode for external tests. Program supose to perform some check, do not display some info.
If you do not need to perform test but you need to start some application, use "Execute external program"action
Regards
Alex |
|
Back to top |
|
|
|