Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
snmp-server group viewers v3 auth read viewConfig
snmp-server view viewConfig internet included
snmp-server view viewConfig mib-2 included
snmp-server view viewConfig system included
snmp-server view viewConfig cisco included
snmp-server view viewConfig snmpMIB included
snmp-server view viewConfig ciscoConfig included
snmp-server view viewConfig ciscoMgmt included
snmp-server view viewConfig ciscoImageMIB included
php mactrack_scanner.php -id=1 -d
DEBUG: HOST: XXXX is alive, processing has begun.
DEBUG: Scanning function is 'get_IOS_dot1dTpFdbEntry_ports'
DEBUG: There are 13 VLANS.
DEBUG: ifIndexes data collection complete
DEBUG: ifIndexes data collection complete. '122' rows found!
DEBUG: ifTypes data collection complete. '122' rows found!
DEBUG: ifNames data collection complete. '122' rows found!
DEBUG: ifAlias data collection complete. '122' rows found!
DEBUG: ipAddrTable scanning for link ports data collection complete. '11' rows found!
DEBUG: ifSpeed data collection complete. '122' rows found!
DEBUG: ifHighSpeed data collection complete. '122' rows found!
DEBUG: ifDuplex data collection complete. '104' rows found!
DEBUG: ifDescr data collection complete. '122' rows found!
DEBUG: ifMtu data collection complete. '118' rows found!
DEBUG: ifPhysAddress data collection complete. '122' rows found!
DEBUG: ifAdminStatus data collection complete. '122' rows found!
DEBUG: ifOperStatus data collection complete. '122' rows found!
DEBUG: ifLastChange data collection complete. '122' rows found!
DEBUG: ifInOctets data collection complete. '118' rows found!
DEBUG: ifOutOctets data collection complete. '118' rows found!
DEBUG: ifHCInOctets data collection complete. '115' rows found!
DEBUG: ifHCOutOctets data collection complete. '115' rows found!
DEBUG: ifInNUcastPkts data collection complete. '118' rows found!
DEBUG: ifOutNUcastPkts data collection complete. '118' rows found!
DEBUG: ifInUcastPkts data collection complete. '118' rows found!
DEBUG: ifOutUcastPkts data collection complete. '118' rows found!
DEBUG: ifInDiscards data collection complete. '118' rows found!
DEBUG: ifInErrors data collection complete. '118' rows found!
DEBUG: ifInUnknownProtos data collection complete. '118' rows found!
DEBUG: ifOutDiscards data collection complete. '118' rows found!
DEBUG: ifOutErrors data collection complete. '118' rows found!
DEBUG: ifInterfaces assembly complete: 50752
DEBUG: Adding IfInterfaces Records
DEBUG: Cisco Voice VLAN collection complete
DEBUG: Voice VLANs exist on this device
DEBUG: ifInterfaces assembly complete.
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 10/VLAN0010 is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 20/VLAN0020 is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 30/VLAN0030 is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 40/VLAN0040 is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 60/VLAN0060 is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 70/iSCSI is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 80/Heartbeat is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 100/Heartbeat-Temp is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 300/VLAN0300 is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 400/VLAN0400 is complete. ACTIVE PORTS: 0
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 500/MGMT-Network is complete. ACTIVE PORTS: 0
INFO: HOST: XXXX, TYPE: Cisco IOS Software, C3750 Software (C375, No active end devices on this device.
DEBUG: Scanning function is 'get_standard_arp_table'
DEBUG: atifIndexes data collection complete
DEBUG: atPhysAddress data collection complete
DEBUG: atNetAddress data collection complete
DEBUG: atPhysAddress MAC Address Conversion Completed
DEBUG: atEntries assembly complete.
DEBUG: HOST: XXXX, IP address information collection complete
It seems that since SNMPv3 requires a context change (ie: vlan-60, vlan-70, etc.) to scan in VLANs MacTrack cannot scan for active ports and MACs with the default context vlan-1. SNMPv2 switches work just fine--in fact, this same switch polls without error with version 2.
I thought that using SNMP options I could populate multiple SNMPv3 contexts--but I cannot add any entries to SNMP options other than sets.
php -q /opt/cacti/plugins/mactrack/mactrack_scanner.php -d -id=1
DEBUG: HOST: 192.168.168.139 is alive, processing has begun.
DEBUG: Scanning function is 'get_IOS_dot1dTpFdbEntry_ports'
DEBUG: There are 12 VLANS.
DEBUG: ifIndexes data collection complete
DEBUG: ifIndexes data collection complete. '40' rows found!
DEBUG: ifTypes data collection complete. '40' rows found!
DEBUG: ifNames data collection complete. '40' rows found!
DEBUG: ifAlias data collection complete. '40' rows found!
DEBUG: ipAddrTable scanning for link ports data collection complete. '13' rows found!
DEBUG: ifSpeed data collection complete. '40' rows found!
DEBUG: ifHighSpeed data collection complete. '40' rows found!
DEBUG: ifDuplex data collection complete. '28' rows found!
DEBUG: ifDescr data collection complete. '40' rows found!
DEBUG: ifMtu data collection complete. '40' rows found!
DEBUG: ifPhysAddress data collection complete. '40' rows found!
DEBUG: ifAdminStatus data collection complete. '40' rows found!
DEBUG: ifOperStatus data collection complete. '40' rows found!
DEBUG: ifLastChange data collection complete. '40' rows found!
DEBUG: ifInOctets data collection complete. '40' rows found!
DEBUG: ifOutOctets data collection complete. '40' rows found!
DEBUG: ifHCInOctets data collection complete. '39' rows found!
DEBUG: ifHCOutOctets data collection complete. '39' rows found!
DEBUG: ifInNUcastPkts data collection complete. '40' rows found!
DEBUG: ifOutNUcastPkts data collection complete. '40' rows found!
DEBUG: ifInUcastPkts data collection complete. '40' rows found!
DEBUG: ifOutUcastPkts data collection complete. '40' rows found!
DEBUG: ifInDiscards data collection complete. '40' rows found!
DEBUG: ifInErrors data collection complete. '40' rows found!
DEBUG: ifInUnknownProtos data collection complete. '40' rows found!
DEBUG: ifOutDiscards data collection complete. '40' rows found!
DEBUG: ifOutErrors data collection complete. '40' rows found!
DEBUG: ifInterfaces assembly complete: 20227
DEBUG: Adding IfInterfaces Records
DEBUG: Cisco Voice VLAN collection complete
DEBUG: Voice VLANs exist on this device
DEBUG: ifInterfaces assembly complete.
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 2/ITLAN is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 3/HQLAN is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 5/HOTLINE is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 6/Registracia is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 8/SERVERLAN is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 55/Generatorebi is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 77/ASA_droebiti is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 90/AIRONET is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 91/TB_AIR is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 192.168.168.139:161.
DEBUG: VLAN Analysis for VLAN: 100/FOR_ASA is complete. ACTIVE PORTS: 0
INFO: HOST: 192.168.168.139, TYPE: Cisco IOS Software, C3560 Software (C356, No active end devices on this device.
DEBUG: HOST: 10.10.10.7 is alive, processing has begun.
DEBUG: Scanning function is 'get_IOS_dot1dTpFdbEntry_ports'
DEBUG: There are 6 VLANS.
DEBUG: ifIndexes data collection complete
DEBUG: ifIndexes data collection complete. '29' rows found!
DEBUG: ifTypes data collection complete. '29' rows found!
DEBUG: ifNames data collection complete. '29' rows found!
DEBUG: ifAlias data collection complete. '29' rows found!
DEBUG: ipAddrTable scanning for link ports data collection complete. '1' rows found!
DEBUG: ifSpeed data collection complete. '29' rows found!
DEBUG: ifHighSpeed data collection complete. '29' rows found!
DEBUG: ifDuplex data collection complete. '26' rows found!
DEBUG: ifDescr data collection complete. '29' rows found!
DEBUG: ifMtu data collection complete. '29' rows found!
DEBUG: ifPhysAddress data collection complete. '29' rows found!
DEBUG: ifAdminStatus data collection complete. '29' rows found!
DEBUG: ifOperStatus data collection complete. '29' rows found!
DEBUG: ifLastChange data collection complete. '29' rows found!
DEBUG: ifInOctets data collection complete. '29' rows found!
DEBUG: ifOutOctets data collection complete. '29' rows found!
DEBUG: ifHCInOctets data collection complete. '28' rows found!
DEBUG: ifHCOutOctets data collection complete. '28' rows found!
DEBUG: ifInNUcastPkts data collection complete. '29' rows found!
DEBUG: ifOutNUcastPkts data collection complete. '29' rows found!
DEBUG: ifInUcastPkts data collection complete. '29' rows found!
DEBUG: ifOutUcastPkts data collection complete. '29' rows found!
DEBUG: ifInDiscards data collection complete. '29' rows found!
DEBUG: ifInErrors data collection complete. '29' rows found!
DEBUG: ifInUnknownProtos data collection complete. '29' rows found!
DEBUG: ifOutDiscards data collection complete. '29' rows found!
DEBUG: ifOutErrors data collection complete. '29' rows found!
DEBUG: ifInterfaces assembly complete: 13061
DEBUG: Adding IfInterfaces Records
DEBUG: Cisco Voice VLAN collection complete
DEBUG: Voice VLANs exist on this device
DEBUG: ifInterfaces assembly complete.
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 10.10.10.7:161.
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 10.10.10.7:161.
DEBUG: VLAN Analysis for VLAN: 2/ITLAN is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 10.10.10.7:161.
DEBUG: VLAN Analysis for VLAN: 3/HQLAN is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 10.10.10.7:161.
DEBUG: VLAN Analysis for VLAN: 90/AIRONET is complete. ACTIVE PORTS: 0
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
Timeout: No Response from 10.10.10.7:161.
DEBUG: VLAN Analysis for VLAN: 91/TB_AIR is complete. ACTIVE PORTS: 0
INFO: HOST: 10.10.10.7, TYPE: Cisco IOS Software, C2960 Software (C296, No active end devices on this device.
snmp-server group viewers v3 auth match prefix read viewConfig
Maybe we need to match the context prefix ("vlan-") because mactrack is actually using contexts? Never thought about that...
We are using c3560-ipbasek9-mz.122-53.SE2.bin.
Edit: On our older ios switches there is no "match prefix" to use, mactrack doesnt work on these.
Cisco, by abusing the standard, then causes problems with folks who need to use contexts. I'm sure it'll break again soon... With regard to your old IOS switches, what do you mean by 'match prefix'?
TheWitness
True understanding begins only when we realize how little we truly understand...
TheWitness wrote:Cisco, by abusing the standard, then causes problems with folks who need to use contexts. I'm sure it'll break again soon... With regard to your old IOS switches, what do you mean by 'match prefix'?
TheWitness
That argument is not available to configure even.
For instance, with the older c3560-ipbase-mz.122-44.SE1.bin:
<hostname>(config)#snmp-server group aef v3 priv ?
access specify an access-list associated with this group
context specify a context to associate these views for the group
notify specify a notify view for the group
read specify a read view for the group
write specify a write view for the group
<cr>
<hostname>(config)#snmp-server group aef v3 priv ?
access specify an access-list associated with this group
context specify a context to associate these views for the group
match context name match criteria
notify specify a notify view for the group
read specify a read view for the group
write specify a write view for the group
<cr>
I cant actually find a command reference about the "match prefix" command from Cisco, but its there and really works, without it, mactrack fails (for me)