What is MADM in Telecommunications

introduction

This document describes the process of finding, viewing, and downloading logs in a Unified Contact Center Express (UCCX) using the command line interface (CLI).

requirements

conditions

There are no special requirements for this document.

Components used

This document is not limited to specific software and hardware versions.

The information in this document was produced by the devices in a specific laboratory environment. All devices used in this document started with an empty (standard) configuration. With your network up and running, make sure you understand the potential implications of a command.

Find / view / download logs from the UCCX

Below are the commands to find, view and download UCCX logs via Secure Shell (SSH) via the CLI:

Search logs

Syntax:

File list {activelog} | inactivelog | Installation | PartBalog | Catalog | tftp} file-spec [options]

File spec .: Displays a mandatory file
Options: optional - page | detail | verse | [date | size]

  • page: Displays the output only one screen at a time.
  • detail - Long list with date and time
  • Reverse - Reversing the sorting direction
  • date - Sort by date
  • size - Sort by file size

Example:

admin: file list activelog / detail
15 Sep, 2016 09:07:48 audit
15 Sep, 2016 09:07:48 ccm_db
15 Sep, 2016 09:07:48 cm
Sep 15, 2016 09:07:48 AM core
15 Sep, 2016 09:07:48 cuic
Sep 15, 2016 09:07:48 AM desktop
15 Sep, 2016 09:07:48 dp_db
Sep 15, 2016 9:07:48 am mgetty
Sep 15, 2016 09:07:48 patches
15 Sep, 2016 09:07:48 platform
15 Sep, 2016 09:07:48 sa
15 Sep, 2016 09:07:48 sso
Sep 15, 2016 9:07:48 am syslog
Sep 15, 2016 09:07:48 AM tomcat
15 Sep, 2016 09:07:48 uccx

Logs Show

Syntax:

File view {activelog | inactivelog | install} file-spec

File specification Mandatory file for viewing

The file must be resolved into a file.

Download logs

Syntax:

file get {activelog | inactivelog | install} file-spec [options]

File specification Mandatory file for the transfer

Optional time periods | weeks | days | hours | minutes time value

abstih hh: mm: MM / DD / YY hh: MM / DD / YY

Compliance regex

Repetitions

press together

  • reltime - Relative time span, expressed as Minutes | Hours | Days | Weeks | value for months
  • abstime - Absolute time span, expressed as hh: mm: MM / DD / YY hh: mm: MM / DD / YY
  • match - Assign a specific string in the file name, which is saved as a String value is specified
  • recurs - Retrieve all files including subdirectories
  • With the Compression option you can download the files in zip format.

Note: To download the files, make sure the external Secure File Transfer Protocol (SFTP) server is configured and accessible.

tip: With the option recurs you can traverse the directory for all subdirectories and files. This is used when you want to get all the logs from a directory.

View realtime logs

You can use the command: show open files regexp <logfile-expression-to-match> to call up the currently written logs in real time on the CLI. This method is useful for performing live troubleshooting. You can view the current log that is being written to memory, and then accordingly Tail, view or Get View (download) this file from the CLI for analysis.

The command can match a regular expression that matches any log file name. This allows you to troubleshoot problems in real time (which can be played back live).

Examples:

1. Fix a bug in Appadmin to view or get the latest log while reproducing the problem in real time.

Display of open files regexp MADM

Copy the path of the current file from the current directory / uccx / log / MADM /

admin: show open files regexp MADM
Executing .. please wait.
tomcat 29349 tomcat 729w REG 8.6 1905330 5640852 / common / log / taos-log-b/uccx/log/MADM/Cisco001MADM076.log

admin: file view activelog /uccx/log/MADM/Cisco001MADM076.log
admin: file get activelog /uccx/log/MADM/Cisco001MADM076.logadmin:file tail activelog /uccx/log/MADM/Cisco001MADM076.log

2. Troubleshoot a failure of a call on the module due to a step in the script while reproducing the problem in real time

show open files regexp MIVR

Copy the path of the current file from the current directory / uccx / log / MIVR /

3. Fix a problem with Finesse or CUIC while reproducing the problem in real time.

Finesse - show open files regexp desktop web services

CUIC - show open files regexp CCBU-cuic

Examples

Here are some examples of using these commands:

  • To view only Finesse Tomcat logs: file view activelog /desktop/finesse/logs/catalina.out
  • To download Finesse Tomcat logs: file get activelog /desktop/finesse/logs/catalina.out
  • To download ALL Finesse Logs: Compress file get activelog / desktop recurs
  • To view the system history logs to determine the last reboot: Install file view /system-history.log

Note: You don't need the '/'. Alternatively: The install system-history.log file view also works

  • How to fix NTP problems: file view activelog /syslog/sd_ntp.log
  • To download the Voice Operating System (VOS) platform replication logs (including sysmaster, sysutils, sysuser, sysadmin, syscdr, db_phx_config, cuic_data, ccm_X_Y_Z_aaa_bb): file get activelog /cm/log/informix/ccm.log
  • To download the UCCX Engine (MIVR) protocols: file get activelog / uccx / log / MIVR recurs compurs
  • To download all logs from the active partition (except the installation logs): file get activelog / recurs compress
  • To capture a package capture that you have made in UCCX, where the capture name is UCCxPackets: file get activelog /platform/cli/UCCxPackets.cap
  • To view all service manager logs, use a wildcard to filter only the server logs: File list activelog /platform/log/servm*.log

Related information