[SOLVED] Device Type Not Found in Device Type Table

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

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

[SOLVED] Device Type Not Found in Device Type Table

Post by pincher »

Hello Comunity!
When i'm run mactrack_scanner.php -d -id=2 get look like this.

Code: Select all

 php /usr/local/share/cacti/plugins/mactrack/mactrack_scanner.php -d -id=2
DEBUG: HOST: 172.17.100.7 is alive, processing has begun.
DEBUG: WARNING: SITE: P86xx_INET, IP: 172.17.100.7, TYPE: BayStack 350-24T HW:RevL  FW:V1.48 SW:v4, Device Type Not Found in Device Type Table.
DEBUG: SQL: UPDATE mac_track_devices SET ports_total='0',device_type_id='0',scan_type = '1',vlans_total='0',ports_active='0',ports_trunk='0',macs_active='0',snmp_readstring='public',snmp_sysName='',snmp_sysLocation='',snmp_sysContact='',snmp_sysObjectID='.1.3.6.1.4.1.45.3.30.2',snmp_sysDescr='BayStack 350-24T HW:RevL  FW:V1.48 SW:v4.3.0.4 ISVN:2',snmp_sysUptime='1151060148',snmp_status='4',last_runmessage='WARNING: Device Type Not Found in Device Type Table.',last_rundate='2006-11-07 18:00:04',last_runduration='0.2193' WHERE device_id ='2'
In output, disturb, string:

Code: Select all

Device Type Not Found in Device Type Table
.
The image of Mac Track Device Types in attachment.
What i'm must correct for better result?
TNX
Attachments
Clip_20.jpg
Clip_20.jpg (89.78 KiB) Viewed 5226 times
User avatar
egarnel
Cacti Pro User
Posts: 708
Joined: Thu Nov 21, 2002 8:55 am
Location: Austin, TX

Post by egarnel »

You will have to manually add it into the device table under Console | Device Tracking | Device types

the snmp result has to match the sysDescription value returned from the device in question.

You can get this info by performing an snmpwalk on the device using "system"

snmpwalk -v1 -c public 192.168.5.82 system

Code: Select all

 
SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(25)SEE1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Mon 22-May-06 08:25 by yenanh
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.564
SNMPv2-MIB::sysUpTime.0 = Timeticks: (101013003) 11 days, 16:35:30.03
SNMPv2-MIB::sysContact.0 = STRING: Eric Garnel
SNMPv2-MIB::sysName.0 = STRING: zone2
SNMPv2-MIB::sysLocation.0 = STRING: North.Tunnel.Zone2
SNMPv2-MIB::sysServices.0 = INTEGER: 6
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
in this case my sysdescr is C3560-IPBASEK9-M
Cacti1 OS: CentOS 5.6 | 300+ devices
Cacti2 OS: CentOS 5.6 | 300+ devices
King of the Elves
Local Anarchists Union #427
"Anarchism is founded on the observation that since few men are wise enough to rule themselves, even fewer are wise enough to rule others." -Edward Abbey
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests