Custom x-labels using strftime

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Bragi Baldursson

Custom x-labels using strftime

Post by Bragi Baldursson »

Is it anyhow possible to display custom x-labels for your graphs in cacti.

I would like to display my hours as 12 and not as 12:00 i.e. without the minutes. In rrdtool I would do something like
MINUTE : 15 HOUR : 1 : HOUR : 1 : 60 : %H

If not directly can someone tell me where to look in the source to make these changes?
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

I have not included the functionality to edit the x-axis from within cacti. If you want to edit the source and make the change yourself, I suggest looking at 'include/rrd_functions.php' ~line 419.

Please ask if you need any additional assistance.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests