03-17-2002 08:56 AM - edited 03-01-2019 08:54 PM
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
03-17-2002 11:01 AM
Refer to http://www.mrtg.org for help on this.
03-18-2002 10:57 AM
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
03-20-2002 09:37 AM
Hi!
You can find more examples here http://www.somix.com/software/mrtg/
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: