[Orca-users] Re: Data not showing up on graph
Jeff Brickley
jbrickley at eps.sps.mot.com
Mon Aug 20 12:11:51 PDT 2001
The page is not viewable outside our intranet. Attached is the .rrd file.
I have already tried running it with 20 or more values and still nothing. How was I supposed to implement the
uninitialized array patch? I just found the similar piece of code inside orca.pl and replaced it with the patch
off of your web site.
Blair Zajac wrote:
> Do you have the web page on a publicly viewable site? Is so, what's
> the URL?
>
> Also, I would try using the data set with 20 values and see what you.
>
> Finally, two other things I would try:
>
> 1) Upgrade to Orca 0.27b1 since this has many bugs fixed and additional
> features.
> 2) Can you dump one of the RRD data files and send it along?
>
> Blair
>
> Jeff Brickley wrote:
> >
> > I only have 4 data points. I deleted the RRD files and added about 20
> > more data points in the input file and ran everything again.
> > Still no success...everything is showing up as NaN in the .rrd file.
> > Attached is the output when I ran it with only 4 data points.
> > Orca version 0.26beta1 using RRDs version 1.000131.
> > Loading state from `test.state'.
> > Creating orca.gif.
> > Creating rrdtool.gif.
> > Finding files and setting up data structures at Mon Aug 20 13:34:32
> > 2001.
> > RSS VSZ %MEM TIME USER PID COMMAND
> > 3848 4648 0.4 0:00 root 5927 /usr/bin/perl
> > Current running time is 0:00 minutes.
> > Loading new data.
> > Read 4 data points from
> > `/usr1/orca/orca-0.26/bin/test_data.txt'.
> > Flushing new data and updating PNGs.
> > Creating RRD `/usr1/orca/orca-0.26/var/orca/rrd/test_group_AVG.rrd'.
> > Creating `/usr1/orca/orca-0.26/html/test_group_AVG-daily.png'.
> > Creating `/usr1/orca/orca-0.26/html/test_group_AVG-weekly.png'.
> > Creating `/usr1/orca/orca-0.26/html/test_group_AVG-monthly.png'.
> > Creating `/usr1/orca/orca-0.26/html/test_group_AVG-quarterly.png'.
> > Creating `/usr1/orca/orca-0.26/html/test_group_AVG-yearly.png'.
> > Saving state into `test.state'.
> > Updating PNGs.
> > Creating HTML files in `/usr1/orca/orca-0.26/html/'.
> > RSS VSZ %MEM TIME USER PID COMMAND
> > 4504 5112 0.5 0:01 root 5927 /usr/bin/perl
> > Current running time is 0:02 minutes.
> >
> > Thanks again for the help.
> > Jeff
> >
> > Blair Zajac wrote:
> >
> > > How many data points do you have? Without enough data points RRD
> > will
> > > not create a consolidated data point and nothing will be plotted.
> > >
> > > Can you delete the RRD files and run orca as
> > >
> > > orca -v -v -o test.cfg
> > >
> > > and send the output?
> > >
> > > Blair
> > >
> > > Jeff Brickley wrote:
> > > >
> > > > I actually sent you the wrong copy of the input file. The data is
> > > > between 0 and 10.
> > > > The format is exactly as I sent before. The only difference is
> > that
> > > > instead of number between 72 and
> > > > 287 the numbers are .4, .6, .8 etc.
> > > > Any other ideas?
> > > >
> > > > Blair Zajac wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > You have the data_min set to 0 and data_max set to 10 and the
> > data
> > > > > is varying from 72 to 287 so the data will be ignored.
> > > > >
> > > > > I would delete the RRD files, remove data_min and data_max from
> > > > > test.cfg and run it again.
> > > > >
> > > > > Best,
> > > > > Blair
> > > > >
> > > > > Jeff Brickley wrote:
> > > > > >
> > > > > > Hello. Hopefully this won't sound too naive but....I'm trying
> > to
> > > > get
> > > > > > Orca 0.26 to graph arbitrary points from a text file. I am
> > not
> > > > having
> > > > > > any luck. This is supposed to be a first 'test' to make sure
> > we
> > > > can
> > > > > > rely on the graphing tool. Eventually I will be producing text
> > > > files
> > > > > > with various pieces of info that we want graphed. This tool
> > > > sounds
> > > > > > like
> > > > > > the best product for what we want to accomplish but it is a
> > bit
> > > > > > frustrating right now. I will detail most of what I have done
> > thus
> > > > > > far.
> > > > > > I have a test input file with the following format:
> > > > > > 997733286 92.1064
> > > > > > 997733586 287.747
> > > > > > 997733886 72.1448
> > > > > >
> > > > > > My config file is as follows:
> > > > > > state_file test.state
> > > > > > html_dir /usr1/orca/orca-0.26/html
> > > > > > rrd_dir /usr1/orca/orca-0.26/var/orca/rrd
> > > > > >
> > > > > > group test_group {
> > > > > > find_files /usr1/orca/orca-0.26/bin/test_data.txt
> > > > > > column_description date AVG
> > > > > > date_source column_name date
> > > > > > date_format %m/%d/%y
> > > > > > interval 300
> > > > > > }
> > > > > >
> > > > > > plot {
> > > > > > title MyFirstPlot
> > > > > > source test_group
> > > > > > data AVG
> > > > > > legend Machine
> > > > > > y_legend Average
> > > > > > data_min 0
> > > > > > data_max 10
> > > > > > }
> > > > > >
> > > > > > I run the following command:
> > > > > > orca -v -o test.cfg
> > > > > >
> > > > > > Everything seems to work fine and the output is as follows:
> > > > > > Orca version 0.26beta1 using RRDs version 1.000131.
> > > > > > Loading state from `test.state'.
> > > > > > Creating orca.gif.
> > > > > > Creating rrdtool.gif.
> > > > > > Finding files and setting up data structures at Fri Aug 17
> > > > 13:45:06
> > > > > > 2001.
> > > > > > RSS VSZ %MEM TIME USER PID COMMAND
> > > > > > 3848 4648 0.4 0:00 root 382 /usr/bin/perl
> > > > > > Current running time is 0:00 minutes.
> > > > > > Loading new data.
> > > > > > Read 4 data points from
> > > > > > `/usr1/orca/orca-0.26/bin/test_data.txt'.
> > > > > > Flushing new data and updating PNGs.
> > > > > > Creating RRD
> > > > `/usr1/orca/orca-0.26/var/orca/rrd/test_group_AVG.rrd'.
> > > > > > Saving state into `test.state'.
> > > > > > Updating PNGs.
> > > > > > Creating HTML files in `/usr1/orca/orca-0.26/html/'.
> > > > > > RSS VSZ %MEM TIME USER PID COMMAND
> > > > > > 4504 5112 0.5 0:01 root 382 /usr/bin/perl
> > > > > > Current running time is 0:02 minutes.
> > > > > >
> > > > > > I have added the text from the uninitialized-array-patch.txt
> > to
> > > > the
> > > > > > orca.pl file in the prefix /src directory.
> > > > > > It seems that the data is not making it into the .rrd file
> > that is
> > > > > > being
> > > > > > generated. I run the following rrdtool command and notice
> > that
> > > > all
> > > > > > entries have a timestamp and then NaN for the second column.
> > > > > > rrdtool fetch file.rrd AVERAGE
> > > > > >
> > > > > > Any help anyone can give will be greatly appreciated.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > http://docs.yahoo.com/info/terms/
> > > >
> > > > Yahoo! Groups Sponsor
> > > > [Image]
> > > >
> > > >
> > Service.
> > >
> > >
> > >
> > >
> > http://docs.yahoo.com/info/terms/
> >
> > Yahoo! Groups Sponsor
> > [Image]
> >
> >
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_group_AVG.rrd
Type: application/octet-stream
Size: 50628 bytes
Desc: not available
URL: </pipermail/orca-users/attachments/20010820/407a5580/attachment.obj>
More information about the Orca-users
mailing list