I use a Data Source of type Gauge. This is fed a whole number from my OID poll ( ex. 12 or 8 ). When this Data Source is presented (GPRINT, CF=Last) my number has changed. Ex. 12 turns into 11.96 or 8 turns into 8.02.
Likewhise for my Line1 (CF=AVERAGE) which I want to graph the same numbers. Should this be changed or?
I realize I might lack basic understandig, but can anyone explain?!? Thanks on advance [/b]
Gauge question
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
The 5minute RRA should be whole numbers. However, the 30minute, 1hour, and 2hour RRA's are averages.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Gauge not showing whole numbers
Thanks for your answer!!
Nevertheless, my whole numbers get changed.
I attach a file with an extract from the logfile, showing the parsing of the variables from my OID poll. I furthermore attach an extract from the logfile showing the rrdtool update.
Last I attach an image of my graph, which shows the odd numbers.
Below is my graph properties.
/path_to_rrdtool/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="rttMonLatestJitterOperOWDelay" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="msek" \
--slope-mode \
DEF:a="/path_to_cacti/rra/ow_sd_48.rrd":OW_SD:AVERAGE \
LINE1:a#4444FF:"" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s"
Nevertheless, my whole numbers get changed.
I attach a file with an extract from the logfile, showing the parsing of the variables from my OID poll. I furthermore attach an extract from the logfile showing the rrdtool update.
Last I attach an image of my graph, which shows the odd numbers.
Below is my graph properties.
/path_to_rrdtool/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="rttMonLatestJitterOperOWDelay" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="msek" \
--slope-mode \
DEF:a="/path_to_cacti/rra/ow_sd_48.rrd":OW_SD:AVERAGE \
LINE1:a#4444FF:"" \
GPRINTLAST:"Current\:%8.2lf %s" \
GPRINTMAX:"Maximum\:%8.2lf %s"
- Attachments
-
- Graph
- OWDelay.GIF (11.86 KiB) Viewed 1023 times
-
- cacti2rrd.txt
- rrdtool update
- (2.02 KiB) Downloaded 64 times
-
- Parser.txt
- Parser
- (2.54 KiB) Downloaded 83 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Does this line seem strange:
TheWintess
Also, please run a data source debug on your data soure and post that as well.DEF:a="/path_to_cacti/rra/ow_sd_48.rrd":OW_SD:AVERAGE \
TheWintess
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Hmm, No.. That is the name of my datasource, OneWay_SourceDestination. And the path is removed.
Below the Data Source Debug:
//usr/local/bin/rrdtool-1.2.10/bin/rrdtool create \
/var/www/html/cacti/rra/ow_sd_48.rrd \
--step 300 \
DS:OW_DS:GAUGE:600:0:500 \
DS:OW_SD:GAUGE:600:0:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Below the Data Source Debug:
//usr/local/bin/rrdtool-1.2.10/bin/rrdtool create \
/var/www/html/cacti/rra/ow_sd_48.rrd \
--step 300 \
DS:OW_DS:GAUGE:600:0:500 \
DS:OW_SD:GAUGE:600:0:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Who is online
Users browsing this forum: No registered users and 1 guest