Place Your Feature Requests & Bug Reports Here
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Getting closer to an alpha. Need testers who can put up with foibles.
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?
-
- Posts: 42
- Joined: Fri Aug 28, 2009 1:43 am
- Location: Germany
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Dump your mac_track_interfaces table and PM to me.
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Fixed in SVN.
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?
-
- Cacti User
- Posts: 168
- Joined: Fri Sep 12, 2008 2:41 am
- Location: Sweden
Just dled the latest SVN of mactrack (rev693).
Here are some stuff i noticed:
* It lists the mac-addresses it knows of from every vlan available, but maybe this is in relation to the bug below (since vlan macs are linked to Fa0/34 and not Gi0/1 / 2, which are ignored). (Scan type: Switch/Hub selected).
* Fa0/34 seems to be a magic boundary, never any interfaces above this (also every vlan mac is linked to this interface). Could be because undefined indexes warning, a debug is attached.
* An identical device added isnt polled for its ports. According to its debug the get_IOS_dot1dTpFdbEntry_ports function isnt able to get ifIndex/ifType/ifName even though a regular snmpwalk of IF-MIB:: of each does supply indexes. <removed because of thinking too much>
* SNMP-config isnt copied on the fly from Cacti, need to select devices and choose "Copy SNMP settings...". From what i understand of the mactrack settings it should be on the fly without the need to select devices etc.
* No biggy: mactrack wont dl the oui.txt if behind a (at least our) proxy. Solved this by wget-ing the oui in cli and changing the function to point to an absolute path of the oui.txt.
All testing was on Cisco Catalyst 3500XL switches, with IOS 12.0(5.2)XU.
Here are some stuff i noticed:
* It lists the mac-addresses it knows of from every vlan available, but maybe this is in relation to the bug below (since vlan macs are linked to Fa0/34 and not Gi0/1 / 2, which are ignored). (Scan type: Switch/Hub selected).
* Fa0/34 seems to be a magic boundary, never any interfaces above this (also every vlan mac is linked to this interface). Could be because undefined indexes warning, a debug is attached.
* An identical device added isnt polled for its ports. According to its debug the get_IOS_dot1dTpFdbEntry_ports function isnt able to get ifIndex/ifType/ifName even though a regular snmpwalk of IF-MIB:: of each does supply indexes. <removed because of thinking too much>
* SNMP-config isnt copied on the fly from Cacti, need to select devices and choose "Copy SNMP settings...". From what i understand of the mactrack settings it should be on the fly without the need to select devices etc.
* No biggy: mactrack wont dl the oui.txt if behind a (at least our) proxy. Solved this by wget-ing the oui in cli and changing the function to point to an absolute path of the oui.txt.
All testing was on Cisco Catalyst 3500XL switches, with IOS 12.0(5.2)XU.
- Attachments
-
- mactrack_debug.txt.zip
- (16.71 KiB) Downloaded 256 times
Last edited by toe_cutter on Wed Feb 24, 2010 10:04 am, edited 1 time in total.
Hi,
latest svn (693) has stopped polling some cisco devices.
Log attached :
"undefined index in mactrack_cisco.php line 404,405,406"
latest svn (693) has stopped polling some cisco devices.
Log attached :
"undefined index in mactrack_cisco.php line 404,405,406"
- Attachments
-
- mactrackpollerdebug693.txt
- (621.3 KiB) Downloaded 114 times
Most errors gone with svn 737,
only 2 php notices at the end of scanning.
PHP Notice: Undefined variable: atEntries in /var/www/cacti/plugins/mactrack/lib/mactrack_functions.php on line 348
PHP Notice: Undefined variable: atEntries in /var/www/cacti/plugins/mactrack/lib/mactrack_functions.php on line 370
Still not polling most of our Cisco equipment.
Well, having a closer look polling looks OK, but it's not writing the info to the database.
Included a mactrack_scanner output for one of the 3750's.
Thanks,
Joris.
only 2 php notices at the end of scanning.
PHP Notice: Undefined variable: atEntries in /var/www/cacti/plugins/mactrack/lib/mactrack_functions.php on line 348
PHP Notice: Undefined variable: atEntries in /var/www/cacti/plugins/mactrack/lib/mactrack_functions.php on line 370
Still not polling most of our Cisco equipment.
Well, having a closer look polling looks OK, but it's not writing the info to the database.
Included a mactrack_scanner output for one of the 3750's.
Thanks,
Joris.
- Attachments
-
- 737cisco3750.txt
- (13.5 KiB) Downloaded 264 times
-
- Cacti User
- Posts: 168
- Joined: Fri Sep 12, 2008 2:41 am
- Location: Sweden
I get the same as Joris with the 737 SVN version. Polling seems OK:
DEBUG: Processing has begun for VLAN: 2
DEBUG: Port number information collected.
DEBUG: INDEX: '0' MAC ADDRESS: 00:00:0C:07:AC:01
DEBUG: INDEX: '1' MAC ADDRESS: 00:01:97:24:D5:78
DEBUG: INDEX: '2' MAC ADDRESS: 00:1B:24:08:7E:A7
DEBUG: INDEX: '3' MAC ADDRESS: 00:1B:24:93:1D:EE
DEBUG: INDEX: '4' MAC ADDRESS: 00:22:55:E5:1A:50
DEBUG: INDEX: '5' MAC ADDRESS: 00:D0:01:25:48:00
DEBUG: INDEX: '6' MAC ADDRESS: 00:D0:02:F8:BC:00
DEBUG: Port mac address information collected.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 2, VLAN_NAME: Management_VLAN, ACTIVE PORTS: 7
DEBUG: Bridge port information collection complete.
But the SQL that updates the database always shows ports_active='0' and macs_active='0':
This is against a Cisco 3650.
DEBUG: Processing has begun for VLAN: 2
DEBUG: Port number information collected.
DEBUG: INDEX: '0' MAC ADDRESS: 00:00:0C:07:AC:01
DEBUG: INDEX: '1' MAC ADDRESS: 00:01:97:24:D5:78
DEBUG: INDEX: '2' MAC ADDRESS: 00:1B:24:08:7E:A7
DEBUG: INDEX: '3' MAC ADDRESS: 00:1B:24:93:1D:EE
DEBUG: INDEX: '4' MAC ADDRESS: 00:22:55:E5:1A:50
DEBUG: INDEX: '5' MAC ADDRESS: 00:D0:01:25:48:00
DEBUG: INDEX: '6' MAC ADDRESS: 00:D0:02:F8:BC:00
DEBUG: Port mac address information collected.
DEBUG: Bridge port information about to be collected.
DEBUG: VLAN_ID: 2, VLAN_NAME: Management_VLAN, ACTIVE PORTS: 7
DEBUG: Bridge port information collection complete.
But the SQL that updates the database always shows ports_active='0' and macs_active='0':
This is against a Cisco 3650.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Need to revisit the scanning functions to see what is up, cisco wise. Later this week though. I've got a few other plugins that I have to work on this week. Please post your bugs in Mantis too (bugs.cacti.net). When logging bugs, please make sure you place them under the MacTrack plugin. Upper right hand corner, select Cacti Plugins.
It appears that timeouts are not being handled well in the current code, they appear to not be shown as timeouts in the log, so increase your timeouts.
TheWitness
It appears that timeouts are not being handled well in the current code, they appear to not be shown as timeouts in the log, so increase your timeouts.
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?
backed off to version 497 of mactrack_cisco.php
Get this at the end :
PHP Notice: Undefined index: 11002 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 384
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 385
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 386
PHP Notice: Undefined index: 12048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 384
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 385
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 386
PHP Notice: Undefined index: 10048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 384
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 385
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 386
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
Tried then with version 558 :
PHP Notice: Undefined index: 12048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 384
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 385
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 386
PHP Notice: Undefined index: 10048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 384
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 385
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 386
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
Version 665
PHP Notice: Undefined index: 10048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 390
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 391
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 392
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
version 689
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
version 693
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
version 700
PHP Notice: Undefined index: 10048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 404
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 405
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 406
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
version 721
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
So not a real difference with any of the mactrack_cisco files.
I think my previous update was early december when it all worked fine. (i think upto 593)
I'm on a big project right now, so don't have alot of time for testing, but if you want me to test something i'll try to do it asap.
Joris.
Get this at the end :
PHP Notice: Undefined index: 11002 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 384
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 385
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 386
PHP Notice: Undefined index: 12048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 384
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 385
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 386
PHP Notice: Undefined index: 10048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 384
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 385
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 386
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
Tried then with version 558 :
PHP Notice: Undefined index: 12048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 384
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 385
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 386
PHP Notice: Undefined index: 10048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 384
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 385
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 386
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
Version 665
PHP Notice: Undefined index: 10048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 390
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 391
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 392
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
version 689
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
version 693
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
version 700
PHP Notice: Undefined index: 10048 in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 404
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 405
PHP Notice: Undefined index: in /var/www/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 406
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
version 721
INFO: HOST: 172.21.87.34, TYPE: Cisco IOS Software, C3750 Software (C375, TOTAL PORTS: 260, ACTIVE PORTS: 0DEBUG: Scanning function is 'get_standard_arp_table'
So not a real difference with any of the mactrack_cisco files.
I think my previous update was early december when it all worked fine. (i think upto 593)
I'm on a big project right now, so don't have alot of time for testing, but if you want me to test something i'll try to do it asap.
Joris.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Ok, test in the morning.
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 2 guests