Solved

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

Posted on 2015-01-05
9
510 Views
Last Modified: 2016-10-28
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 !
0
Comment
Question by:Loyall
  • 5
  • 4
9 Comments
 
LVL 61

Expert Comment

by:gheist
ID: 40532936
Do you get anything if you query that object id?
0
 
LVL 2

Author Comment

by:Loyall
ID: 40533260
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
0
 
LVL 61

Expert Comment

by:gheist
ID: 40533270
1.3.6.1.2. is hp_ng plugin, not hp_ngi.
0
 
LVL 2

Author Comment

by:Loyall
ID: 40534259
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 ?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 61

Expert Comment

by:gheist
ID: 40534343
snmpwalk returns different value.
0
 
LVL 2

Author Comment

by:Loyall
ID: 40536558
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."  :-?
0
 
LVL 61

Expert Comment

by:gheist
ID: 40536648
Find mac track device types and make at least one entry, or re-confirm whatever device type there is.
0
 
LVL 2

Accepted Solution

by:
Loyall earned 0 total points
ID: 40570159
Did not find a solution and tossed Cacti.
Installed Observium in stead of Cacti.
That was quite a relieve. Configuring was very, very easy.
0
 
LVL 2

Author Closing Comment

by:Loyall
ID: 40579383
No working solution was offered, so I got rid of Cacti
0

Join & Write a Comment

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now