| View previous topic :: View next topic |
| Author |
Message |
shernyeexing
Joined: 02 Aug 2009 Posts: 20
|
Posted: Thu May 17, 2012 12:31 am Post subject: Response from the agent: 301 |
|
|
HM VER 8.86
RMA VER 4.15
in script manager, script name: PowerShell: Free Physical Memory
1、at "lets try" windows with "Testby : Hostmonitor" ,"Params: 100", and then click the test botton, the result is:
[14:16:35] Script executed, correct result received:
----------
- Status: Ok
- Reply: 714 Mb
----------
2、at "lets try" windows with "Testby : Agent:100.100.100.129" ,"Params: 100", and then click the test botton, the result is:
Response from the agent: 301 - Error: unable to start script |
|
| Back to top |
|
 |
shernyeexing
Joined: 02 Aug 2009 Posts: 20
|
Posted: Thu May 17, 2012 12:42 am Post subject: |
|
|
i restart the rma client and test again with or without params' settings. the result is:
[14:34:06] Agent: 100.100.100.129 is going to execute "PowerShell: Drive Free Space - copy" script ...
[14:34:16] Response from the agent: 301 - Error: script timed out
if i creat a new test on the same agent with the method "Drive Free Space", the test is ok. |
|
| Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 10422 Location: USA
|
Posted: Thu May 17, 2012 6:56 am Post subject: |
|
|
How we can help you if we don't know what code do you use for your script, we don't know what command line do you use to start the script and we even do not know what OS do you use?
For begining you may check if your script works on target system (where RMA is installed) by itself, without using RMA or HostMonitor
| Quote: | | if i creat a new test on the same agent with the method "Drive Free Space", the test is ok. |
What this has to do with Shell Script test method?
Regards
Alex |
|
| Back to top |
|
 |
shernyeexing
Joined: 02 Aug 2009 Posts: 20
|
Posted: Thu May 17, 2012 9:58 am Post subject: |
|
|
the script code is just the example code in script manager.
of couse, it works normally on the windows client .
i'll upgrade the MS PowerShell Version to 2.0 and try again. |
|
| Back to top |
|
 |
KS-Soft
Joined: 03 Apr 2002 Posts: 10422 Location: USA
|
Posted: Thu May 17, 2012 1:25 pm Post subject: |
|
|
Windows?
x86t? x64?
Service Pack?
Regards
Alex |
|
| Back to top |
|
 |
|