Differances between graphs.
Moderators: Developers, Moderators
Differances between graphs.
Hello,
I'm creating a new cacti server. When I compare the graphs to the old ones there seems to be differences. Some are dead on however others can be quite a bit out. The graphs are exactly the same setup. Attaching pictures, is this common or could it be because it is a newer version of cacti and more accurate?
I'm creating a new cacti server. When I compare the graphs to the old ones there seems to be differences. Some are dead on however others can be quite a bit out. The graphs are exactly the same setup. Attaching pictures, is this common or could it be because it is a newer version of cacti and more accurate?
- Attachments
-
- example2.PNG (25.31 KiB) Viewed 1043 times
-
- example1.PNG (36.02 KiB) Viewed 1043 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Differances between graphs.
The first one seems too be a "capped" 32 bit Counter graph, as it "stops" at 114 mbps as a peak value (32 bit Counters can't report traffic larger than that value when polled in a 300 sec interval)
R.
R.
Re: Differances between graphs.
I have one minute intervals between polls. Is there anyway which I can change this so it reads correctly?
Re: Differances between graphs.
It isn't because it's limited as the graphs are different even when it is a smaller amount. The data all appears to be the same though. I cannot find a solution, your advice is greatly appreciated.
- Attachments
-
- example2.PNG (12.05 KiB) Viewed 1022 times
-
- example1.PNG (18.78 KiB) Viewed 1022 times
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Differances between graphs.
There's some math on those graphs to convert 300 sec interval data to a per second value. When you've changed to a 60 sec interval, the math has to be adjusted as well. So please use the graph management in debug mode to find the raw rrdtool graph statement and post that.
R.
R.
Re: Differances between graphs.
Thanks for you reply here is the graph debug information
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Core1 - Traffic - Gi0/2" \
--rigid \
--base=1000 \
--height=120 \
--width=700 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/core1_traffic_in_2507.rrd":traffic_in:AVERAGE \
DEF:b="C\:/inetpub/wwwroot/cacti/rra/core1_traffic_in_2507.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 344.93 GB\n" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 191.71 GB"
RRDTool Says:
OK
c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Core1 - Traffic - Gi0/2" \
--rigid \
--base=1000 \
--height=120 \
--width=700 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="C\:/inetpub/wwwroot/cacti/rra/core1_traffic_in_2507.rrd":traffic_in:AVERAGE \
DEF:b="C\:/inetpub/wwwroot/cacti/rra/core1_traffic_in_2507.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 344.93 GB\n" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 191.71 GB"
RRDTool Says:
OK
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Differances between graphs.
That looks fine. You find the bytes to bit conversion only. And what about the other one?
R.
R.
Re: Differances between graphs.
Oh sorry, here it is.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="core1 - Traffic - Gi0/2" \
--rigid \
--base=1000 \
--height=120 \
--width=700 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/core1_traffic_in_241.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/rra/core1_traffic_in_241.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 1.07 TB\n" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 326.88 GB"
RRDTool Says:
OK
Anything I should be looking out for?
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="core1 - Traffic - Gi0/2" \
--rigid \
--base=1000 \
--height=120 \
--width=700 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/core1_traffic_in_241.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/rra/core1_traffic_in_241.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In\: 1.07 TB\n" \
LINE1:cdeff#002A97FF:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out\: 326.88 GB"
RRDTool Says:
OK
Anything I should be looking out for?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Differances between graphs.
I was looking for differences in CDEFs. But both are equal, as has to be expected. But now I'm at a loss regarding the different numbers returned.
Personally, I'd now revert to manual polling of those items to write down the numbers found and compute the results from that to verify. This is a tedious and difficult task. And up to now we never found issues with the maths (In fact, Cacti does not perform ANY math - all is done by SNMP COUNTERs fed into rrdtool).
R.
Personally, I'd now revert to manual polling of those items to write down the numbers found and compute the results from that to verify. This is a tedious and difficult task. And up to now we never found issues with the maths (In fact, Cacti does not perform ANY math - all is done by SNMP COUNTERs fed into rrdtool).
R.
Re: Differances between graphs.
Do you have a link to where I can read how to do manual polling please and one is using CMD and one is using Spine. Can't see that effecting it though?
P.S Appreciate all your help!
P.S Appreciate all your help!
Who is online
Users browsing this forum: No registered users and 2 guests