EasyUC for Cisco
Presence Sync: diagnostic monitor and diagnostic history
Read the Cisco connection check, diagnostic monitor and diagnostic history, narrow down a failed step and export the diagnostics for support.
In EasyUC: Presence Sync → Presence profiles → profile → Presence Live → Diagnostic monitor / Diagnostic history
Images come from the EasyUC lab. Names and example values provide orientation. A different interface language is indicated beside the relevant image.
What it is for
From version 4.9.66, Presence Sync shows in three places what was actually checked. The Cisco connection check appears in the profile under Test Cisco connection. The Diagnostic monitor is on the Presence Live page and shows the last run of the background service or the last connection test. The Diagnostic history below it records the past check runs.
All three use the same presentation: a check pipeline made up of groups, for example CUCM · AXL or IM&P sign-in, and within them the individual check steps. A step only counts as successful if it was executed in this run and succeeded. Stored credentials alone do not confirm a connection. A step that was not executed stays Not checked. An empty response is a warning, never a success.
For each failed step EasyUC names a fixed diagnostic code, the HTTP status, the target server with port and path and a next step. Credentials, session keys and tokens are never included in the diagnostics. EasyUC does not display free text from the response of the vendor.
This chapter explains how to read the displays and what to send to support.
Prerequisites
- EasyUC from version 4.9.66.
- Viewing and exporting the diagnostic monitor and diagnostic history:
ROLE_APP_PRESENCE_WORKSPACEandROLE_APP_PRESENCE_SYNC. - Test Cisco connection: additionally
ROLE_APP_PRESENCE_TENANTS_EDIT. - A saved presence profile with Cisco access. The connection test works with the stored credentials.
- For results of the background sync: synchronisation is switched on, and the presence service of the appliance is running.
Step by step: check the Cisco connection
-
Read the check pipeline. For Jabber it shows CUCM · AXL, IM&P sign-in, Observer · read presence and Presence publication. The connection test only executes the first two: through AXL it reads one user, at the presence web service it signs the application user in and out again. The other two groups stay Not checked.
Step by step: read the diagnostic monitor
Step by step: filter and export the diagnostic history
Fields and options: details at a check step
| Field / action | Meaning and use |
|---|---|
| Component · step | What was checked, for example CUCM AXL · Read user directory or Cisco IM&P · Sign in application user. Components are Microsoft Graph, CUCM AXL, User mapping, Cisco IM&P, Cisco Webex, Synchronization service, Diagnostic log and Diagnostic storage. |
| Result | Check passed, Failed, Warning / partially checked, Skipped or Not checked. A group takes on the least favourable result of its steps. |
| Message | Fixed text from EasyUC for this result. |
| Next step | Recommended action, for example which permission or which address to check. |
| Diagnostic code | Short, constant code of the cause, for example tls_failed or http_unauthorized. Give it to support. |
| HTTP | HTTP status of the response of the server. If it is missing, no response was received, for example because of a network or certificate error. |
| Provider code | Numeric error code from the response of Cisco, if the server delivers one. It helps when searching the logs of CUCM and IM and Presence. |
| Requested endpoint | Method, server, port and path of the call, for example POST https://cucm-pub01.intern:8443/axl/. User names in the path are replaced by {user}. |
| Checked at / Duration | Time of the step in your local time and run time in milliseconds. |
| Trace ID | Identifier of the check run. All steps of a run carry the same one. With Search diagnostics you find the run again by it. |
| Diagnostic source | Background sync is a run of the presence service. Cisco connection test is a test from the profile. Latest check shows the more recent of the two. |
Fields and options: diagnostic codes
| Field / action | Meaning and use |
|---|---|
| dns_failed | The server name could not be resolved. Check DNS resolution on the appliance and the stored server name. |
| connection_failed / timeout | The connection was not established or the server did not respond in time. Check server, port, routing and firewall from the appliance. |
| tls_failed | The TLS connection or the certificate check failed. Typical after the certificate on the CUCM or on IM and Presence has been renewed. Run Test Cisco connection in the profile, compare the fingerprint and accept the certificate. If a CA file is entered, check the file. |
| http_unauthorized | HTTP 401. The server rejected the sign-in. Check the stored credentials and the account status. |
| http_forbidden | HTTP 403. For AXL, check the permission Standard AXL API Access of the CUCM user. For the IM&P sign-in, the application user and its group Admin-3rd Party API. For the observer, the activation for IM and Presence and the presence visibility. |
| http_not_found | HTTP 404. Check server address, port and the activated service. |
| application_session_active | HTTP 409 at the IM&P sign-in. A session already exists for the application user, for example that of the background service. The connection test does not take it over. In the diagnostic monitor, select the source Background sync and check the IM&P sign-in there. |
| http_rate_limited / http_server_error | HTTP 429 or 5xx. The server limits requests or reports an internal error. Observe the waiting time, check the service status and the server logs at the time stated. |
| http_redirect | The server refers to another address. EasyUC does not follow the redirect. Enter the address of the service with path and port. |
| provider_rejected | The service rejected the request in its response. This can also occur with HTTP 200. Check the Provider code, the user permissions and the service version. |
| invalid_xml / incomplete_response / missing_session_key | The response is not valid XML, is incomplete or contains no session key. Check the address of the service, an upstream proxy, the service version and the application user. |
| configuration_invalid | The stored configuration for this step is incomplete. Check server address, AXL version and credentials in the profile. |
| graph_token_rejected | Microsoft rejected the sign-in of the app. Check tenant ID, client ID, client secret and the permissions of the app registration in Microsoft Entra. |
| mapping_retry_wait | After a failed directory request, the user mapping waits 60 seconds until the next attempt. First check the step of the failed request. |
| persistence_failed | The check ran, but its result could not be saved. Check database and disk space of the appliance. |
| Composite codes | Steps of the background sync carry codes made up of component, step and result, for example graph_presence_read_ok or mapping_identity_match_warning. |
Interpreting the diagnostic monitor correctly
- Microsoft directory and CUCM · AXL show Not checked in most runs. EasyUC re-reads the directories for the user mapping at most every 15 minutes. In between it uses the stored mapping. The step User mapping · Load user mapping then shows Skipped, the group User mapping shows Warning / partially checked. This is not an error.
- Presence publication shows Not checked when there was nothing to set, refresh or remove in this run.
- The dots on the cards for Cisco and Teams only turn green when the check shown is current and contains the directory access successfully: for Teams Microsoft Graph · Read user directory, for Jabber CUCM AXL · Read user directory and Cisco IM&P · Sign in application user. In a run with a stored mapping these steps are missing.
- The step Match users states the number of user mappings and of conflicts. With zero mappings it shows Warning / partially checked.
- If a status query delivers no user statuses, the step shows Warning / partially checked with the next step of checking user mapping, observer and presence visibility.
- The call source of the CUCM does not appear as a check step of its own. Its errors are shown as the message of the run below the diagnostic monitor and in the status history with the direction System.
What to send to support
- Profile name and profile ID. The ID is in the file name of the export.
- EasyUC version and Cisco client of the profile, Jabber or Webex.
- Time of the fault with time zone and the Trace ID of the run concerned.
- From the failed step: component and step, Diagnostic code, HTTP status, Provider code and Requested endpoint.
- The file from Export diagnostics as JSON.
- For an individual user: name, direction, expected and actual status and the event number from the status history.
- Do not send passwords, client secrets or tokens. The export contains no credentials. It contains server names, the Microsoft and Cisco identifiers of the users and the message texts.
Limits
- EasyUC keeps the last 500 runs of the background sync per profile and the last 500 connection tests per Cisco connection. With an interval of 10 seconds, 500 runs go back about 80 minutes. Therefore export the diagnostics promptly after a fault.
- A run records at most 100 steps. Identical results appear once per run, even if they affect many users.
- A dry run writes no run to the diagnostic history.
- The export contains only what is loaded in the view, not the complete history of the server.
- The connection test checks the Cisco access. The access of the observer and the presence publication are not confirmed by it. Only a run of the background sync with a test user proves that.
- With Webex the connection test delivers a single step with a message, without diagnostic code and endpoint. There are no remembered certificates there.
- A diagnostic function does not replace a test with your own systems. After a change, check a status change with a test user in Presence Live.