MACs in debug output on command line- not in GUI?!

Support questions about the MAC Track plugin

Moderators: Moderators, Developers

Post Reply
Author
Message
johng7777777
Posts: 18
Joined: Thu Jan 19, 2012 3:11 pm

MACs in debug output on command line- not in GUI?!

#1 Post by johng7777777 » Wed Nov 07, 2012 12:38 pm

Hi,

We are running Cacti Version 0.8.7i

With MacTrack Version 2.9.1 with PIA 3.1 ontop of a CentOS 5.6, with PHP 5.3.3

Other plugins like Weathermap, SuperLinks, etc work a-ok. MacTrack installed a-ok and basic functionality works. However, MAC addresses that appear when I run this:

[[email protected] mactrack]# php mactrack_scanner.php -id=3 -d

Do not show up in the GUI....

This really is just a test for what we *really* need and that is getting MacTrack working with these oddball switches known as the Tellabs 7345 Ethernet Aggregation switch. I figure I need to at least proves it works on this Cisco Catalyst 2960 switch first.

Can someone please chime in here as to why they appear on command line to STDOUT fine but not in the GUI?

THANKS!!!

[email protected] plugins]# cd mactrack/
[[email protected] mactrack]# php mactrack_scanner.php -id=3 -d
DEBUG: HOST: xxx.xxx.xxx.xxx is alive, processing has begun.
DEBUG: Scanning function is 'get_IOS_dot1dTpFdbEntry_ports'
DEBUG: There are 3 VLANS.
DEBUG: ifIndexes data collection complete
DEBUG: ifIndexes data collection complete. '31' rows found!
DEBUG: ifTypes data collection complete. '31' rows found!
DEBUG: ifNames data collection complete. '31' rows found!
DEBUG: ifAlias data collection complete. '31' rows found!
DEBUG: ipAddrTable scanning for link ports data collection complete. '4' rows found!
DEBUG: ifSpeed data collection complete. '31' rows found!
DEBUG: ifHighSpeed data collection complete. '31' rows found!
DEBUG: ifDuplex data collection complete. '26' rows found!
DEBUG: ifDescr data collection complete. '31' rows found!
DEBUG: ifMtu data collection complete. '31' rows found!
DEBUG: ifPhysAddress data collection complete. '31' rows found!
DEBUG: ifAdminStatus data collection complete. '31' rows found!
DEBUG: ifOperStatus data collection complete. '31' rows found!
DEBUG: ifLastChange data collection complete. '31' rows found!
DEBUG: ifInOctets data collection complete. '31' rows found!
DEBUG: ifOutOctets data collection complete. '31' rows found!
DEBUG: ifHCInOctets data collection complete. '30' rows found!
DEBUG: ifHCOutOctets data collection complete. '30' rows found!
DEBUG: ifInNUcastPkts data collection complete. '31' rows found!
DEBUG: ifOutNUcastPkts data collection complete. '31' rows found!
DEBUG: ifInUcastPkts data collection complete. '31' rows found!
DEBUG: ifOutUcastPkts data collection complete. '31' rows found!
DEBUG: ifInDiscards data collection complete. '31' rows found!
DEBUG: ifInErrors data collection complete. '31' rows found!
DEBUG: ifInUnknownProtos data collection complete. '31' rows found!
DEBUG: ifOutDiscards data collection complete. '31' rows found!
DEBUG: ifOutErrors data collection complete. '31' rows found!
DEBUG: ifInterfaces assembly complete: 18307
DEBUG: Adding IfInterfaces Records
DEBUG: Cisco Voice VLAN collection complete
DEBUG: Voice VLANs exist on this device
DEBUG: ifInterfaces assembly complete.
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 8
DEBUG: VLAN Analysis for VLAN: 2/VLAN0002 is complete. ACTIVE PORTS: 19
DEBUG: Processing has begun for VLAN: 1
DEBUG: Port number information collected.
DEBUG: INDEX: '0' MAC ADDRESS: 00:13:72:50:0E:7A
DEBUG: INDEX: '1' MAC ADDRESS: 00:13:72:5A:9C:3A
DEBUG: INDEX: '2' MAC ADDRESS: 00:13:72:5A:9C:C8
DEBUG: INDEX: '3' MAC ADDRESS: 00:13:72:5A:9C:EF
DEBUG: INDEX: '4' MAC ADDRESS: 00:13:72:5A:9C:F2
DEBUG: INDEX: '5' MAC ADDRESS: 00:13:72:5A:9D:0D
DEBUG: INDEX: '6' MAC ADDRESS: 00:19:56:04:DE:08
DEBUG: INDEX: '7' MAC ADDRESS: 00:19:B9:F4:0C:AE
DEBUG: INDEX: '8' MAC ADDRESS: 00:19:B9:F4:15:96
DEBUG: INDEX: '9' MAC ADDRESS: 00:19:B9:F4:1E:E2
DEBUG: INDEX: '10' MAC ADDRESS: 00:1A:6D:E9:31:D5
DEBUG: INDEX: '11' MAC ADDRESS: 00:1B:2F:B0:E6:B3
DEBUG: INDEX: '12' MAC ADDRESS: 00:1B:2F:B0:E6:E3
DEBUG: INDEX: '13' MAC ADDRESS: 00:1D:09:6D:59:A0
DEBUG: INDEX: '14' MAC ADDRESS: 00:21:28:17:97:B0
DEBUG: INDEX: '15' MAC ADDRESS: 00:21:28:17:97:B9
DEBUG: INDEX: '16' MAC ADDRESS: 00:21:28:57:C5:D2
DEBUG: INDEX: '17' MAC ADDRESS: 00:21:28:57:C5:D3
DEBUG: INDEX: '18' MAC ADDRESS: 00:21:28:B3:12:B0
DEBUG: INDEX: '19' MAC ADDRESS: 00:21:9B:99:76:A9
DEBUG: INDEX: '20' MAC ADDRESS: 00:21:9B:99:76:B1
DEBUG: INDEX: '21' MAC ADDRESS: 78:2B:CB:02:B1:D7
DEBUG: INDEX: '22' MAC ADDRESS: 78:2B:CB:02:B1:DF
DEBUG: Port mac address information collected.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 1, VLAN_NAME: default, ACTIVE PORTS: 23
DEBUG: Bridge port information collection complete.
DEBUG: Processing has begun for VLAN: 2
DEBUG: Port number information collected.
DEBUG: INDEX: '0' MAC ADDRESS: 00:03:BA:8F:D5:18
DEBUG: INDEX: '1' MAC ADDRESS: 00:15:C5:E6:C9:CD
DEBUG: INDEX: '2' MAC ADDRESS: 00:15:C5:E6:D3:73
DEBUG: INDEX: '3' MAC ADDRESS: 00:15:C5:E6:D3:9B
DEBUG: INDEX: '4' MAC ADDRESS: 00:19:56:04:DE:08
DEBUG: INDEX: '5' MAC ADDRESS: 00:1A:6D:E9:31:D4
DEBUG: INDEX: '6' MAC ADDRESS: 00:1D:09:6D:9B:33
DEBUG: INDEX: '7' MAC ADDRESS: 00:1D:09:6D:9F:57
DEBUG: INDEX: '8' MAC ADDRESS: 00:1E:C9:B7:4D:33
DEBUG: INDEX: '9' MAC ADDRESS: 00:30:48:7B:CF:C9
DEBUG: INDEX: '10' MAC ADDRESS: 00:A0:98:24:93:04
DEBUG: INDEX: '11' MAC ADDRESS: 00:E0:9E:0E:18:0C
DEBUG: INDEX: '12' MAC ADDRESS: E0:91:F5:8B:4D:D8
DEBUG: Port mac address information collected.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 2, VLAN_NAME: VLAN0002, ACTIVE PORTS: 13
DEBUG: Bridge port information collection complete.
DEBUG: Final cross check's now being performed.
DEBUG: VLAN: 1, NAME: default, PORT: Fa0/6, NAME: foo, MAC: 00:13:72:5A:9C:3A
DEBUG: VLAN: 1, NAME: default, PORT: Fa0/2, NAME: foo, MAC: 00:13:72:5A:9C:C8
DEBUG: VLAN: 1, NAME: default, PORT: Fa0/14, NAME: foo, MAC: 00:13:72:5A:9C:F2
DEBUG: VLAN: 1, NAME: default, PORT: Fa0/5, NAME: foobaz, MAC: 00:13:72:5A:9D:0D
DEBUG: VLAN: 1, NAME: default, PORT: Fa0/4, NAME: i am making these up, MAC: 00:19:B9:F4:1E:E2
DEBUG: VLAN: 1, NAME: default, PORT: Fa0/11, NAME: sFlow, MAC: 00:1D:09:6D:59:A0
DEBUG: VLAN: 2, NAME: VLAN0002, PORT: Fa0/3, NAME: louis was here, MAC: 00:03:BA:8F:D5:18
DEBUG: VLAN: 2, NAME: VLAN0002, PORT: Fa0/7, NAME: legalize it, MAC: 00:15:C5:E6:C9:CD
DEBUG: VLAN: 2, NAME: VLAN0002, PORT: Gi0/2, NAME: your mom, MAC: 00:15:C5:E6:D3:73
DEBUG: VLAN: 2, NAME: VLAN0002, PORT: Fa0/9, NAME: whatever, MAC: 00:15:C5:E6:D3:9B
DEBUG: VLAN: 2, NAME: VLAN0002, PORT: Fa0/13, NAME: i love coffee, MAC: 00:1D:09:6D:9B:33
DEBUG: VLAN: 2, NAME: VLAN0002, PORT: Fa0/15, NAME: no more wars of aggression, MAC: 00:1D:09:6D:9F:57
DEBUG: VLAN: 2, NAME: VLAN0002, PORT: Fa0/10, NAME: lalalalala, MAC: 00:1E:C9:B7:4D:33
DEBUG: VLAN: 2, NAME: VLAN0002, PORT: Fa0/12, NAME: DX3000, MAC: 00:30:48:7B:CF:C9
DEBUG: VLAN: 2, NAME: VLAN0002, PORT: Fa0/16, NAME: Quantum SuperLoader3 Tape Library, MAC: 00:E0:9E:0E:18:0C

