[mrtg] YticsFactor problem

Frédéric LE BASTARD flb at strathom.com
Fri Apr 5 15:53:27 MEST 2002


Hi all,

I'm using mrtg to monitor a few linux / WéK boxes.

I have a probleme monitoring disk space on w2k boxes : i'm polling 1.3.6.1.2.1.25.2.3.1.6.2&1.3.6.1.2.1.25.2.3.1.5.2 on the windows boxe, which stands for host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.2&host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.2.

The things is the values polled are clusters. Right. In fact I just need to multiplicate this value by the size of a cluster. So i use the Factor[] option.

In fine, my graphes look fine, and the values in the legend bar are OK, I get the number of cluserts*my factor.

The problem is the values on the Y scale are wrong, they are not multiplicated by the factor value. I tried to use YTicsFactor[] with the same value as the Factor value, but it won't work, it acts as if the YTicsFactor[] doesn't exist !

This is the relevant section , with global options :

ImageDir: /var/www/html/mrtg/images
WorkDir: /var/www/html/mrtg/celti005
LoadMIBs: <snip>
Options[_]: growright
Language: French
XSize[_]: 300
Ysize[_]: 75
Colours[_]: LIGHT BLUE#7aafff,BLUE#1000ff,DARK BLUE#000066,VIOLET#ff00ff,GREEN#00ff00

Target[celti005.disquec]: 1.3.6.1.2.1.25.2.3.1.6.2&1.3.6.1.2.1.25.2.3.1.5.2:community at celti005
Title[celti005.disquec]: Disque C sur celti005
MaxBytes[celti005.disquec]: 10000000
YLegend[celti005.disquec]: Octets
ShortLegend[celti005.disquec]: o
PageTop[celti005.disquec]: <H1>Disque C sur celti005</H1>
Options[celti005.disquec]: nopercent,growright,noinfo,gauge
Factor[celti005.disquec]:4096
YTicsFactor[celti005.disquec]:4096
#Unscaled[celti005.disquec]:dwmy
kMG[celti005.disquec]:,k,M,G,T,P
Kilo[celti005.disquec]:1024
Legend1[celti005.disquec]: Espace utilis&eacute;&nbsp;
Legend2[celti005.disquec]: Espace total&nbsp;
LegendI[celti005.disquec]: Espace utilis&eacute;&nbsp;
LegendO[celti005.disquec]: Espace total&nbsp;

Any hints ?

Thanks for you help, have a nice week end

Fred


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