Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Device Type Not Found in Device Type Table

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track)
Author Message
pincher



Joined: 31 May 2006
Posts: 11

PostPosted: Tue Nov 07, 2006 11:27 am    Post subject: Device Type Not Found in Device Type Table Reply with quote

Hello Comunity!
When i'm run mactrack_scanner.php -d -id=2 get look like this.
Code:
 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:
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



Clip_20.jpg
 Description:
 Filesize:  89.78 KB
 Viewed:  1432 Time(s)

Clip_20.jpg


Back to top
egarnel
Cacti Pro User


Joined: 21 Nov 2002
Posts: 630
Location: Austin, TX

PostPosted: Tue Nov 07, 2006 12:37 pm    Post subject: Reply with quote

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:
 
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (MAC Track) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group