Core Lync Counters

The MindLink Server exposes a custom suite of Windows performance counters that can be used to monitor the usage and health of the system.

The performance counter suite can be used to indicate general usage statistics as well as to detect outages or other problems, via the number and rate of errors thrown.

Saving the management tool automatically adds the service account to the local Performacne Logs Users group.

Performance Counter Users

In addition, the MindLink server is a .NET service and hence exposes the standard suite of .NET performance counters. It is recommended to monitor at least the standard Windows memory usage and CPU performance counters, as well as the MindLink performance counters that report error rates, as a general indication of service health.

The Connector service exposes several performance counters. The new category in which they are found is called 'CollaborationFoundation'. The performance counters and how they are updated are as follows:

OCS/Lync connector:

  • GroupMessagesReceivedCounterKey : Group messages received.

  • GroupMessagesReceivedPerSecondCounterKey: Group messages received per second.

  • GroupMessagesSentCounterKey: Group messages sent.

  • GroupMessagesSentPerSecondCounterKey: Group messages sent per second.

  • RemoteGroupJoinsCounterKey: Remote group joins.

  • RemoteGroupJoinsPerSecondCounterKey: Remote group joins per second.

  • RemoteGroupLeavesCounterKey: Remote group leaves.

  • RemoteGroupLeavesPerSecondCounterKey: Remote group leaves per second.

  • GroupMetaDataUpdatesCounterKey: Group meta data updates.

  • GroupMetaDataUpdatesPerSecondCounterKey: Group meta data updates per second.

  • GroupIdLookupsCounterKey: Group ID lookups counter.

  • GroupIdLookupsPerSecondCounterKey: Group id lookups per second.

  • JoinedGroupsCounterKey: Joined groups counter.

  • LocalGroupJoinsCounterKey: Local group joins counter.

  • LocalGroupJoinsPerSecondCounterKey: Local group joins per second.

  • LeftGroupsCounterKey: The left groups counter.

  • LocalGroupLeavesCounterKey: The local group leaves.

  • LocalGroupLeavesPerSecondCounterKey: Local group leaves per second.

  • InstantMessagingCallsCounterKey: Instant messaging calls counter.

  • InstantMessagesSentCounterKey: Instant messages sent counter.

  • InstantMessagesSentPerSecondCounterKey: Instant messages sent per second.

  • InstantMessagesReceivedCounterKey: Instant messages received counter.

  • InstantMessagesReceivedPerSecondCounterKey: Instant messages received per second counter.

  • LocalComposingStateChangesCounterKey: Local composing state changes counter.

  • LocalComposingStateChangesPerSecondCounterKey: Local composing state changes per second counter.

  • RemoteComposingStateChangesCounterKey: Remote composing state changes.

  • RemoteComposingStateChangesPerSecondCounterKey: Remote composing state changes per second.

  • FileUploadsCounterKey: The file uploads counter.

  • FileUploadsPerSecondCounterKey: The file uploads counter.

  • BytesUploadedCounterKey: The bytes uploaded counter.

  • BytesUploadedPerSecondCounterKey: The bytes uploaded counter key.

  • FileDownloadsCounterKey: The file downloads counter.

  • FileDownloadsPerSecondCounterKey: The file downloads counter.

  • BytesDownloadedCounterKey: The local group leaves per second.

  • BytesDownloadedPerSecondCounterKey: The local group leaves per second counter.

  • UserSearchesCounterKey: The user searches counter.

  • UserSearchesPerSecondCounterKey: The user searches counter.

  • GroupSearchesCounterKey: The group searches counter.

  • GroupSearchesPerSecondCounterKey: The group searches per second counter.

  • HistorySearchesCounterKey: The history searches counter.

  • HistorySearchesPerSecondCounterKey: The history searches counter.

  • PreferencesSavesCounterKey: The preferences saves counter.

  • PreferencesSavesPerSecondCounterKey: The preferences saves per second counter.

  • ExchangeWebServicesCallsCounterKey: The exchange web services calls counter.

  • ExchangeWebServicesCallsPerSecondCounterKey: The exchange web services calls counter.

See Figure 118 for the screen shot of the performance counters.

Add Counters

Figure 118: Performance Counters

Tools such as Microsoft's Performance Monitor (perfmon.exe) can be used to view the value of the counter and generate reports.

Please note to view Performance Counters from a remote computer, the Performance Logs and Alerts firewall exception must be enabled on the remote computer.

Authentication Service:

There are global performance counters for authentication as well as performance counters specific to each authentication mechanism (Password, Windows and HTTP Header Authentication). Each global performance counter listed below has a similar counter specific to the authentication mechanism in use.

  • Authentication Requests: The number of authentication requests made to the server.

  • Authentication Requests per Second: The number of authentication requests made to the server per second.

  • Failed Authentication Requests: The number of authentication request made to the server which have failed.

  • Failed Authentication Requests Per Second: The number of authentication requests made to the server per second which have failed.

  • Last Authentication Time Taken Milliseconds: The number of milliseconds the last made authentication request to processed by the server.

  • Average Authentication Request Time Seconds: The average number of seconds to process authentication requests by the server.