Ticket #39 (assigned enhancement)

Opened 6 years ago

Last modified 5 years ago

Make VRULE at-time aware

Reported by: _Cray_@… Owned by: oetiker
Priority: minor Milestone: RRDtool 1.3
Component: rrd_graph Version: 1.3dev
Keywords: VRULE, at-time Cc:

Description

Hello!

It would be very nice if the VRULE statement of the "rrd graph" function would be aware of the so called "at-time" way of entering times, like it is the case with the time statements in "rrd fetch". I don't know how complex this task would be, given that I know close to nothing about the internal workings of rrdtool, but it would make using the VRULE for markings in graphs so much more useful. For example: I'd like to have a vertical line in the dayly-graph, marking the beginning of the new day (0 o'clock, or 12pm). As far as I know, the only way to do this is to calculating it, using the current system time, clear the seconds, minute and hour part of it and create a new timestamp with the result. Using at-time-style statements, this could be broken down to:

VRULE:midnight#abcdef

Maybe the "midnight" has to be escaped, to avoid mixing it up with a ?DEF'ed variable, but as far as I can guess, that should be doable.

Regards,

-Jan

Change History

comment:1 Changed 5 years ago by oetiker

  • Status changed from new to assigned
  • Version changed from 1.2.12 to 1.3dev
  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.

NOTE: The content of this website is accessible with any browser. The graphical design though relies completely on CSS2 styles. If you see this text, this means that your browser does not support CSS2. Consider upgrading to a standard conformant browser like Mozilla Firefox or Opera but also Apple's Safari or KDE's Konqueror for example. It may also be that you are looking at a mirror page which did not copy the CSS for this page. Or if some pictu res are missing, then the mirror may not have picked up the contents of the inc directory.