Possible snmp issue: Device type not found

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
pmoney
Posts: 3
Joined: Fri Jan 17, 2014 7:49 am

Possible snmp issue: Device type not found

Post by pmoney »

I have a bunch of Cisco Catalyst 4500 L3 switches I am trying to discover with mactrack. This is a new install of cacti and mactrack on ubuntu. Any help would be appreciated!!

Ubuntu V:13.04
mactrack: 2.9.1

System Description Match: Catalyst 4500 L3
SNMP OID: .1.3.6.1.4.1.9.9
also tried .1.3.6.1.4.1.9.9.249.1.1.1.1.7.1000

Here is the output from the poller:
01/17/2014 08:31:35 AM - MACTRACK: Poller[0] WARNING: SITE: ADMIN, IP: XXX.XXX.XXX.XXX, TYPE: Cisco IOS Software, Catalyst 4500 L3 Swi, ERROR: Device Type Not Found in Device Type Table.

Debug:
root@local:/usr/share/cacti/site/plugins/mactrack# php -q poller_mactrack.php -d -f
DEBUG: About to enter MacTrack poller processing
DEBUG: Into Processing. Checking to determine if it's time to run.
DEBUG: Checking if user changed the start time
DEBUG: Checking if user changed the maintenance time
DEBUG: The next run time has been determined to be at '2014-01-17 8:35:06'
DEBUG: The next database maintenance run time has been determined to be at '2014-01-18 0:00:00'
DEBUG: Either a scan has been forced, or it's time to check for macs
DEBUG: CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=1 -d
01/17/2014 08:32:40 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=1 -d]
DEBUG: CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=2 -d
01/17/2014 08:32:40 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=2 -d]
DEBUG: A process cycle launch just completed.
DEBUG: Interum IP addresses to MAC addresses association pass complete.
DEBUG: MAC addresses to Vendor MACS association pass complete.
DEBUG: MAC VLAN's in VLAN Table Updated.
DEBUG: Finished transferring scan results to main table.
DEBUG: Finished updating site table with collection statistics.
01/17/2014 08:32:42 AM - SYSTEM MACTRACK STATS: Time:2.0208 ConcurrentProcesses:7 Devices:2

SNMPWALK:
root@local:/usr/share/cacti/site/plugins/mactrack# snmpwalk -v 2c -c COMM XXX.XXX.XXX.XXX .1.3.6.1.4.1.9.9.249.1.1.1.1.7.1000
SNMPv2-SMI::enterprises.9.9.249.1.1.1.1.7.1000 = STRING: "Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), Version 15.1(2)SG2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Thu 05-Sep-13 18:20 by prod_rel_team"

SNMPGET:
root@local:/usr/share/cacti/site/plugins/mactrack# snmpget -v 2c -c COMM XXX.XXX.XXX.XXX .1.3.6.1.4.1.9.9.249.1.1.1.1.7.1000
SNMPv2-SMI::enterprises.9.9.249.1.1.1.1.7.1000 = STRING: "Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICESK9-M), Version 15.1(2)SG2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Thu 05-Sep-13 18:20 by prod_rel_team"
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Re: Possible snmp issue: Device type not found

Post by JorisFRST »

Joris.
http://www.routerjanitor.com
pmoney
Posts: 3
Joined: Fri Jan 17, 2014 7:49 am

Re: Possible snmp issue: Device type not found

Post by pmoney »


I checked out your link and followed the instructions to add a new device. When I use the ObjectID that is in the SNMP info on the device page with snmpget,

root@local# snmpget -v 2c -c community XXX.XXX.XXX.XXX .1.3.6.1.4.1.9.1.874
SNMPv2-SMI::enterprises.9.1.874 = No Such Object available on this agent at this OID
User avatar
JorisFRST
Cacti User
Posts: 229
Joined: Mon Oct 02, 2006 1:22 pm
Location: Belgium
Contact:

Re: Possible snmp issue: Device type not found

Post by JorisFRST »

can you post a screenshot of the device type you setup ?
Joris.
http://www.routerjanitor.com
pmoney
Posts: 3
Joined: Fri Jan 17, 2014 7:49 am

Re: Possible snmp issue: Device type not found

Post by pmoney »

Here are the screenshots.
Attachments
devicetype.JPG
devicetype.JPG (116.24 KiB) Viewed 3309 times
device.JPG
device.JPG (125.84 KiB) Viewed 3309 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests