I started noticing Edgesight License Violation errors on many Xenapp 6.5 Servers, on daily basis. Along with this, Payloads were not getting uploaded.
Edgesight version : 5.4
Agent Version : 5.4.0.5107
Checked the Eventviewer and there were many errors logged with Event ID 107:
Log Name: Application
Source: Citrix System Monitoring Agent
Date:
Event ID: 107
Task Category: (1)
Level: Error
Keywords: Classic
User: SYSTEM
Computer: XXXX
Description:
The Citrix EdgeSight agent is no longer in or could not enter a licensing grace period.
Open “Citrix Monitoring Agent Settings” within Control Panel of the problematic server and check if Advanced is selected from “Mode” Tab. If Advanced is selected, You should either have Xenapp Platinum Edition License or Edgesight for Xenapp License available in your License server.
In my case, Mode was set correctly. We had IMA service set as Delayed Start. So before IMA started, System Monitoring Agent and Firebird Service got started and it did not get the license. And strangly it wasn’t trying to check for License again when the IMA was started.
Citrix has released a hotfix for this. http://support.citrix.com/article/CTX137159 . This fixes lots of other issues as well. I installed this and there are no License Violation errors and Payload rejections.
The EdgeSight Agent might fail to validate the license and to send payload data. The issue occurs during system startup if the IMA Service initialization is delayed due to heavy server load.
This fix introduces support for the following registry key that, if set, allows you to delay the agentâs startup until after the IMA Service has completely initialized:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\System Monitoring\Agent\Ctrx\4.00
Name: RetryLicensingCheck
Type: REG_DWORD
Data: 1
[From ES540XA6AgentWX64004][#LA0854]