Hello,
I would like to know why the graphs are different using 32 bits or 64 bits (with low values too)?
See my graphs ; the first is using 32 bits (default), and the second represents the same interface on the same switch but using 64 bits : there are different... I have read a topic that explained that it can have some problem when values are above 114Mbits/s ; but here the values are low...
Why this difference, and which of this graphs is correct...? I use Cacti version 0.8.7b.
Thanks in advance for your help!
Interface graph : 32 or 64 bits ?
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 105
- Joined: Thu Apr 08, 2010 4:17 am
- Location: France
Interface graph : 32 or 64 bits ?
- Attachments
-
- Grpah with 64 bits
- 64.JPG (47.2 KiB) Viewed 1752 times
-
- Graph with 32 bits (default)
- 32.JPG (46.17 KiB) Viewed 1752 times
-
- Cacti User
- Posts: 105
- Joined: Thu Apr 08, 2010 4:17 am
- Location: France
Here the RRDTool code for the 32 bits graph :
And here the RRDTool code for the 64 bits graph :
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1271897209 \
--end=1271920318 \
--title="SW**** - Percent Bandwidth In Out - Gi0/1" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2010/04/22 02\:46\:49 To 2010/04/22 09\:11\:58\c" \
COMMENT:" \n" \
--vertical-label="Bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/usr/share/cacti/site/rra/sw****_traffic_in_27.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/sw****_traffic_in_27.rrd":traffic_in:MAX \
CDEF:cdefa=a,8,* \
CDEF:cdefb=a,8,* \
CDEF:cdefbb=a,1000000000,/,800,* \
CDEF:cdefbh=b,1000000000,/,800,* \
CDEF:cdefca=a,a,-,1000000000,+,0.9,* \
AREA:cdefa#FFD660FF:"In Octets" \
GPRINT:cdefb:LAST:" Current \:%8.2lf%s" \
GPRINT:cdefb:AVERAGE:"Average \:%8.2lf%s" \
GPRINT:cdefb:MAX:"Maximum \:%8.2lf%s\n" \
LINE1:cdefa#EA8F00FF:"Out octets" \
GPRINT:cdefa:LAST:"Current \:%8.2lf%s" \
GPRINT:cdefa:AVERAGE:"Average \:%8.2lf%s" \
GPRINT:b:MAX:"Maximum \:%8.2lf%s\n" \
COMMENT:"\n" \
COMMENT:"******************************* Total Bandwidth Utilization *******************************\n" \
COMMENT:"Current \:" \
GPRINT:cdefbb:LAST:"in \:%7.4lf%%" \
GPRINT:cdefbb:LAST:"; out \:%7.4lf%%\n" \
COMMENT:"Average \:" \
GPRINT:cdefbb:AVERAGE:"in \:%7.4lf%%" \
GPRINT:cdefbb:AVERAGE:"; out \:%7.4lf%%\n" \
COMMENT:"Maximum \:" \
GPRINT:cdefbh:MAX:"in \:%7.4lf%%" \
GPRINT:cdefbh:MAX:"; out \:%7.4lf%%\n" \
\
GPRINT:cdefca:AVERAGE:"Bandwidth limit before alert in bps (90 percent) \:%8.2lf%s\n" \
COMMENT:"\n" \
COMMENT:"Speed \: 1000000000 bps\n"
And here the RRDTool code for the 64 bits graph :
Code: Select all
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1271874546 \
--end=1271920266 \
--title="SW**** - Percent Bandwidth In Out - Gi0/1" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2010/04/21 20\:29\:06 To 2010/04/22 09\:11\:06\c" \
COMMENT:" \n" \
--vertical-label="Bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/usr/share/cacti/site/rra/sw****_traffic_in_27.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/sw****_traffic_in_27.rrd":traffic_out:AVERAGE \
DEF:c="/usr/share/cacti/site/rra/sw****_traffic_in_27.rrd":traffic_out:MAX \
DEF:d="/usr/share/cacti/site/rra/sw****_traffic_in_27.rrd":traffic_in:MAX \
CDEF:cdefa=a,8,* \
CDEF:cdefb=a,8,* \
CDEF:cdefe=b,8,* \
CDEF:cdefbb=a,1000000000,/,800,* \
CDEF:cdefbc=b,1000000000,/,800,* \
CDEF:cdefbh=d,1000000000,/,800,* \
CDEF:cdefbi=c,1000000000,/,800,* \
CDEF:cdefca=a,a,-,1000000000,+,0.9,* \
AREA:cdefa#FFD660FF:"In Octets" \
GPRINT:cdefb:LAST:" Current \:%8.2lf%s" \
GPRINT:cdefb:AVERAGE:"Average \:%8.2lf%s" \
GPRINT:cdefb:MAX:"Maximum \:%8.2lf%s\n" \
LINE1:cdefe#EA8F00FF:"Out octets" \
GPRINT:cdefe:LAST:"Current \:%8.2lf%s" \
GPRINT:cdefe:AVERAGE:"Average \:%8.2lf%s" \
GPRINT:c:MAX:"Maximum \:%8.2lf%s\n" \
COMMENT:"\n" \
COMMENT:"******************************* Total Bandwidth Utilization *******************************\n" \
COMMENT:"Current \:" \
GPRINT:cdefbb:LAST:"in \:%7.4lf%%" \
GPRINT:cdefbc:LAST:"; out \:%7.4lf%%\n" \
COMMENT:"Average \:" \
GPRINT:cdefbb:AVERAGE:"in \:%7.4lf%%" \
GPRINT:cdefbc:AVERAGE:"; out \:%7.4lf%%\n" \
COMMENT:"Maximum \:" \
GPRINT:cdefbh:MAX:"in \:%7.4lf%%" \
GPRINT:cdefbi:MAX:"; out \:%7.4lf%%\n" \
\
GPRINT:cdefca:AVERAGE:"Bandwidth limit before alert in bps (90 percent) \:%8.2lf%s\n" \
COMMENT:"\n" \
COMMENT:"Speed \: 1000000000 bps\n"
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
-
- Cacti User
- Posts: 105
- Joined: Thu Apr 08, 2010 4:17 am
- Location: France
Oh, I see... That is graphed (in the 32 bits) , the in and the out are really just the in...
I will see now...! It's ok!!
Thanks a lot Gandalf!!
I will see now...! It's ok!!
Thanks a lot Gandalf!!
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
-
- Cacti User
- Posts: 105
- Joined: Thu Apr 08, 2010 4:17 am
- Location: France
Of course!
There was some changes since the last time...
The bandwidth limit before alert is a red line on the graph, but we can see her, only when the in or out bandwidth is nearly of the bandwidth limit.
I don't know if the template can be imported correctly because it's the first time I do an export...
There was some changes since the last time...
The bandwidth limit before alert is a red line on the graph, but we can see her, only when the in or out bandwidth is nearly of the bandwidth limit.
I don't know if the template can be imported correctly because it's the first time I do an export...
- Attachments
-
- cacti_graph_template_cisco_-_percentage_bandwidth_in_out_utilization.xml
- The graph template of the graphs above
- (29.25 KiB) Downloaded 98 times
-
- Graph with a "zoom"
- 02.JPG (60.11 KiB) Viewed 1368 times
-
- New graph
- 01.JPG (63.43 KiB) Viewed 1368 times
"Sorry for my english... I'm french!"
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
Cacti version : 0.8.7e
Plugin Architecture : 2.6
Plugins : Settings 0.5, Monitor 0.8.2, Thresholds 0.4.1, Nectar 0.26, Discovery 0.9, Realtime 0.32, Update 0.4, Weathermap 0.97a, Hostinfo 0.2
Who is online
Users browsing this forum: No registered users and 2 guests