Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've got MRTG configured to look at disk space on some of my servers, here's the snippet from my mrtg.cfg file:

EnableIPv6: no
WorkDir: /var/www/mrtg

Factor[_]: 4
YTicsFactor[_]: 4
YLegend[_]: Bytes
kMG[_]: k,M,G,T,P

Target[server.server]: 1.3.6.1.2.1.25.2.3.1.5.38&1.3.6.1.2.1.25.2.3.1.6.38:public@server
Title[server.server]: DISK / USAGE
MaxBytes[server.server]: 10000000000
PageTop[server.server]: <h1>Server /server</h1>
Options[server.server]: gauge,nopercent,nolegend,growright
ShortLegend[server.server]: b
kilo[server.server]: 1024
LegendI[server.server]: Disk Size
LegendO[server.server]: Disk Usage
RouterUptime[server.server]: 1.3.6.1.2.1.25.1.1.0:public@server
RouterName[server.server]: 1.3.6.1.2.1.25.2.3.1.3.38:public@server

The daily graph looks right (the server does have a bit less than a terrabyte of storage, and it's using a good bit of it):

Daily graph

But the weekly, monthly, and yearly all don't seem to be using the higher units in generating the Y Axis scale. I mean, the numbers are right, but I'd like them in G, not in k:

Weekly graph

I'm running on a CentOS 6.5 system, and the mrtg package is 2.16.2-7.el6.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.