cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
22757
Views
0
Helpful
3
Replies

How to use cfgmaker with OID ( mrtg )

kayih
Level 1
Level 1

When I launch : "perl cfgmaker public@192.168.1.1 > 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:public@192.168.1.1 > mrtg.cfg

3 Replies 3

rmushtaq
Level 8
Level 8

Refer to http://www.mrtg.org for help on this.

dangel
Level 1
Level 1

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:public@192.168.1.1

RouterUptime[192.168.1.1.cpu]:public@192.168.1.1

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

andrea.meconi
Level 2
Level 2

Hi!

You can find more examples here http://www.somix.com/software/mrtg/

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: