Not sure why the graph is off
Moderators: Developers, Moderators
Not sure why the graph is off
First off I'm new to Cacti and I love this product, great work and great community.
Here is my problem, not sure how to fix it or what to google for.
My SNMPGET results -
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.5.46 = Counter32: 13759229
The Counters show 1.3 Million
But the Image shows 2.52 something not sure that.
I choose Bytes In/out Counter64
Thanks in advance for any help
Here is my problem, not sure how to fix it or what to google for.
My SNMPGET results -
SNMPv2-SMI::enterprises.1991.1.1.4.9.1.1.5.46 = Counter32: 13759229
The Counters show 1.3 Million
But the Image shows 2.52 something not sure that.
I choose Bytes In/out Counter64
Thanks in advance for any help
Re: Not sure why the graph is off
A counter will end up graphing the difference between the first collected value and the next.
So, if the first value collected was 100, and the second value collected was 110, it would graph 10. If the Third value was 115, it would then graph 5.
If it simply graphed the value, you would never see that there was less data between the 2nd and 3rd poll, when compared to the 1st and 2nd, as it would just continue to rise.
So, if the first value collected was 100, and the second value collected was 110, it would graph 10. If the Third value was 115, it would then graph 5.
If it simply graphed the value, you would never see that there was less data between the 2nd and 3rd poll, when compared to the 1st and 2nd, as it would just continue to rise.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Re: Not sure why the graph is off
thanks Linegod
I looked up the Data Source Type and found the following doc:http://docs.cacti.net/manual:087:3_temp ... a_template
Many thanks for the help
I looked up the Data Source Type and found the following doc:http://docs.cacti.net/manual:087:3_temp ... a_template
I change it to ABSOLUTE and I'm getting the Value I need now.There are four types of data that RRDTool can represent for any given data source: COUNTER, GAUGE, ABSOLUTE, and DERIVE.
A GAUGE is for numbers that are not continuously incrementing, e.g. a temperature.
A COUNTER is for continuously incrementing values that might overflow, e.g. ifInOctets (Traffic).
A DERIVE does not overflow.
The ABSOLUTE type is used for counters that are reset upon reading.
Many thanks for the help
Re: Not sure why the graph is off
Ok so that didn't work out too well
I changed the Data Source Type to GAUGE and it's giving me a better graph:
Here are the numbers:
I changed the Data Source Type to GAUGE and it's giving me a better graph:
Here are the numbers:
How can I get it to show the actual numbers instead of round off the graph?Thu Oct 7 12:50:01 MDT 2010 13989480
Thu Oct 7 12:55:01 MDT 2010 13990413
Thu Oct 7 13:00:01 MDT 2010 13991322
Thu Oct 7 13:05:01 MDT 2010 13992254
Thu Oct 7 13:10:01 MDT 2010 13993248
Thu Oct 7 13:15:01 MDT 2010 13994117
Thu Oct 7 13:20:01 MDT 2010 13995210
Thu Oct 7 13:25:01 MDT 2010 13997048
Thu Oct 7 13:30:01 MDT 2010 13998951
Thu Oct 7 13:35:01 MDT 2010 14000840
Thu Oct 7 13:40:01 MDT 2010 14002623
Thu Oct 7 13:45:01 MDT 2010 14004557
Thu Oct 7 13:50:01 MDT 2010 14006545
Re: Not sure why the graph is off
In the Graph Template, on the legend GPRINT item, change the GPRINT type to 'Exact Numbers'.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Re: Not sure why the graph is off
It work well for MAX MIN AVG but broke the Area when I change it:
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1286411017 \
--end=1286497417 \
--title='LABCH4LBA40001P - nfl-portal Port 80 3' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2010/10/06 18\:23\:37 To 2010/10/07 18\:23\:37\c" \
COMMENT:" \n" \
--vertical-label= \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/labch4lba40001p_snmp_oid_52.rrd":snmp_oid:LAST \
AREA:a#F5F800FF:"" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:a:MAX:"Maximum\:%8.0lf\n"
Re: Not sure why the graph is off
Like I said, just change the legend.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Re: Not sure why the graph is off
I do not see anything under legend with GPRINT
Do you or anyone have the XML files for a Brocade ADX?
Do you or anyone have the XML files for a Brocade ADX?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Not sure why the graph is off
Please read my signature line. Linegod will direct you to the water, but he does not drink it for you, unless it involves alcohol.
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?
Who is online
Users browsing this forum: No registered users and 1 guest