Link to home
Start Free TrialLog in
Avatar of Loyall
LoyallFlag for Netherlands

asked on

Cacti MacTrack Procurve Error: Device Type Not Found in Device Type Table

Hi,

At some company I'm working at, I'm trying to get the MacTrack plugin to work. The company has a bunch of Pro-Curve switches of two types: 2510G and 2530
Monitoring those switches goes without problems. Graphs are made an inbound/ Outbound traffic is shown.
The problem is, I can't get MacTrack working. It gives me an error:

MACTRACK: Poller[0] WARNING: SITE: SomeName, IP: 10.10.123.123, TYPE: HP J9775A 2530-48G Switch, revision YA.1, ERROR: Device Type Not Found in Device Type Table.

I did a lot of searching on the internet but could not find a solution.
These are the settings I've made:

Devices:
Device Name: SomeSwitch01
Hostname: 10.10.123.123
Related Cacti Host: Name of management server Cacti is installed
Scan Type: Switch/Hub
Site Name: SomeName

SNMP Options:
SNMP Options: None

SNMP Options:
SNMP Version: Version 2
SNMP Community String: SomeString
Ports, Time-Outs, Retries and Maximum OID's : Default settings

These settings are correct, at the top of the config page, it gives me some information about the switch:

SNMP Information
System: HP J9775A 2530-48G Switch, revision YA.15.13.0005, ROM YA.15.12 (/ws/swbuildm/YA_rel_laredo_qaoff/code/build/lakes(swbuildm_YA_rel_laredo_qaoff_rel_laredo)) (Formerly ProCurve)
Uptime: 1679229101
Hostname: SomeSwitch01
ObjectID: .1.3.6.1.4.1.11.2.3.7.11.139

Under Device Types, I've created this device:

Device Scanning Function Options
Description: HP J9775A 2530-48G Switch
Vendor: HP
Device Type: Switch/Hub
System Description Match: HP J9775A 2530-48G S
Vendor snmp Object ID Match: .1.3.6.1.4.1.11.2.3.7.11.139
Mac Adress Scanning Function: get_procurve_ngi_switch_ports
IP Address Scanning Function: Not Applicable - Switch/Hub


Is there anyone who can tell me the missing link ?
It would be much appreciated !
Avatar of gheist
gheist
Flag of Belgium image

Do you get anything if you query that object id?
Avatar of Loyall

ASKER

Hi gheist,

If I perform a SNMP walk, using Paessler SNMP Tester,  I get this:

Paessler SNMP Tester 5.1.3
6-1-2015 12:44:05 (2 ms) : Device: 10.10.123.123
6-1-2015 12:44:05 (3 ms) : SNMP V2c
6-1-2015 12:44:05 (4 ms) : Walk 1.3.6.1
6-1-2015 12:44:05 (12 ms) : 1.3.6.1.2.1.1.1.0 = "HP J9775A 2530-48G Switch, revision YA.15.13.0005, ROM YA.15.12 (/ws/swbuildm/YA_rel_laredo_qaoff/code/build/lakes
(swbuildm_YA_rel_laredo_qaoff_rel_laredo)) (Formerly ProCurve)"
6-1-2015 12:44:05 (17 ms) : 1.3.6.1.2.1.1.2.0 = "1.3.6.1.4.1.11.2.3.7.11.139"
6-1-2015 12:44:05 (21 ms) : 1.3.6.1.2.1.1.3.0 = "1686281062"
6-1-2015 12:44:05 (26 ms) : 1.3.6.1.2.1.1.4.0 = "Contact"
6-1-2015 12:44:05 (30 ms) : 1.3.6.1.2.1.1.5.0 = "Hostname"
6-1-2015 12:44:05 (35 ms) : 1.3.6.1.2.1.1.6.0 = "SomeSwitch-Switch01"
6-1-2015 12:44:05 (39 ms) : 1.3.6.1.2.1.1.7.0 = "74"
6-1-2015 12:44:05 (44 ms) : 1.3.6.1.2.1.2.1.0 = "56"
6-1-2015 12:44:05 (49 ms) : 1.3.6.1.2.1.2.2.1.1.1 = "1"
6-1-2015 12:44:05 (54 ms) : 1.3.6.1.2.1.2.2.1.1.2 = "2"
6-1-2015 12:44:05 (65 ms) : 1.3.6.1.2.1.2.2.1.1.3 = "3"
6-1-2015 12:44:05 (70 ms) : 1.3.6.1.2.1.2.2.1.1.4 = "4"
6-1-2015 12:44:05 (77 ms) : 1.3.6.1.2.1.2.2.1.1.5 = "5"
6-1-2015 12:44:05 (82 ms) : 1.3.6.1.2.1.2.2.1.1.6 = "6"
6-1-2015 12:44:05 (88 ms) : 1.3.6.1.2.1.2.2.1.1.7 = "7"
6-1-2015 12:44:05 (94 ms) : 1.3.6.1.2.1.2.2.1.1.8 = "8"
6-1-2015 12:44:05 (99 ms) : 1.3.6.1.2.1.2.2.1.1.9 = "9"
6-1-2015 12:44:05 (111 ms) : 1.3.6.1.2.1.2.2.1.1.10 = "10" --and so on
1.3.6.1.2. is hp_ng plugin, not hp_ngi.
Avatar of Loyall

ASKER

Hi, gheist

I've changed the "mac address scanning function" value to "get_procurve_ng_switch_ports" but the result does not change. It is still "ERROR: Device Type Not Found in Device Type Table. "

I was wondering if i'm using the right ObjectID. MacTrack returns the next value as ObjectID: .1.3.6.1.4.1.11.2.3.7.11.139 for the 2530-48G switch and .1.3.6.1.4.1.11.2.3.7.11.88 for the 2510G-24 switch.

I found on the MacTrack forum that this should be the value that has to be used.
Can you confirm that ?
snmpwalk returns different value.
Avatar of Loyall

ASKER

I got a bit further. I think... :-?
When I walk OID 1.3.6.1.2.1.17.4.3.1.2 it returns portnumbers and decimal data like:

1.3.6.1.2.1.17.4.3.1.2.0.30.11.172.16.151 = "4"

If I run sh mac in a telnet session on the switch, it returns for port 4 this MAC Address:
001E0BAC1097

When I convert the "17.4.3.1.2.0.30.11.172.16.151"  to HEX, I get:
11431201EBAC1097

Still, when using this OID in MacTrack, it returns the "ERROR: Device Type Not Found in Device Type Table."  :-?
Find mac track device types and make at least one entry, or re-confirm whatever device type there is.
ASKER CERTIFIED SOLUTION
Avatar of Loyall
Loyall
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Loyall

ASKER

No working solution was offered, so I got rid of Cacti