KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Response from the agent: 301

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
shernyeexing



Joined: 02 Aug 2009
Posts: 20

PostPosted: Thu May 17, 2012 12:31 am    Post subject: Response from the agent: 301 Reply with quote

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
View user's profile Send private message
shernyeexing



Joined: 02 Aug 2009
Posts: 20

PostPosted: Thu May 17, 2012 12:42 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 10422
Location: USA

PostPosted: Thu May 17, 2012 6:56 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
shernyeexing



Joined: 02 Aug 2009
Posts: 20

PostPosted: Thu May 17, 2012 9:58 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 10422
Location: USA

PostPosted: Thu May 17, 2012 1:25 pm    Post subject: Reply with quote

Windows?
x86t? x64?
Service Pack?

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index