[Orca-users] Help a newbie out

Brian F. brian at cv.net
Mon Apr 5 04:50:08 PDT 2004



-----Original Message-----
From: Blair Zajac [mailto:blair at orcaware.com] 
Sent: Monday, April 05, 2004 12:43 AM
To: Brian F.
Cc: orca-users at orcaware.com
Subject: Re: [Orca-users] Help a newbie out

"Brian F." wrote:
> 
> Thanks for the help!
> It's working now, but i still have some questions about orca.
> I'll give you my config and the data it's loading to lookat.
> data file is /tmp/attempt1.txt
> 
> # cat /tmp/attempt1.txt
> 1081004510 00 29073
> 1081008110 01 51311
> 1081011710 02 48265
> 1081015310 03 52900
> 1081018910 04 44435
> 1081022510 05 42281
> 1081026110 06 49213
> 1081029710 07 53024
> 1081033310 08 50539
> 1081036910 09 55859
> 1081040510 10 57808
> 1081044110 11 67630
> 1081047710 12 52800
> 1081051310 13 61272
> 1081054910 14 54595
> 1081058510 15 55965
> 1081062110 16 64457
> 1081065710 17 69234
> 1081069310 18 52166
> 1081072910 19 59156
> 1081076510 20 50799
> 1081080110 21 53125
> 1081083710 22 56682
> 1081087310 23 58799
> 
> Config is mta.cfg
> 
> #REQUIRED OPTIONS
> state_file /opt/orca/cfg/state.log
> html_dir /var/data/htdocs/stats
> rrd_dir /var/data/htdocs/stats/rrd
> base_dir /opt/orca
> 
> #GENERAL OPTIONS
> 
> #GROUP OPTIONS
> group MTA1 {
> find_files /tmp/attempt1.txt
> column_description time hour messages
> date_source column_name time
> interval 3600
> }
> 
> #PLOT OPTIONS
> plot {
> source MTA1
> title MTA1
> data Messages
> data_type ABSOLUTE
> data_min 0
> data_max 100000
> required 1
> color ff0000
> line_type AREA
> plot_width 600
> plot_height 250
> y_legend Messages
> }
> 
> I'm not able to get the color to change, or to get the graph to fill with
> the line_type AREA option.
> Also my y_legend isn't displaying the current data. It's displaying what i
> had specified earlier.

Do you have a sample plot to show?

New plots are only generated with the .png's are deleted or there's
new data for Orca to load.  Otherwise, it'll save CPU time and won't
regenerate images.

Have you tried this?

Best,
Blair

-- 
Blair Zajac <blair at orcaware.com>
Plots of your system's performance - http://www.orcaware.com/orca/

I've been able to straighten out my image problems, but I still have one
more issue.
The graph I've attached shows the y_axis displaying what looks to be 10.0 -
26.0, when the log snippet shows between 29 thousand and 69 thousand
messages. Am I grabbing the wrong info in the graph?
The log has stayed the same, but I have changed the config file.
Let me know if you see any glaring mistakes.

Thank you!!

#REQUIRED OPTIONS
state_file /opt/orca/cfg/state.log
html_dir /var/data/mstr10.srv.hcvlny.cv.net/htdocs/stats/mta
rrd_dir /var/data/mstr10.srv.hcvlny.cv.net/htdocs/stats/mta
base_dir /opt/orca/

#GENERAL OPTIONS

#GROUP OPTIONS
group MTA1 {
find_files /tmp/attempt1.txt
column_description time hour messages
date_source column_name time
interval 3600
}

#PLOT OPTIONS
plot {
source MTA1
title MTA1
data messages
data_type ABSOLUTE
line_type AREA
color ff0000
data_min 0
data_max 1000000
required 1
plot_width 600
plot_height 250
y_legend Messages
}

Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MTA1_absolute_messages-hourly.png
Type: image/png
Size: 5058 bytes
Desc: not available
URL: </pipermail/orca-users/attachments/20040405/e3113e68/attachment.png>


More information about the Orca-users mailing list