cc/td/doc/product/cable/svc_ctrl/scappsbb
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table Of Contents

Overview

What are MRTG and RRDTool?

Components of SNMP RTM with MRTG and RRDTool

SCA BB Real-Time Monitoring Reports

Pre-defined SCA BB Real-Time Monitoring Reports

About Real-Time Monitoring Reports

The SCA BB Real-Time Monitoring Environment

SCA BB Real-Time Monitoring Setup

The RTM Directory


Overview


SNMP-based monitoring tools, such as MRTG, allow network administrators to monitor the activity and health of network devices in real time. Cisco SCA BB includes an SNMP-based real-time monitoring solution, which is implemented using MRTG and a Round Robin Database (RRDTool).

The SCA BB Real-Time Monitoring Configuration Utility ( rtmcmd ) is a command-line utility (CLU) for automating the production of the files required by the MRTG tool.

What are MRTG and RRDTool? 

Components of SNMP RTM with MRTG and RRDTool 

SCA BB Real-Time Monitoring Reports 

The SCA BB Real-Time Monitoring Environment 

What are MRTG and RRDTool?

The Multi Router Traffic Grapher (MRTG) is a tool that monitors the traffic load on network links by monitoring specified SNMP counters. It generates HTML pages containing images that provide real-time visual representation of this traffic, allowing the user to see traffic load on a network over time in graphical form. The SCE platform running the SCA BB application provides numerous SNMP counters that can be used to produce reports.

Round Robin Database Tool (RRDTool) stores and displays time-series data. The data is stored in a round-robin database so that the system storage footprint remains constant over time. This tool is used in conjunction with MRTG to produce higher-quality graphics.

References

Refer to the following links for MRTG and RRDTool documentation and download:

MRTG web page

RRDTool web page

Components of SNMP RTM with MRTG and RRDTool

Following are the components of an MRTG / RRDTool monitoring system:

MRTG is a script that collects SNMP data from monitored devices. It monitors SNMP network devices and stores the retrieved data in a database. It is written in Perl and works on Unix/Linux and Windows.

MRTG is free software licensed under the Gnu GPL. It requires the following:

Perl

RRDTool to persist data and to generate high quality graphs

The MRTG CFG file lists the SNMP OIDs of the SNMP counters that MRTG should poll.

RRDTool stores data and generates charts. RRDTool uses Round Robin Database to store time-series data, and generates charts using this data.

RRDTool is a free software licensed under the Gnu GPL. It requires the following:

A web server to delegate user requests to the RRDTool's CGI interpreter

RRDTool CGI files implement the report web pages. These files are executable scripts residing on the web server. When you request a report web page, RRDTool executes the script and dynamically creates the updated chart.

Cron (or any other scheduling service) periodically invokes MRTG to poll SNMP counters from monitored devices.

Apache (or any other web server) serves the charts to the user web browser.

Cisco Service Control platforms support MIBs counters that are monitored by MRTG.

The following diagram illustrates the components of a real-time SNMP monitoring system in action:

Figure 1-1 Components of a Real Time SNMP Monitoring System

References

Refer to the following links for RTM software components documentation and download:

PyCron (for windows setups)

ActivePerl (for running MRTG)

Apache Web-Server

SCA BB Real-Time Monitoring Reports

Pre-defined SCA BB Real-Time Monitoring Reports 

About Real-Time Monitoring Reports 

Pre-defined SCA BB Real-Time Monitoring Reports

MRTG and RRDTool each require configuration files containing the information necessary for creating the reports, such as the OIDs of the relevant SNMP counters. To simplify the process of creating and maintaining MRTG configuration files and RRDTool CGI report files, Cisco SCA BB provides the following:

A set of templates for creating MRTG CFG files and RRDTool CGI files that implement pre-defined reports based on SCE and SCA BB MIBs. These templates cannot be used as is, and must first be processed to reflect the specific Service Configuration to be monitored.

