Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

How to use cfgmaker with OID ( mrtg )

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
Blue

Re: How to use cfgmaker with OID ( mrtg )

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

Community Member

Re: How to use cfgmaker with OID ( mrtg )

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

Community Member

Re: How to use cfgmaker with OID ( mrtg )

Hi!

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

14657
Views
0
Helpful
3
Replies
CreatePlease to create content