[Orca-users] Orcallator hourly but on a specific time in the pass

Stoltzfus, Mark (HQP) Mark.Stoltzfus at rhi.com
Mon Apr 18 08:35:40 PDT 2005


     I do this kind of thing all the time, but I just set up a different
config file (I call it "granulator.cfg"), pull the orcallator file from
whatever day I need, put it into a different collector/rrd directory
hierarchy that the new config file points to, and vim out all the data
that I don't want from the orcallator data file.  Then I just run orca
-o pointing to that new structure, making sure to remove any rrd files
from previous runs.  Works like a charm.  I also enable hourly plots
when doing this, since I only do daily plots in my regular config.
     I've been thinking about writing a script to automate this process,
since I do it so often.  It takes all of five minutes, but I'm sure I
can do better :)  If I come up with something, I'll share it with the
list.

FYI,

Mark

-----Original Message-----

khahn.nguyen_le_xuan at bell.ca wrote:
> Anyone know how to set up orcallator to have it hourly but at a
specific 
> time
> 
> Example: I want to see a hourly graph of yesterday on CPU from 1PM to
2:30PM

Here's one way.  Have orcallator collect data all the time.  Run a 
cronjob at 2:30 to run orca with the -o command line option to run it 
only once through the data.  If you need to keep this particular 
snapshot, then after orca completes, make a copy of the directory with 
today's date in the directory name.





More information about the Orca-users mailing list