Director does not show Logon Duration for all sessions

Director does not show Logon Duration for all sessions

book

Article ID: CTX207141

calendar_today

Updated On:

Description

When viewing "Average Logon Duration" not all connections are visible.

Resolution

1. On the non-working server where VDA is installed, run the following command: 

Get-WmiObject  -Namespace root\citrix\profiles\metrics –Class Session.

2. If you notice invalid class, we need to verify whether the following class in the WMI object of the non-working machine exist. In a working scenario, it should appear as following: 

image.png

3. Then Run the the following command and verify if all the configurations are correct and there is no null valie exist to any variables: 

get-wmiobject -namespace root\citrix\profiles\metrics -class logontimings

image.png

4. Alternatively, Run wbemtest, under namespace type “root\citrix\profiles\metrics” and click connect
5. Now select Enum Classes...  and make sure “Recursive” option is selected, before clicking on OK.
6. Scroll the Query Result and see if the LogonTimings () is visible: 
image.png
7. LogonTimings () is visible, double click on it to open the Object editor for LogonTimings and locate "__PATH               : \\VDA??\root\citrix\profiles\metrics:LogonTimings.SessionId="ba28cd29-9abe-46a4-????-0c750eccd963""
image.png
Noe validate if the issue is due to class being absent for which the WMI provider not working properly. In idle scenario it should appear as below: 

image.png

If all the details above are in place, the we should see the Average Logon Duration in the Director: 

image.png

If the classes are missing in the VDA, re-installation is the only solution that is possible. (this must be verified, if it is possible to rebuild WMI providers). 
 


Problem Cause

WMI classes missing