×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

How to use cfgmaker with OID ( mrtg )

Unanswered Question
Mar 17th, 2002
User Badges:

When I launch : "perl cfgmaker [email protected] > mrtg.cfg ";

it works find and it creates the file with all interfaces of the router.

but How I can I use cfgmaker command with the router's CPU OID to create the file ?

in other words I would like to create a mrtg.cfg file to monitor only the CPU load .

I try this command but no result :


perl cfgmaker 1.3.6.1.4.1.9.2.1.57&1.3.6.1.4.1.9.2.1.58:[email protected] > mrtg.cfg

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Edit your "mrtg.cfg" file and copy this lines.

# Router CPU load %

Target[192.168.1.1.cpu]:1.3.6.1.4.1.9.2.1.58.0&1.3.6.1.4.1.9.2.1.58.0:[email protected]

RouterUptime[192.168.1.1.cpu]:[email protected]

MaxBytes[192.168.1.1.cpu]: 100

Title[192.168.1.1.cpu]: CPU LOAD

PageTop[192.168.1.1.cpu]:CPU Utilization 192.168.1.1

ShortLegend[192.168.1.1.cpu]: %

XSize[192.168.1.1.cpu]: 380

YSize[192.168.1.1.cpu]: 100

YLegend[192.168.1.1.cpu]: CPU Utilization

Legend1[192.168.1.1.cpu]: CPU Utilization in % (Load)

Legend2[192.168.1.1.cpu]: CPU Utilization in % (Load)

Legend3[192.168.1.1.cpu]:

Legend4[192.168.1.1.cpu]:

LegendI[192.168.1.1.cpu]:

LegendO[192.168.1.1.cpu]:  Usage

Options[192.168.1.1.cpu]:gauge,growright,nopercent


Actions

This Discussion