graphed line does not match gprint value?
Moderators: Developers, Moderators
graphed line does not match gprint value?
Hello all,
I've been using Cacti successfully for a couple of years now, and i haven't really felt the need to post too many questions during that period of time. Generally speaking, it works, and it works well.
Unfortunately, i've recently encounted a graph anomaly that's got me a little bit confused: on one of my graphs, the line doesn't appear to match the associated gprint value. Specifically, the line is consistently showing higher values than the "MAX" of its gprint. Some screenies:
(yes, i realise there are some gaps - i'm not concerned with them at this time.)
And if we zoom in:
As you can see, the dark blue "identified" line has numerous peaks in the 10 to 15 range; however, the associated gprint shows a MAX value of 6. Interestingly, the other two lines seem to match up with their gprint values properly. I'm not doing anything special to the items in the graph template (i.e. no CDEF functions, etc...) either.
Clearly, at least one of these is incorrect - but which one? I suspect the line is wrong, but i'm not sure. And why is there a discrepancy in the first place? Questions abound...
Thanks for the help all!
I've been using Cacti successfully for a couple of years now, and i haven't really felt the need to post too many questions during that period of time. Generally speaking, it works, and it works well.
Unfortunately, i've recently encounted a graph anomaly that's got me a little bit confused: on one of my graphs, the line doesn't appear to match the associated gprint value. Specifically, the line is consistently showing higher values than the "MAX" of its gprint. Some screenies:
(yes, i realise there are some gaps - i'm not concerned with them at this time.)
And if we zoom in:
As you can see, the dark blue "identified" line has numerous peaks in the 10 to 15 range; however, the associated gprint shows a MAX value of 6. Interestingly, the other two lines seem to match up with their gprint values properly. I'm not doing anything special to the items in the graph template (i.e. no CDEF functions, etc...) either.
Clearly, at least one of these is incorrect - but which one? I suspect the line is wrong, but i'm not sure. And why is there a discrepancy in the first place? Questions abound...
Thanks for the help all!
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Do a few screen prints of both your line and gprint definition screen's and post them.
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?
As requested:lvm wrote:When clicking on the graph, you'll notice some wrenches. Select one of them and post the whole rrdtool graph statement. That will definitively help to debug
slightly sanitized
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Incoming FuzzyOCR Statistics" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="# per 5 mins" \
--slope-mode \
DEF:a="/opt/www/cacti/rra/YYY_fuzzyocrtotalscore_10207.rrd":fuzzyocrtotalscore:AVERAGE \
DEF:b="/opt/www/cacti/rra/YYY_fuzzyocrsinglescore_10206.rrd":fuzzyocrsinglescore:AVERAGE \
DEF:c="/opt/www/cacti/rra/YYY_fuzzyocridentified_10205.rrd":fuzzyocridentified:AVERAGE \
AREA:a#6DC8FE:"FuzzyOCR total score" \
GPRINT:a:LAST:" Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MIN:"Min\:%8.0lf" \
GPRINT:a:MAX:"Max\:%8.0lf\n" \
LINE2:b#A150AA:"FuzzyOCR single score" \
GPRINT:b:LAST:"Current\:%8.0lf" \
GPRINT:b:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MIN:"Min\:%8.0lf" \
GPRINT:b:MAX:"Max\:%8.0lf\n" \
LINE2:c#00004D:"FuzzyOCR identified" \
GPRINT:c:LAST:" Current\:%8.0lf" \
GPRINT:c:AVERAGE:"Average\:%8.0lf" \
GPRINT:c:MIN:"Min\:%8.0lf" \
GPRINT:c:AVERAGE:"Max\:%8.0lf\n"
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
FuzzyOCR identified
That gprint is set to the wrong consolidation function.GPRINT:c:AVERAGE:"Max\:%8.0lf\n"
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 3 guests