A software tool, rtmcmd, that processes the templates into CFG and CGI files, according to the specified SCA BB Service Configuration and SCE platform hostname or IP address.

The following table lists the available Cisco Service Control pre-defined SNMP based reports.

Table 1-1 Pre-defined SCA BB Real-Time Monitoring Reports

number
Report Title

SCA BB Reports

1

Link 1 Global Downstream BW per Service

2

Link 1 Global Upstream BW per Service

3

Link 2 Global Downstream BW per Service

4

Link 2 Global Upstream BW per Service

5

Total Global Downstream BW per Service

6

Total Global Upstream BW per Service

7

Global Active Subscribers per Service

8

Global Concurrent Sessions per Service

9

Global Concurrent Voice Calls

SCE Operational Reports

10

Log Counters

11

Active Flows per Traffic Processor

12

Traffic Processors Average Utilization

13

Flow Open Rate per Traffic Processor

14

Packets Rate per Traffic Processor

15

Subscriber Counters

16

RDR Counters

17

Downstream Bandwidth per TX Queue

18

Upstream Bandwidth per TX Queue


About Real-Time Monitoring Reports

Note the following general information regarding charts:

Each report is actually made of the following four charts, representing different time scales. These charts are based on the round robin archives for each SNMP counter (the archives are created by MRTG).

Daily (5-minute average)

Weekly (30-minute average)

Monthly (2-hour average)

Yearly (1-day average)

The legend items for each graph item (including the total item) include the following information for each item:

Average value

Maximum value

Current value

The data in each chart is a series of average values (a series of 5-minute-average values for the daily chart, 30-minute-average for the weekly chart, and so on)

Maximum value items do not show the actual highest value of the monitored counter in each period, but rather the highest average value in the series, which is likely to be lower than the actual maximum value.

The colors of the chart items are taken from a pre-defined, non-configurable set of colors.

The following diagram shows a report example.

Figure 1-2 Sample Graph

The SCA BB Real-Time Monitoring Environment

SCA BB Real-Time Monitoring Setup 

The RTM Directory 

SCA BB Real-Time Monitoring Setup

An RTM setup requires the installation of the components described in Chapter 3, "The Real-Time Monitoring Configuration Utility," and can be set up on either Windows or Unix/Linux servers.

The Getting Started section provides a step by step description how to set up a SCA BB RTM system.

SCA BB RTM system requires MRTG version 2.14 and RRDTool version 1.2. Consult the MRTG web site for the exact required Perl version.

Cisco has tested SCA BB RTM systems on the following setups:

Windows 2000/XP using Apache v2.2 and PyCron v0.5

Linux Red-Hat 3 and Red-Hat 4.


Note The SCA BB RTM functionality can support up to 90 SCE platforms.


The RTM Directory

To view a report, RTM users browse to a URL mapped to a designated directory on their web server. This designated directory is referred to as the RTM directory . Users are required to create the RTM directory under the web server web documents directory tree; for example, when using an Apache web server on a Windows system, the RTM directory might be located at C:/PROGRA~1/APACHE~1/Apache2.2/htdocs/rtm. Upon completion of an RTM setup installation (see Getting Started, page 2-1 ), the SCA BB RTM directory contains the following sub-directories and files:

An mrtg-cfg folder containing an MRTG CFG file for each monitored SCE platform. The CFG file names have the following pattern <SCE IP/Host- name>_scabb_mrtg.cfg.

A directory for each SCE named sce_<SCE IP/Host-name >. These directories contain the Report CGI files and the RRDTool archives after the first invocation of MRTG.

A static folder containing common, invariant files such as CSS and image files.

A . htaccess file (Apache web server only). This file is used to exclude files or folders from the automatic listings of the RTM directory.


hometocprevnextglossaryfeedbacksearchhelp

Posted: Wed May 30 14:38:28 PDT 2007
All contents are Copyright © 1992--2007 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.