Quantcast
Channel:
Viewing all articles
Browse latest Browse all 43798

Wiki Page: What can cause the error "CitrixConnect(CitrixEngine: 6 - Connect failed)" when monitoring Citrix?

$
0
0

Problem:

What can cause the error "CitrixConnect(CitrixEngine: 6 - Connect failed)" when monitoring Citrix?

Resolution:

ANSWER
----------------------------------
This error can occur as a result of using duplicate client names in different monitors. By default, PDCE scripts use the client name SP_User_1 when connecting to the Metaframe server. If you are running PDCE scripts from more than one execution server, then it"s possible that the server will reject connections using the same client name for security reasons.

As a result, it is recommended that you use the function CitrixSetClientName in your script to explicitly set a unique client name. The following example uses the GetAgent and GetUser functions within CitrixSetClientName to achieve this. Consequently monitors running on different execution servers will be differentiated by the agent name whereas monitors on the same agent will be differentiated by the user name.

 CitrixSetClientName(GetAgent() + GetUser()); writeln (GetAgent()); writeln (GetUser()); 

Old KB# 24070

Viewing all articles
Browse latest Browse all 43798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>