?


INFO: HOST: 10.0.0.253, TYPE: Cisco IOS Software, C2960 Software (C296, TOTAL PORTS: 26, ACTIVE PORTS: 15
DEBUG: MAC Address '00:13:72:5A:9C:3A' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:13:72:5A:9C:C8' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:13:72:5A:9C:F2' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:13:72:5A:9D:0D' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:19:B9:F4:1E:E2' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:1D:09:6D:59:A0' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:03:BA:8F:D5:18' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:15:C5:E6:C9:CD' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:15:C5:E6:D3:73' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:15:C5:E6:D3:9B' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:1D:09:6D:9B:33' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:1D:09:6D:9F:57' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:1E:C9:B7:4D:33' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:30:48:7B:CF:C9' on device 'Cisco Catalyst 2960' is NOT Authorized
DEBUG: MAC Address '00:E0:9E:0E:18:0C' on device 'Cisco Catalyst 2960' is NOT Authorized
[[email protected] mactrack]#

johng7777777
Posts: 18
Joined: Thu Jan 19, 2012 3:11 pm

Re: MACs in debug output on command line- not in GUI?!

#2 Post by johng7777777 » Wed Nov 07, 2012 12:44 pm

Well,

It looks like after a few runs the Mac Addresses are now showing in the GUI. Weird. Maybe I just need to refresh my browser and/or exit and get back in. They are in there now....

I am going to post another message on how we can now somehow, someway watch these other switches which are a scourge on our network....

Post Reply