MAC Track don't correctly determin user, userup, trunc ports

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
pincher
Posts: 12
Joined: Wed May 31, 2006 1:39 am
Contact:

MAC Track don't correctly determin user, userup, trunc ports

Post by pincher »

Good day, Dear Sirs!
I'm talking about Nortel bs350-24T
MAC Track don't correctly determine user, user up, trunc ports.
I'm having proprietary Nortel NMS and so can make reverse engineering the exchange proto between switch and NMS in pcap format by wireshark.
If it' possible direct me to function to making change for correcting this problem.

Best regards
additionaly i'm determin the name of vlan stored in OID rcVlan.2.1.2 (1.3.6.1.4.1.2272.1.3.2.1.2):
# snmpwalk -Os -c public -v 2c 172.17.100.7 1.3.6.1.4.1.2272.1.3.2.1.2
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
rcVlan.2.1.2.1 = STRING: "VLAN #1"
rcVlan.2.1.2.3 = STRING: "VLAN #3"
rcVlan.2.1.2.7 = STRING: "VLAN #7"


Generic switch ports scanning function:

Code: Select all

# php /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=46 -d
No log handling enabled - turning on stderr logging
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
DEBUG: HOST: 172.17.100.7 is alive, processing has begun.
DEBUG: Scanning function is 'get_generic_switch_ports'
DEBUG: ifIndexes data collection complete
DEBUG: ifIndexes data collection complete. '26' rows found!
DEBUG: ifTypes data collection complete. '26' rows found!
DEBUG: ifNames data collection complete. '0' rows found!
DEBUG: ipAddrTable scanning for link ports data collection complete. '1' rows found!
DEBUG: ifSpeed data collection complete. '26' rows found!
DEBUG: ifHighSpeed data collection complete. '0' rows found!
DEBUG: ifDuplex data collection complete. '0' rows found!
DEBUG: ifDescr data collection complete. '26' rows found!
DEBUG: ifMtu data collection complete. '26' rows found!
DEBUG: ifPhysAddress data collection complete. '26' rows found!
DEBUG: ifAdminStatus data collection complete. '26' rows found!
DEBUG: ifOperStatus data collection complete. '26' rows found!
DEBUG: ifLastChange data collection complete. '26' rows found!
DEBUG: ifInOctets data collection complete. '26' rows found!
DEBUG: ifOutOctets data collection complete. '26' rows found!
DEBUG: ifHCInOctets data collection complete. '0' rows found!
DEBUG: ifHCOutOctets data collection complete. '0' rows found!
DEBUG: ifInNUcastPkts data collection complete. '26' rows found!
DEBUG: ifOutNUcastPkts data collection complete. '26' rows found!
DEBUG: ifInUcastPkts data collection complete. '26' rows found!
DEBUG: ifOutUcastPkts data collection complete. '26' rows found!
DEBUG: ifInDiscards data collection complete. '26' rows found!
DEBUG: ifInErrors data collection complete. '26' rows found!
DEBUG: ifInUnknownProtos data collection complete. '26' rows found!
DEBUG: ifOutDiscards data collection complete. '26' rows found!
DEBUG: ifOutErrors data collection complete. '26' rows found!
DEBUG: ifInterfaces assembly complete: 12543
DEBUG: Adding IfInterfaces Records
INFO: HOST: 172.17.100.7, TYPE: BayStack 350-24T HW:RevL  FW:V1.48 SW:v4, TOTAL PORTS: 26, OPER PORTS: 6
DEBUG: Port number information collected.
DEBUG: No user ports on this network.
Using the other scanning switch port function get_norbay_switch_ports:

Code: Select all

