EasyUC
4.9.49

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.

EasyUC · Version 4.9.49

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_WORKSPACE and ROLE_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

  1. On the profile, open the Profile tab and there step 2, Connect Cisco environment.
  2. Save open changes with Save setup. As long as changes are open, the test button stays locked.
  3. Click Test Cisco connection.
  4. Read the summary above the check pipeline: Cisco connection confirmed. or Cisco connection not yet fully confirmed.
  5. Read the header line of the check: Cisco connection test, time, duration in milliseconds and Trace ID.
  6. 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.
  7. In a group, click Show … check steps to see the details of a step.
  8. Check Remembered certificates below. If a server shows a different certificate from the remembered one, it shows The server now shows with the new fingerprint and the button Accept this certificate.

Step by step: read the diagnostic monitor

  1. Open Presence Live of the profile. The Diagnostic monitor is below the cards for Cisco and Teams.
  2. Under Diagnostic source, choose between Latest check, Background sync and Cisco connection test.
  3. Read the header line: source, time and Trace ID. If it shows Last known result · not current, the check is older than three intervals, at least 60 seconds, or the view could not retrieve the status.
  4. If there is a box above the pipeline with component, step, message and Next step, this is the first error or warning of this run. Start there.
  5. Go through the groups in order. For Jabber these are Microsoft directory, CUCM · AXL, User mapping, IM&P sign-in, Observer · read presence and Presence publication. Depending on the run, Read Teams presence and Synchronization service are added.
  6. At each group, read the result and the time of the check. For Failed or Warning / partially checked, open the check steps.
  7. Fix the cause and wait for the next run. The view reloads every 5 seconds.

Step by step: filter and export the diagnostic history

  1. On Presence Live, go to the Diagnostic history section below the key figures. The line below the heading states the number of loaded check runs. Initially the ten most recent runs are loaded.
  2. Each row is a run with source, time, number of steps and trace ID. Click a run to open its steps.
  3. Under Search diagnostics, enter part of the message, a diagnostic code, a server name or a trace ID.
  4. Narrow down with Component and Result. The runs that contain at least one matching step remain. Reset clears the filters.
  5. Click Load older diagnostics to go further back. Each click loads up to 50 further runs.
  6. Click Export diagnostics as JSON. The browser saves a file whose name consists of presence-diagnostics-, the profile ID and a timestamp.
  7. The export contains all loaded diagnostics and the loaded entries of the status history, regardless of the filters. Before exporting, load far enough back that the time of the fault is included.

Fields and options: details at a check step

Fields and options: details at a check step
Field / actionMeaning and use
Component · stepWhat 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.
ResultCheck passed, Failed, Warning / partially checked, Skipped or Not checked. A group takes on the least favourable result of its steps.
MessageFixed text from EasyUC for this result.
Next stepRecommended action, for example which permission or which address to check.
Diagnostic codeShort, constant code of the cause, for example tls_failed or http_unauthorized. Give it to support.
HTTPHTTP 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 codeNumeric 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 endpointMethod, 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 / DurationTime of the step in your local time and run time in milliseconds.
Trace IDIdentifier of the check run. All steps of a run carry the same one. With Search diagnostics you find the run again by it.
Diagnostic sourceBackground 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

Fields and options: diagnostic codes
Field / actionMeaning and use
dns_failedThe server name could not be resolved. Check DNS resolution on the appliance and the stored server name.
connection_failed / timeoutThe connection was not established or the server did not respond in time. Check server, port, routing and firewall from the appliance.
tls_failedThe 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_unauthorizedHTTP 401. The server rejected the sign-in. Check the stored credentials and the account status.
http_forbiddenHTTP 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_foundHTTP 404. Check server address, port and the activated service.
application_session_activeHTTP 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_errorHTTP 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_redirectThe server refers to another address. EasyUC does not follow the redirect. Enter the address of the service with path and port.
provider_rejectedThe 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_keyThe 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_invalidThe stored configuration for this step is incomplete. Check server address, AXL version and credentials in the profile.
graph_token_rejectedMicrosoft 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_waitAfter a failed directory request, the user mapping waits 60 seconds until the next attempt. First check the step of the failed request.
persistence_failedThe check ran, but its result could not be saved. Check database and disk space of the appliance.
Composite codesSteps 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.

Related chapters