[Orca-users] Re: Orcallator CPU Questions
Sean O'Neill
sean at seanoneill.info
Mon Aug 19 09:03:44 PDT 2002
At 05:29 PM 8/16/2002 -0700, Blair Zajac wrote:
>Sean O'Neill wrote:
> > Your not missing much. Its a 5 Minute "AVERAGE". Short large spikes
> > within the probe period are flatten out. You can change the data
> > collection interval in orcallator.se to anything you want. I have mine set
> > to 60 seconds. Each data element in the hourly and daily graphs will still
> > be a "5 minute average" though - this is an RRD limitation not a limitation
> > of orcallator.se. RRD takes these 1 minute interval date elements and
> > "computes" them into the RRD files whose lowest data interval is 5 minutes.
>
>You can change your orcallator.cfg `interval', backup and delete your
>RRD files and then you should get plots with 1 minute data. If not, then
>lib/Orca/Constants.pm would have to be edited. Let me know.
lib/Orca/Contstants.pm does not have to be changed. The hourly graphs now
show the 1 minute data elements graphed. RRDs are now setup for a "step"
value of 60 seconds:
<soneill at chivas:16>$ /usr/local/orca/bin/rrdtool info gauge_trap.rrd
filename = "gauge_trap.rrd"
rrd_version = "0001"
step = 60
last_update = 1029772684
<SNIP>
I found in the lib/Orca/RRDFile.pm the code allowing this step value to be
changed based on the interval value from the config file (with some
somewhat funky math LOL) - sweet :)
--
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...
Sean O'Neill
More information about the Orca-users
mailing list