[mrtg] Re: Problem creating html using Indexmaker

Leandro Nicoletti leandro_nicoletti at yahoo.co.uk
Thu Sep 12 13:53:46 MEST 2002


Thanks for the reply Pete,

Yeh that was a typo.

If I use MRTG in its default state to graph an
interface using the following commands everything if
fine.

'perl cfgmaker community at ipaddress --output mrtg.cfg'

then run 

'perl indexmaker mrtg.cfg>mrtg.html'

Being new to this software, I'm unsure how to use
cfgmaker to to create a cfg file that only contains
CPU information. So I went to a website an downloaded
a checkpoint.cfg.

I was under the impression one could simply run the
indexmaker against this checkpoint.cfg and I would end
up with a useable checkpoint.html, but all I end up
with is html that refferences the MRT website.

Any ideas


WorkDir: c:\mrtg-2.9.22\wwwroot
Refresh: 300
RunAsDaemon: yes
Interval: 5

# Example CFGNAME :
192.200.10.30-checkpoint_cpu_usage

Target[192.200.10.30]:

1.3.6.1.4.1.94.1.21.1.6.1.0&1.3.6.1.4.1.94.1.21.1.6.1.0:$community@$192.200.10.30
 
YLegend[192.200.10.30-checkpoint_cpu_usage]: CPU
Utilization
ShortLegend[192.200.10.30-checkpoint_cpu_usage]: %
MaxBytes[192.200.10.30-checkpoint_cpu_usage]: 100
Options[192.200.10.30-checkpoint_cpu_usage]:
nopercent, gauge, unknaszero
Unscaled[192.200.10.30-checkpoint_cpu_usage]: dwmy
Legend1[192.200.10.30-checkpoint_cpu_usage]:
Average
CPU Utilization
Legend2[192.200.10.30-checkpoint_cpu_usage]: .
Legend3[192.200.10.30-checkpoint_cpu_usage]: Max
value per interval on graph
Legend4[192.200.10.30-checkpoint_cpu_usage]: .
LegendI[192.200.10.30-checkpoint_cpu_usage]: CPU:
LegendO[192.200.10.30-checkpoint_cpu_usage]: .
Title[192.200.10.30-checkpoint_cpu_usage]: $DEVICE
PageTop[192.200.10.30-checkpoint_cpu_usage]:
<H1>$DEVICE</H1>
Colours[192.200.10.30-checkpoint_cpu_usage]:
GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[192.200.10.30-checkpoint_cpu_usage]: ymw



__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list