Hello,
I'm trying to run a remote shell script from epagent,
i wrote a perl script that run this local shell script.
The agent is installed on windows server 2008 R2, both perl and shell script are located at the ~/epapluging/lib/
When the epagent run the script i recieve this error:
INFO | jvm 1 | 2016/05/01 09:30:25 | 5/01/16 09:30:25 AM IDT [ERROR] [EPAgent.EPAgent DS] [ stderr ] [tammpreds1] Connecting to remote server failed with the following error messag
INFO | jvm 1 | 2016/05/01 09:30:25 | 5/01/16 09:30:25 AM IDT [ERROR] [EPAgent.EPAgent DS] [ stderr ] e : Access is denied. For more information, see the about_Remote_Troubleshootin
INFO | jvm 1 | 2016/05/01 09:30:25 | 5/01/16 09:30:25 AM IDT [ERROR] [EPAgent.EPAgent DS] [ stderr ] g Help topic.
INFO | jvm 1 | 2016/05/01 09:30:25 | 5/01/16 09:30:25 AM IDT [ERROR] [EPAgent.EPAgent DS] [ stderr ] + CategoryInfo : OpenError: (:) [], PSRemotingTransportException
INFO | jvm 1 | 2016/05/01 09:30:25 | 5/01/16 09:30:25 AM IDT [ERROR] [EPAgent.EPAgent DS] [ stderr ] + FullyQualifiedErrorId : PSSessionStateBroken
The script i running without an error manualy via cmd:
perl "<script path>"
output: <metric type="IntCounter" name="DS Sessions|Sessions:Count" value="245" />
Please assist.
Regards,
Tamir