[Orca-users] Re: differences in data inputfile - graph (integer / decimal)

simon.j.klyne at jpmorgan.com simon.j.klyne at jpmorgan.com
Wed Dec 12 05:17:00 PST 2001


I think it is RRD, but it could be or Orca, but somewhere the time in
seconds gets rounded to a multiple of your interval, AND the data values
are adjusted to those times.  This is useful if your data points are
sampled at approximately the interval time, 300 seconds here, but not
exactly 300 seconds.  The data values adjusted to the 300 second intervals
which almost certainly will incur fractional values.

Looking at your timestamp colums these values are not an integral multiple
of 300 there is a remainder of 32 seconds.
If the true sample values are important and not the resampled values then
ensure your timestamps are an integral multiple of the interval.

Blair,
would it be a reasonable to have an option in orca that adjusts the
timestamp to the nearest integral interval when it adds data to the RRDs ?

Simon





"Celie, Harold" <harold.celie at ignite.nl> on 12/12/2001 11:01:43

Please respond to orca-users at yahoogroups.com

To:   "'orca-users at yahoogroups.com'" <orca-users at yahoogroups.com>
cc:
Subject:  [orca-users] differences in data inputfile - graph (integer /
      decimal)


> Hi all,
>
> Some strange things i can't explain are going on.
>
> Every 5 minutes i'm filling an inputfile with data that looks like:
>
> 1008148832 38 60 91 90 26 91 14 71 34 93 49 87 91 10 0 57 63 2 53 0 1 1
28
> 10 1 1
> 1008149132 38 60 91 90 26 91 14 71 34 93 49 87 91 10 0 58 63 2 53 0 1 1
28
> 10 1 1
> 1008149432 38 60 91 90 26 91 14 71 34 93 49 87 91 10 0 57 63 2 53 0 1 1
28
> 10 1 1
> 1008149732 38 60 91 90 26 91 14 71 34 93 50 87 92 10 0 58 63 2 53 0 1 1
28
> 10 1 1
> 1008150032 38 60 91 90 26 91 14 71 34 93 50 87 92 10 0 58 63 2 53 0 1 1
28
> 10 1 1
> 1008150332 38 60 91 90 26 91 14 71 34 93 50 87 92 10 0 57 63 2 53 0 1 1
28
> 10 1 1
> 1008150632 38 60 91 90 26 91 14 71 34 93 50 87 92 10 0 58 63 2 53 0 1 1
28
> 10 1 1
> 1008150932 38 60 91 90 26 91 14 71 34 93 50 87 92 10 0 58 63 2 53 0 1 1
28
> 11 1 1
> 1008151232 38 60 91 90 26 91 14 71 34 93 50 87 92 10 0 58 63 2 53 0 1 1
29
> 11 1 1
> 1008151532 38 60 90 90 26 91 14 71 34 93 50 87 92 10 0 55 63 2 53 0 1 1
29
> 11 1 1
>
> (only integers)
>
> When i create a graph, the data in the column current, min and max
> displays other values (decimal value).
>
> Some examples;
>
> daily graph a max containing value 38.640
> daily graph a min containing value 87.027
> weekly graph a current containg value 91.982 and 49.982
> weekly graph a max containing value 65.167 28.947
> monthly graph a current: value 48.908 and 92.704
>
> and some other values that shoudn't be there (from my point of view)
>
> As i see it, the current, min and max value could never be a decimal
value
>
> It not every time for the same column/measurement. It differs every time.
>
> A copy of my config file is at the bottom.
>
>
> Any help / suggestion is welcome.
>
> reg Harold
>
>
>
>
>
> sysadm04# cat orca.conf.srvbmp1
> rrd_dir         /usr/local/var/orca/rrd
> html_dir        /usr/local/apache/htdocs/systems/srvbmp1
> state_file      /usr/local/orca/orca.state.srvbmp1
>
>
> group srvbmp1_diskusage {
> find_files
> /var/Measurement_files_EPOCH/srvbmp1/srvbmp1_diskusage
> column_description              timestamp slash_du stand_du var_du usr_du
> tmp_du opt_du mntb3_du mntb2_du mntb1_du mnta2_du home_du dataemc2_du
> data_emc_du slash_iu stand_iu var_iu usr_iu tmp_iu opt_iu mntb3_iu
> mntb2_iu mntb1_iu mnta2_iu home_iu dataemc2_iu data_emc_iu
> date_source                     column_name timestamp
> interval                        300
> }
>
> plot {
> title           Disk Space Percent usage
> source          srvbmp1_diskusage
> data            slash_du
> color           FF0000
> line_type       LINE2
> data            home_du
> color           00FF00
> data            opt_du
> color           0000FF
> line_type       LINE2
> data            stand_du
> color           FFFF00
> line_type       LINE2
> data            usr_du
> color           FF00FF
> line_type       LINE2
> data            var_du
> color           00FFFF
> line_type       LINE2
> data            mnta2_du
> color           B10000
> line_type       LINE2
> data            mntb1_du
> color           00B100
> line_type       LINE2
> data            mntb2_du
> color           0000B1
> line_type       LINE2
> data            mntb3_du
> color           B1B100
> line_type       LINE2
> data            data_emc_du
> color           00B1B1
> line_type       LINE2
> data            dataemc2_du
> color           B100B1
> line_type       LINE2
> data            tmp_du
> color           FF00B1
> data_type       GAUGE
> legend          /
> legend          /home
> legend          /opt
> legend          /stand
> legend          /usr
> legend          /var
> legend          /mnta2
> legend          /mntb1
> legend          /mntb2
> legend          /mntb3
> legend          /data_emc
> legend          /data_emc2
> legend          /tmp
> y_legend        Percent Used
> data_min        0
> data_max        100
> data_type       GAUGE
> }
>
>













This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.



More information about the Orca-users mailing list