[mrtg] Antwort: MRTG-RRD CGI graphing wrong Y value

Stefan.Heins at seb.de Stefan.Heins at seb.de
Thu Sep 12 08:56:53 MEST 2002



Hi Binh,
just correct your Maxbytes to 2097343000.
1000 Bytes are 1 KByte
1.000.000 Bytes are 1 MByte
1.000.000.000 Bytes are 1 GByte

Cheers,
Stefan




"Nguyen, Binh T" <binh.nguyen at eds.com>@list.ee.ethz.ch am 12.09.2002
06:41:15

Gesendet von:  mrtg-bounce at list.ee.ethz.ch


An:   "'mrtg at list.ee.ethz.ch'" <mrtg at list.ee.ethz.ch>
Kopie:     (Blindkopie: Stefan Heins/501174/Zentrale/SEB-AG)

Thema:    [mrtg] MRTG-RRD CGI graphing wrong Y value

Hi all

Does anyone has a problem with mrtg-rrd cgi generating wrong Y values?

Say I got  2 Gig / partition

the value that it returned for total size and used space is correct
ie Total size: 2048MB  and Used: 920MB

but on the Y graph display 1M-2M instead of 1G-2G  or 1000M-2000M

attached is my MRTG config for this diskspace section and the graph
(have a look at the Y section of the graph).
I also have a similar problem with memory with Y values

Thanks
Binh
ps:sofware and platform
Solaris 8
Latest current MRTG and RRDtool and mrtg-rrd.cgi
Net-snmp 5.0.4 pre 2 ....(stable 5.0.3 keep crashing on my box if I have
host mib compiled in)....
and another thing if I use MRTG without RRDtool and mrtg-rrd.cgi it
displays
correctly in  1000M-2000M

WorkDir: /opt/apache/DOCS/mrtg/raptor
IconDir: /icons

LogFormat: rrdtool
PathAdd: /usr/local/rrdtool/bin
LibAdd: /usr/local/rrdtool/lib/perl

LoadMIBs:
/opt/local/netsnmp/share/snmp/mibs/UCD-SNMP-MIB.txt,/opt/local/netsnmp
/share/snmp/mibs/HOST-RESOURCES-MIB.txt,/opt/local/netsnmp/share/snmp/mibs/D

ISMA
N-EVENT-MIB.txt,/opt/local/netsnmp/share/snmp/mibs/UCD-DISKIO-MIB.txt


Target[raptor.hrroot]:hrStorageSize.1&hrStorageUsed.1:public at raptor:::::2
RouterUptime[raptor.hrroot]: public at raptor
MaxBytes[raptor.hrroot]: 2097343
WithPeak[raptor.hrroot]: dwmy
Unscaled[raptor.hrroot]: dwmy
Title[raptor.hrroot]: / Disk Usage
PageTop[raptor.hrroot]: <H2>DISK / Usage</H2>
ShortLegend[raptor.hrroot]: B
kMG[raptor.hrroot]: k,M,G,T,P
kilo[raptor.hrroot]: 1024
YLegend[raptor.hrroot]: / Disk Utilization
Legend1[raptor.hrroot]: Root disk size
Legend2[raptor.hrroot]: Root disk usage
Legend3[raptor.hrroot]:
Legend4[raptor.hrroot]:
LegendI[raptor.hrroot]:  Root disk size
LegendO[raptor.hrroot]:  Root disk usage
Options[raptor.hrroot]: growright,gauge

 <<raptor.hrroot-day.png>>
Max Root disk size  2048.2 MB (100.0%)  Average Root disk size  2048.2 MB
(100.0%)  Current Root disk size  2048.2 MB (100.0%)
Max Root disk usage  900.2 MB (44.0%)  Average Root disk usage  900.2 MB
(44.0%)  Current Root disk usage  900.2 MB (44.0%)



-- Attached file removed by Listar and put at URL below --
-- Type: application/octet-stream
-- Size: 12k (12549 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/raptor.hrroot-day.png


--
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

Mit freundlichem Gruß / best regards / med vänlig hälsning
Stefan Heins
Fone: +49 69 258 9008
Fax:    +49 69 258 8979
SEB IT Service - Network/Internet
---------------------------------------
http://inet.seb.de/nmgmt
---------------------------------------



--
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