Whether you use Native mode MRTG, Routers2 or 14all, I believe it is not 
possible to customise the X-axis labels in this way without modifying the code.

If you use Routers2 as your frontend, and are comfortable with modifying the 
code yourself, then I can point you in the direction of which area you will 
need to change.  Otherwise, you'll need to use something like rrdcgi and 
specify the complete RRDtool command line yourself...

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
[email protected]<mailto:[email protected]>
Ph: +64 9 373 7599 ext 86487

________________________________
From: [email protected] 
[[email protected]] on behalf of Amit 
Jathar [[email protected]]
Sent: Thursday, 21 April 2011 6:34 p.m.
To: [email protected]
Subject: [mrtg] need some rrd modifications for x-axis while using mrtg

Hi,

I am using MRTG & can see beautiful graphs for traffic on the interfaces. It’s 
a very nice tool, Thanks a lot … :)

I can see the X-axis is scaled to show the grid lines for every two hrs. ( I 
think it’s a default time)
I want to see the grid lines every 10 minutes.

I saw the configuration on the link : 
http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html#___top
--x-grid MINUTE:10:HOUR:1:HOUR:4:0:%X
This places grid lines every 10 minutes, major grid lines every hour, and 
labels every 4 hours. The labels are placed under the major grid lines as they 
specify exactly that time.


I think this configuration cannot be written in the mrtg.cfg file.
I could not find where exactly we can put this configuration, so that I will 
see the grid lines for 10 minutes.

Any help on this issue ?

Thanks,
Amit



________________________________
This email (message and any attachment) is confidential and may be privileged. 
If you are not certain that you are the intended recipient, please notify the 
sender immediately by replying to this message, and delete all copies of this 
message and attachments. Any other use of this email by you is prohibited.
________________________________


_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to