Overview

The CISCO-TELEPRESENCE-CALL-MIB is available in CTS codecs. The MIB provides both signaling and media statistics for the current and past calls on the individual system. A remote network management system can query the CTS codec to download this information proactively. The MIB is somewhat complex in terms of how the table indexing is implemented.

This script is very similar to the Net-SNMP snmptable command in that it will walk through the MIB objects to build a column and row format of the content. Instead of displaying the results to stdout, the output will be written to three CSV files. One of which will be a summary of audio/video statistics.

This script should be used only as an example to illustrate how-to use the CISCO-TELEPRESENCE-CALL-MIB to download call detailed records, including media statistics.

Requirements

This script is written in BASH and AWK using standard SED and Net-SNMP commands (snmpbulkwalk, snmptranslate, and snmpset).

The following MIBS are required to be installed in your Net-SNMP mibs directory before running the script:

The script is platform independent and should run on any unix based platform.

Cisco TelePresence Call MIB Example Script

This script will walk the CTS codec in an efficient fashion by using bulkwalk instead of hundreds of single object queries. The system is walked only once to gather the initial set of data. The data is cached and used by the script to build three output files. There are over 50+ objects per call detail record. In effort to make the output more human readable, two additional files will be generated in addition to the RAW dump (details) file. The below table details the CDR output types that will be generated.