[mrtg] Problem creating html using Indexmaker
Leandro Nicoletti
leandro_nicoletti at yahoo.co.uk
Thu Sep 12 04:03:59 MEST 2002
I farerly new to MRTG having only used it to monitor
interfaces.
I would now like to monitor CPU activity particularly
on Nokia firewalls.
I downloaded the following CFG from
http://crc.somix.com/cgi-bin/Mib2Mrtg.exe where there
are templates for various devices.
My problem is creating the html document. With the
interfaces I simply used to run 'Perl indexmaker
filename.cfg>filename.html' .
When I do this with the following script, it appears
to run, but the only thing I see in the html document
is the MRTG link, no table of graph.
I've looked at the websites, but I'm still puzzled.
Can anyone help ??
Thanks
#checkpoint_cpu_usage
# This Report File Template measures CPU usage on
CheckPoint Firewalls
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]: 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