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.
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