# php /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=46 -d
No log handling enabled - turning on stderr logging
Bad operator (INTEGER): At line 73 in /usr/share/snmp/mibs/ietf/SNMPv2-PDU
DEBUG: HOST: 172.17.100.7 is alive, processing has begun.
DEBUG: Scanning function is 'get_norbay_switch_ports'
DEBUG: There are 64 VLANS.
DEBUG: ifIndexes data collection complete
DEBUG: ifIndexes data collection complete. '26' rows found!
DEBUG: ifTypes data collection complete. '26' rows found!
DEBUG: ifNames data collection complete. '0' rows found!
DEBUG: ipAddrTable scanning for link ports data collection complete. '1' rows found!
DEBUG: ifSpeed data collection complete. '26' rows found!
DEBUG: ifHighSpeed data collection complete. '0' rows found!
DEBUG: ifDuplex data collection complete. '0' rows found!
DEBUG: ifDescr data collection complete. '26' rows found!
DEBUG: ifMtu data collection complete. '26' rows found!
DEBUG: ifPhysAddress data collection complete. '26' rows found!
DEBUG: ifAdminStatus data collection complete. '26' rows found!
DEBUG: ifOperStatus data collection complete. '26' rows found!
DEBUG: ifLastChange data collection complete. '26' rows found!
DEBUG: ifInOctets data collection complete. '26' rows found!
DEBUG: ifOutOctets data collection complete. '26' rows found!
DEBUG: ifHCInOctets data collection complete. '0' rows found!
DEBUG: ifHCOutOctets data collection complete. '0' rows found!
DEBUG: ifInNUcastPkts data collection complete. '26' rows found!
DEBUG: ifOutNUcastPkts data collection complete. '26' rows found!
DEBUG: ifInUcastPkts data collection complete. '26' rows found!
DEBUG: ifOutUcastPkts data collection complete. '26' rows found!
DEBUG: ifInDiscards data collection complete. '26' rows found!
DEBUG: ifInErrors data collection complete. '26' rows found!
DEBUG: ifInUnknownProtos data collection complete. '26' rows found!
DEBUG: ifOutDiscards data collection complete. '26' rows found!
DEBUG: ifOutErrors data collection complete. '26' rows found!
DEBUG: ifInterfaces assembly complete: 12544
DEBUG: Adding IfInterfaces Records

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifDescr in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 186
DEBUG: Found Port Trunk:

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifDescr in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 186
DEBUG: Found Port Trunk:

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifDescr in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 186
DEBUG: Found Port Trunk:

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175

Notice: Undefined index:  ifDescr in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 186
DEBUG: Found Port Trunk:

Notice: Undefined index:  ifOperStatus in /usr/share/cacti/site/plugins/mactrack/lib/mactrack_norbay.php on line 175
DEBUG: ifInterfaces assembly complete.
DEBUG: Port number information collected.
DEBUG: No user ports on this network.
INFO: HOST: 172.17.100.7, TYPE: BayStack 350-24T HW:RevL  FW:V1.48 SW:v4, TOTAL PORTS: 26, ACTIVE PORTS: 0
Attachments
172.17.100.7.txt
Wireshark PCAP
(70.78 KiB) Downloaded 154 times
MacTrack
MacTrack
172.17.100.7_mactrack.png (4.91 KiB) Viewed 1822 times
Nortel NMS
Nortel NMS
172.17.100.7.png (22.8 KiB) Viewed 1822 times
[quote][b]Cacti Version[/b] - 0.8.7g
[b]Plugin Architecture[/b] - 2.8
[b]Poller Type[/b] - Spine
[b]Server Info[/b] - Linux 2.6.31.12 #1 SMP
[b]Web Server[/b] - Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_perl/2.0.4 Perl/v5.10.0
[b]PHP[/b] - 5.2.6-1+lenny8
[b]PHP Extensions[/b] - libxml, xml, standard, SimpleXML, SPL, session, Reflection, date, pcre, apache2handler, mysql, snmp, sockets
[b]MySQL[/b] - 5.0.51a
[b]RRDTool[/b] - 1.3.1
[b]SNMP[/b] - NET-SNMP version: 5.4.1
[b]Plugins[/b][list]Network Discovery (discovery - v0.8.5)
Device Tracking (mactrack - v2.9)
Monitor - v0.8.2
[/list][/quote]
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest