Download Print this page

Cisco Dial NMS Implementation Manual page 60

Cisco systems basic dial nms implementation guide

Advertisement

Example:
./cfgmaker 5urf5h0p@travis-nas-01 >> travis-nas-01.cfg
In the previous example:
is the SNMP community string.
5urf5h0p
is the hostname of the managed device.
travis-nas-01
travis-nas-01.cfg
If the domain name server (DNS) is not working, MRTG cannot use a hostname.
You must use an IP address instead.
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
The work directory is
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
is the configuration file that MRTG reads each time it starts up.
5urf5h0p
WorkDir: /export/home/www/mrtg/travis-nas-01/dial

Advertisement

loading