[rrd-users] Re: mrtg-rrd - WeekFormat and GrowRight
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Thu Jun 20 01:40:53 MEST 2002
Uffe R. B. Andersen wrote:
> First of all, mrtg-rrd doesn't support the MRTG directive of WeekFormat,
> whinch in my case means, that all Monthly graphs shows a wrong week number.
> Is there a way to hardcode the use of strftime %V into mrtg-rrd? Or is it
> really in the graph module, that I need to change this?
In any case, if noone else replies, you can use the "--x-grid" option
to change the format. I don't know mrtg-rrd so you have to look at
that code to see if it already creates such a line. If not, it is
probably something like "--x-grid" "DAY:1:WEEK:1:WEEK:1:604800:Week %V"
"DAY:1:WEEK:1:WEEK:1:604800:Week %V"
^^^^^^^ print "Week xx"
^^^^^ in the middle of 604800 seconds ...
^^^^^^ ... every week
^^^^^^ major grid line every week
^^^^^ minor grid line every day
> Also, I've grown used to the left growing grahps and would to continue
> using that, but mrtg-rrd defaults to GrowRight. Can anyone direct me, on
> how to change this too?
Check the archives. IIRC there was a patch to do so. Stock RRDtool
doesn't support it.
HTH
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/ |
| http://rrdtool.eu.org --> tutorial |
+----------------------------------------------------------------------+
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list