Any fix on this?TheWitness wrote:This error?
TheWitnessCode: Select all
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
MacTrack + SNMPv3 and Security contexts
Moderators: Developers, Moderators
Re: MacTrack + SNMPv3 and Security contexts
Re: MacTrack + SNMPv3 and Security contexts
I downloaded the svn and it fixed the issue but i got no mac addresses:janchan88 wrote:Any fix on this?TheWitness wrote:This error?
TheWitnessCode: Select all
PHP Notice: Undefined variable: snmp_readstring in /opt/cacti/plugins/mactrack/lib/mactrack_cisco.php on line 356
/usr/share/cacti/site/plugins/mactrack# php -q poller_mactrack.php -f
No log handling enabled - turning on stderr logging
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
No log handling enabled - turning on stderr logging
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
No log handling enabled - turning on stderr logging
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
No log handling enabled - turning on stderr logging
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
No log handling enabled - turning on stderr logging
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
03/23/2011 11:39:31 AM - SYSTEM MACTRACK STATS: Time:14.4391 ConcurrentProcesses:7 Devices:4
- Attachments
-
- Untitled.png (33.39 KiB) Viewed 3760 times
Re: MacTrack + SNMPv3 and Security contexts
I also got into the authorizationError...
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1104/Data-4fl is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1504/Voice-4fl is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1704/WAP-4fl is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1104/Data-4fl is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1504/Voice-4fl is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1704/WAP-4fl is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Re: MacTrack + SNMPv3 and Security contexts
I fixed the above (add "snmp-server group GroupName v3 auth context vlan-1234" in Cisco switch) but i got the following "MAC Address XXXXX on device 'XXXXX' is NOT Authorized" messagesjanchan88 wrote:I also got into the authorizationError...
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1/default is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1104/Data-4fl is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1504/Voice-4fl is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
Error in packet
Reason: authorizationError (access denied to that object)
DEBUG: VLAN Analysis for VLAN: 1704/WAP-4fl is complete. ACTIVE PORTS: 0
MIB search path: /root/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp
Cannot find module (RFC-1215): At line 0 in (none)
DEBUG: Bridge port information collection complete.
DEBUG: Final cross check's now being performed.
DEBUG: VLAN: 1701, NAME: WAP#1-1fl, PORT: Gi3/46, NAME: , MAC: 00:0B:85:77:50:60
DEBUG: VLAN: 1701, NAME: WAP#1-1fl, PORT: Gi5/45, NAME: , MAC: 00:0B:85:77:50:D0
DEBUG: VLAN: 1701, NAME: WAP#1-1fl, PORT: Gi3/45, NAME: , MAC: 00:0B:85:77:54:10
DEBUG: VLAN: 1701, NAME: WAP#1-1fl, PORT: Gi4/46, NAME: , MAC: 00:0B:85:77:55:C0
DEBUG: VLAN: 1701, NAME: WAP#1-1fl, PORT: Gi5/46, NAME: , MAC: 00:0B:85:77:56:50
DEBUG: VLAN: 1701, NAME: WAP#1-1fl, PORT: Gi4/45, NAME: , MAC: 00:0B:85:77:61:30
DEBUG: VLAN: 1701, NAME: WAP#1-1fl, PORT: Gi6/46, NAME: , MAC: 00:0B:85:77:F9:40
DEBUG: VLAN: 1701, NAME: WAP#1-1fl, PORT: Gi6/45, NAME: , MAC: 00:0B:85:79:00:10
DEBUG: VLAN: 1701, NAME: WAP#1-1fl, PORT: Gi3/43, NAME: , MAC: 00:0B:85:79:00:40
INFO: HOST: 172.19.225.3, TYPE: Cisco IOS Software, Catalyst 4500 L3 Swi, TOTAL PORTS: 198, ACTIVE PORTS: 9
DEBUG: MAC Address '00:0B:85:77:50:60' on device 'LIC_1FL' is NOT Authorized
DEBUG: MAC Address '00:0B:85:77:50:D0' on device 'LIC_1FL' is NOT Authorized
DEBUG: MAC Address '00:0B:85:77:54:10' on device 'LIC_1FL' is NOT Authorized
DEBUG: MAC Address '00:0B:85:77:55:C0' on device 'LIC_1FL' is NOT Authorized
DEBUG: MAC Address '00:0B:85:77:56:50' on device 'LIC_1FL' is NOT Authorized
DEBUG: MAC Address '00:0B:85:77:61:30' on device 'LIC_1FL' is NOT Authorized
DEBUG: MAC Address '00:0B:85:77:F9:40' on device 'LIC_1FL' is NOT Authorized
DEBUG: MAC Address '00:0B:85:79:00:10' on device 'LIC_1FL' is NOT Authorized
DEBUG: MAC Address '00:0B:85:79:00:40' on device 'LIC_1FL' is NOT Authorized
Who is online
Users browsing this forum: No registered users and 2 guests