Citrix Director Infrastructure Monitoring - Incorrect IIS Certificate Validity status

Citrix Director Infrastructure Monitoring - Incorrect IIS Certificate Validity status

book

Article ID: CTX693402

calendar_today

Updated On:

Description

When admin checks Storefront metrics in Citrix Director under Infrastructure Monitoring, incorrect IIS Certificate Validity status is displayed.

All other metrics are displayed correctly.

Example:

 

 

StoreFront Details:

 

 

Storefront is configured with correct certificate and a certificate chain is valid.

Additional error appears when hovering over the exclamation mark symbol: The IIS certificate chain is not valid.

CDF Trace captured on the Storefront server where Citrix Infra Monitor agent is displayed shows the exception: 

Exception in DirectorAgentAPI.Controllers.CertController.Status (CitrixInfraMonitor): System.ArgumentNullException

 

 

Resolution

Check a json file located in C:\ProgramData\Citrix\InfraMonitor on the affected Storefront server. You can open it in Notepad.

Example:

 

 

Check if Domain / Username / Password data is there.

If the data is NULL, please update credentials. 

To edit an existing connection, do the following in Citrix Director:

  1. Navigate to the Connect Citrix Components page from the Settings or Infrastructure tab.
  2. On the list of connections table, click the three dots at the end of the row on the component of interest.
  3. Click Edit and update the details as required.

 

You can also update connection from PowerShell.

  1. On the Delivery Controller, open PowerShell as administrator.
  2. Update Agent credentials using powershell cmdlet: Set-MonitorDirectorAgent

Example:

Set-MonitorDirectorAgent -Component Storefront -Fqdn "FQDN_OF_AFFECTED_STOREFORNT" -Domain "DOMAIN_NAME" -Username "ADMIN USERNAME" -Password "ADMIN PASSWORD"

 


Problem Cause

Credentials not updated correctly when Agent was added to Infrastructure Monitoring (initial configuration).

Additional Information

https://developer-docs.citrix.com/en-us/citrix-virtual-apps-desktops-sdk/2411/monitor/set-monitordirectoragent

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/2411/director/infrastructure-monitoring/manage-connections