[solved] Cisco Catalyst 6500/7600 VLAN Problem
Moderators: Developers, Moderators
[solved] Cisco Catalyst 6500/7600 VLAN Problem
Hi there,
i have a problem with monitoring the traffic of a VLAN on a Cisco Catalyst 6500/7600.
Cacti gatheres data, but the information makes no sense.
There should be traffic above 500 KBits/s, but the graph only shows 600 Bit/s.
I also tried the templates here from the forum for the CatOS and the Catalyst 6500 with the same result.
Has anyone an idea?
Greetings Christian
i have a problem with monitoring the traffic of a VLAN on a Cisco Catalyst 6500/7600.
Cacti gatheres data, but the information makes no sense.
There should be traffic above 500 KBits/s, but the graph only shows 600 Bit/s.
I also tried the templates here from the forum for the CatOS and the Catalyst 6500 with the same result.
Has anyone an idea?
Greetings Christian
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
SVI (vlan interface) traffic counters don't show much traffic because it only counts traffic that hits the CPU, not traffic that is hardware-switched (i.e. most traffic on 6500/7600).
There isn't a fix as far as I know - it's just the way the ASICs work. The same issue affects netflow on those platforms, too.
That said, I can't find a reference to this right now, so maybe someone else can confirm.
There isn't a fix as far as I know - it's just the way the ASICs work. The same issue affects netflow on those platforms, too.
That said, I can't find a reference to this right now, so maybe someone else can confirm.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Wrong forum, moving.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Cisco Catalyst 6500/7600 VLAN Problem
Christian, It's absolute correct what Howie mentioned.circulum wrote:Hi there,
i have a problem with monitoring the traffic of a VLAN on a Cisco Catalyst 6500/7600.
Cacti gatheres data, but the information makes no sense.
There should be traffic above 500 KBits/s, but the graph only shows 600 Bit/s.
I also tried the templates here from the forum for the CatOS and the Catalyst 6500 with the same result.
Has anyone an idea?
Greetings Christian
On 65xx with MSFC cards the byte_in and _out counter is only the traffic that passes the first time through the supervisor engine. If the destination port is determined only the counter of the physical interface is relevant.
You must collect only the physical interfaces, of course not seperated in VLAN's. When we started with Cacti we also monitored several 1000 VLANS, but nobody had any purpose of them and we deleted them all.
And I did NOT agree to BSOD2600 . This is the forum for these questions, because they are very typical and advisable for all Cacti user, because at the first step you include every interface you see in the interface list.
Best regards
Frizz
Cacti 0.8.6j | Cactid 0.8.6j | RRDtool 1.2.23 |
SuSe 9.x | PHP 4.4.4 | MySQL 5.0.27 | IHS 2.0.42.1
Come and join the 3.CCC.eu
http://forums.cacti.net/viewtopic.php?t=27908
SuSe 9.x | PHP 4.4.4 | MySQL 5.0.27 | IHS 2.0.42.1
Come and join the 3.CCC.eu
http://forums.cacti.net/viewtopic.php?t=27908
This is partially right.Howie wrote:SVI (vlan interface) traffic counters don't show much traffic because it only counts traffic that hits the CPU, not traffic that is hardware-switched (i.e. most traffic on 6500/7600).
There isn't a fix as far as I know - it's just the way the ASICs work. The same issue affects netflow on those platforms, too.
That said, I can't find a reference to this right now, so maybe someone else can confirm.
If the VLAN has an SVI (routed interface) it will graph the traffic minus the Ethernet headers, which depending on the size of your packets can be a little or a lot of traffic. An FTP site might have a < 1% discrepancy (typically large packets), whereas a VoIP provider may have > 10% discrepancy (typically small packets).
If you just have a VLAN without an SVI, you won't graph anything of consequence.
I have more interesting
Cacti won't graph more then 8Gbit/s on SVI.
But rrdtool info traffic_in_59.rrd show:
7606/SUP720-3BXL
Cacti won't graph more then 8Gbit/s on SVI.
But rrdtool info traffic_in_59.rrd show:
Code: Select all
rra[6].cf = "MAX"
rra[6].rows = 775
rra[6].cur_row = 435
rra[6].pdp_per_row = 24
rra[6].xff = 5.0000000000e-01
rra[6].cdp_prep[0].value = 8.9368306088e+08
rra[6].cdp_prep[0].unknown_datapoints = 0
rra[6].cdp_prep[1].value = 9.8504397424e+08
rra[6].cdp_prep[1].unknown_datapoints = 3
rra[7].cf = "MAX"
rra[7].rows = 797
rra[7].cur_row = 513
rra[7].pdp_per_row = 288
rra[7].xff = 5.0000000000e-01
rra[7].cdp_prep[0].value = 8.9368306088e+08
rra[7].cdp_prep[0].unknown_datapoints = 0
rra[7].cdp_prep[1].value = 9.9777012098e+08
rra[7].cdp_prep[1].unknown_datapoints = 4
1) rrdtool graph command + picture
2) using snmpv2 and 64bit graph templates?
3) rrdtool info <filename> to check if the DS MAX is too small.
2) using snmpv2 and 64bit graph templates?
3) rrdtool info <filename> to check if the DS MAX is too small.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
BSOD2600 wrote:1) rrdtool graph command + picture
Code: Select all
RRDTool Command:
/opt/rrdtool-1.4.4/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='ACCESS' \
--rigid \
--base=1000 \
--height=120 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:8: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/usr/local/share/cacti/rra/traffic_in_59.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/share/cacti/rra/traffic_in_59.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
LINE1:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says:
OK
Both - yes.2) using snmpv2 and 64bit graph templates?
3) rrdtool info <filename> to check if the DS MAX is too small.
Code: Select all
rrdtool info traffic_in_59.rrd
filename = "traffic_in_59.rrd"
rrd_version = "0003"
step = 300
last_update = 1284065701
header_size = 2764
ds[traffic_in].index = 0
ds[traffic_in].type = "COUNTER"
ds[traffic_in].minimal_heartbeat = 600
ds[traffic_in].min = 0.0000000000e+00
ds[traffic_in].max = 1.0000000000e+09
ds[traffic_in].last_ds = "402905928935730"
ds[traffic_in].value = 6.3446900365e+08
ds[traffic_in].unknown_sec = 0
ds[traffic_out].index = 1
ds[traffic_out].type = "COUNTER"
ds[traffic_out].minimal_heartbeat = 600
ds[traffic_out].min = 0.0000000000e+00
ds[traffic_out].max = 1.0000000000e+09
ds[traffic_out].last_ds = "454698010532716"
ds[traffic_out].value = 6.3471904741e+08
ds[traffic_out].unknown_sec = 0
- Attachments
-
- graph_image.php.png (36.38 KiB) Viewed 6365 times
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Check the max value in the RRDFile.
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?
The problem:
402905928935730 = 4.029 x 10^14.
As I suspected, the MAX DS is too small.
Code: Select all
ds[traffic_in].max = 1.0000000000e+09
ds[traffic_in].last_ds = "402905928935730"
As I suspected, the MAX DS is too small.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Ok, understood.BSOD2600 wrote:The problem:402905928935730 = 4.029 x 10^14.Code: Select all
ds[traffic_in].max = 1.0000000000e+09 ds[traffic_in].last_ds = "402905928935730"
As I suspected, the MAX DS is too small.
Could you please, what I need to do for increase MAX DS?
Use the rrdtool tune command. More details in the rrdtool man pages.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 1 guest