Response from the agent: 301

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
shernyeexing
Posts: 20
Joined: Sun Aug 02, 2009 7:29 pm

Response from the agent: 301

Post by shernyeexing »

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
shernyeexing
Posts: 20
Joined: Sun Aug 02, 2009 7:29 pm

Post by shernyeexing »

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.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
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
shernyeexing
Posts: 20
Joined: Sun Aug 02, 2009 7:29 pm

Post by shernyeexing »

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.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Windows?
x86t? x64?
Service Pack?

Regards
Alex
Post Reply