Problem Scanning / Device Types ????

Support questions about the MAC Track plugin

Moderators: Developers, Moderators

Post Reply
Chilloutfaktor
Posts: 16
Joined: Mon Nov 01, 2010 5:58 am

Problem Scanning / Device Types ????

Post by Chilloutfaktor »

Hi there,

i just installed the new Mactrac version and tried to scan around.
But can't get it to work... (Is there any Manual or Howto?)

My DeviceType for Juniper EX Switches looks like:
Image

As VendorOid i've specified - or what is there exactly needed ?
adm@cacti:~$ snmpwalk -v 1 -c community-RO 10.0.97.61 .1.3.6.1.4.1.2636.3.1.2.0
SNMPv2-SMI::enterprises.2636.3.1.2.0 = STRING: "Juniper EX3200-24P Ethernet Switch"
OID for SerialNr = .1.3.6.1.4.1.2636.3.1.3.0

It would be great if anyone could help me :-)

Best regards,
Constantin


Using Cacti Version 0.8.7g & MacTrack 2.9 on Ubuntu 10.04

Cacti Debug Log:
11/01/2010 11:56:10 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.91, TYPE: Juniper Networks, Inc. ex3200-24p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:10 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.91, TYPE: Juniper Networks, Inc. ex3200-24p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:10 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.81, TYPE: Juniper Networks, Inc. ex3200-48p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:10 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.81, TYPE: Juniper Networks, Inc. ex3200-48p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:09 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=31]
11/01/2010 11:56:09 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=30]
11/01/2010 11:56:09 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.71, TYPE: Juniper Networks, Inc. ex3200-24p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:09 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.71, TYPE: Juniper Networks, Inc. ex3200-24p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.61, TYPE: Juniper Networks, Inc. ex3200-24p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.61, TYPE: Juniper Networks, Inc. ex3200-24p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.51, TYPE: Juniper Networks, Inc. ex3200-48p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.51, TYPE: Juniper Networks, Inc. ex3200-48p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.41, TYPE: Juniper Networks, Inc. ex3200-48p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.41, TYPE: Juniper Networks, Inc. ex3200-48p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.21, TYPE: Juniper Networks, Inc. ex3200-24p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.21, TYPE: Juniper Networks, Inc. ex3200-24p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.31, TYPE: Juniper Networks, Inc. ex3200-48p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.31, TYPE: Juniper Networks, Inc. ex3200-48p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.101, TYPE: Juniper Networks, Inc. ex3200-48p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.101, TYPE: Juniper Networks, Inc. ex3200-48p intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.0.372.3, TYPE: Juniper Networks, Inc. ex4200-48t intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.0.372.3, TYPE: Juniper Networks, Inc. ex4200-48t intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.0.372.2, TYPE: Juniper Networks, Inc. ex4200-48t intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.0.372.2, TYPE: Juniper Networks, Inc. ex4200-48t intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.42.12, TYPE: Juniper Networks, Inc. ex3200-24t intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.42.12, TYPE: Juniper Networks, Inc. ex3200-24t intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.42.11, TYPE: Juniper Networks, Inc. ex3200-24t intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.42.11, TYPE: Juniper Networks, Inc. ex3200-24t intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.0.37.22, TYPE: Cisco IOS Software, C3560 Software (C356, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.0.37.22, TYPE: Cisco IOS Software, C3560 Software (C356, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.0.37.21, TYPE: Cisco IOS Software, C3560 Software (C356, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.0.37.21, TYPE: Cisco IOS Software, C3560 Software (C356, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.229, TYPE: Juniper Networks, Inc. ex4200-24t intern, ERROR: Device Type Not Found in Device Type Table.
11/01/2010 11:56:08 AM - MACTRACK: Poller[0] WARNING: SITE: MySiteName, IP: 172.3.47.229, TYPE: Juniper Networks, Inc. ex4200-24t intern, ERROR: Device Type Not Found in Device Type Table.
MacTrack Log:
About to enter MacTrack Site Scan Processing

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=1
11/01/2010 11:47:56 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]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=2
11/01/2010 11:47:56 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]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=3
11/01/2010 11:47:56 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=3]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=4
11/01/2010 11:47:56 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=4]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=5
11/01/2010 11:47:56 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=5]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=6
11/01/2010 11:47:56 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=6]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=7
11/01/2010 11:47:56 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=7]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=8
11/01/2010 11:47:56 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=8]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=9
11/01/2010 11:47:56 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=9]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=10
11/01/2010 11:47:56 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=10]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=11
11/01/2010 11:47:56 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=11]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=12
11/01/2010 11:47:56 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=12]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=13
11/01/2010 11:47:56 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=13]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=14
11/01/2010 11:47:57 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=14]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=15
11/01/2010 11:47:57 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=15]

