Cisco Systems Dial NMS manual Example

Models: Dial NMS

1 132
Download 132 pages 47.44 Kb
Page 60
Image 60
Example:

Task 3—Using MRTG to Monitor and Graph Traffic Loads

How to Inspect and Interpret Data

Example:

./cfgmaker 5urf5h0p@travis-nas-01 >> travis-nas-01.cfg

In the previous example:

5urf5h0p is the SNMP community string.

travis-nas-01is the hostname of the managed device.

travis-nas-01.cfgis the configuration file that MRTG reads each time it starts up.

Note If the domain name server (DNS) is not working, MRTG cannot use a hostname.

You must use an IP address instead.

Step 4 By using a text editor, edit the configuration file (.cfg) to enable polling of dial variables and OIDs. For a complete list of OIDs to poll, see the “About Selecting Dial OIDs” section on page 54.

The following configuration file is from a Cisco AS5300. This file can be used as a configuration template for your environment, but use your own community string, work directory, and device name.

The following definitions are used in the example:

The RO community string is 5urf5h0p

The work directory is WorkDir: /export/home/www/mrtg/travis-nas-01/dial

The device name is travis-nas-01

An electronic copy of this template is available at

http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/dialnms/dialmrtg.txt

WorkDir: /export/home/www/mrtg/travis-nas-01/dial

#set defaults Options[_]: growright

#make legends reflect these are call counters YLegend[_]: Active Calls

ShortLegend[_]: calls

LegendI[_]:  calls:

LegendO[_]:  calls:

######################################################################

#----------------------------------------------------------------------------------------

------

# purpose: DS0s and PPP Sessions.

#----------------------------------------------------------------------------------------

------

Target[travis-nas-01_DS0PPP]: 1.3.6.1.4.1.9.10.19.1.1.4.0&1.3.6.1.4.1.9.10.19.1.1.5.0:5urf5h0p@travis-nas-01 MaxBytes1[travis-nas-01_DS0PPP]: 200

MaxBytes2[travis-nas-01_DS0PPP]: 200

Title[travis-nas-01_DS0PPP]: DS0s and PPP sessions in Use

PageTop[travis-nas-01_DS0PPP]: <H2>DS0s and PPP sessions in Use</H2> <TABLE>

<TR><TD>Device:</TD><TD>travis-nas-01</TD></TR> <TR><TD><a href="/mrtg/mrtg.html">HOME</a></TD></TR>

</TABLE> Options[travis-nas-01_DS0PPP]: gauge

Basic Dial NMS Implementation Guide

$￿

Page 60
Image 60
Cisco Systems Dial NMS manual Example