[rrd-users] Re: forcing partial pull of data for day over a month

Steven Hartland killing at multiplay.co.uk
Tue Oct 3 15:58:27 MEST 2006


We do the same thing here but with different times 8am -> 12pm and
example of this is:
  DEF:inbytes=$dbfile:ds1:AVERAGE,
  DEF:outbytes=$dbfile:ds0:AVERAGE,
  CDEF:inbits=inbytes,8,*,
  CDEF:outbits=outbytes,8,*,
  CDEF:inpeakbits=TIME,86400,%,28800,LT,UNKN,inbits,IF,
  CDEF:outpeakbits=TIME,86400,%,28800,LT,UNKN,outbits,IF,

Should help point you in the right direction. You'd need to
add a GT check as well to discard 10pm -> 12pm.

    Steve
Randy Ridley wrote:
> Now, however, we've decided to only count bandwidth that occurs
> between the prime time hours of 8:00am to 10:00pm. Is there an easy
> way to have the rrdtool do this automatically or am I stuck using the
> fetch tool and doing the math manually?




================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.

--
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://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list