A process cycle launch just completed.

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=16
11/01/2010 11:47:59 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=16]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=17
11/01/2010 11:47:59 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=17]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=18
11/01/2010 11:47:59 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=18]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=19
11/01/2010 11:47:59 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=19]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=20
11/01/2010 11:47:59 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=20]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=21
11/01/2010 11:47:59 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=21]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=22
11/01/2010 11:47:59 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=22]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=23
11/01/2010 11:47:59 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=23]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=24
11/01/2010 11:47:59 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=24]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=25
11/01/2010 11:47:59 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=25]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=26
11/01/2010 11:47:59 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=26]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=27
11/01/2010 11:47:59 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=27]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=28
11/01/2010 11:47:59 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=28]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=29
11/01/2010 11:47:59 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=29]

A process cycle launch just completed.

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=30
11/01/2010 11:48:01 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=30]

CMD: /usr/bin/php -q /usr/share/cacti/site/plugins/mactrack/mactrack_scanner.php -id=31
11/01/2010 11:48:01 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=31]

A process cycle launch just completed.

Interum IP addresses to MAC addresses association pass complete.

MAC addresses to Vendor MACS association pass complete.

MAC VLAN's in VLAN Table Updated.

Finished transferring scan results to main table.

Finished updating site table with collection statistics.
Chilloutfaktor
Posts: 16
Joined: Mon Nov 01, 2010 5:58 am

Re: Problem Scanning / Device Types ????

Post by Chilloutfaktor »

Got it working:


System description Match: Juniper Networks, In
Vendor ID MatcH: .1.3.6.1.4.1.2636


---

The Mac Adress list is filling up - 6000 Macs found. But it seems that the mac 2 ip doesnt work....
Using get standard_arp_table
sini
Cacti User
Posts: 91
Joined: Mon Nov 24, 2003 10:22 am
Location: Hungary

Re: Problem Scanning / Device Types ????

Post by sini »

I also got problems with Device Type with a Catalyst 4948 switch.

Sysdescr:

SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500-IPBASE-M), Version 12.2(46)SG, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Fri 27-Jun-08 17:12 by prod_


I set System Description Match: cat4500-IPBASE-M
Vendor snmp Object ID Match: .1.3.6.1.2.1.1.1

I also tried with Vendor snmp Object ID Match: 1.3.6.1.4.1.9.1.626 from CISCO-PRODUCTS-MIB.oid

What is the problem?? :o I always got the: ERROR: Device Type Not Found in Device Type Table.

OS: Linux
Cacti: 0.8.7g
Mactrack version: 2.9
Sini
williem
Cacti User
Posts: 69
Joined: Tue Feb 08, 2005 10:36 am

Re: Problem Scanning / Device Types ????

Post by williem »

for the 4500 switch, the vendor snmpOID match should be .1.3.6.1.4.1.9
I use 4500 for my system description match and get_IOS_dot1dTpFdbEntry_ports for my scanning function.

Regards,
Willie
Cacti 0.8.6h | Cactid 0.8.6g | 64k devices | W2k3 IIS | PHP 5.3 | RRDtool 1.0.49 | Perl 5.8.5 | Dell Servers 8 gig ram
sini
Cacti User
Posts: 91
Joined: Mon Nov 24, 2003 10:22 am
Location: Hungary

Re: Problem Scanning / Device Types ????

Post by sini »

Thx william!

I also got it working with this parameters!
Sini
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest