Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Professional Edition
Description
for transiviers and stp fixes
just add includes/discovery/transceivers/d-link.inc.php
<?php
|
|
|
discover_transceivers_from_sensor_db($device, 'DDM-MGMT-MIB');
|
?>
|
and also we need improve includes/polling/os/dlink.inc.php for revision detection, becase revision may be duplicated.
Duplicate examples:
- DES-3200-28/C1 C1
- DES-1210-28/ME/B3 B3
- DES-1210-28/ME/B2 B2
I use this patch:
$ svn diff includes/polling/os/dlink.inc.php
|
Index: includes/polling/os/dlink.inc.php
|
===================================================================
|
--- includes/polling/os/dlink.inc.php (revision 15417)
|
+++ includes/polling/os/dlink.inc.php (working copy)
|
@@ -58,7 +58,7 @@
|
// HW revision is not required, but anyone can come in handy in the future.
|
// I for example have more than five revisions for one platform (DES-3550)
|
// RMON2-MIB::probeHardwareRev.0 = STRING: "0A3G"
|
-//$revision = snmp_get($device, 'probeHardwareRev.0', '-Ovq', 'RMON2-MIB');
|
-//$hardware = ($revision === '') ? $hardware : $hardware . ' ' . $revision ;
|
+$revision = snmp_get($device, 'probeHardwareRev.0', '-Ovq', 'RMON2-MIB');
|
+$hardware = ($revision === '') ? $hardware : $hardware . ' ' . $revision ;
|
|
// EOF
|
manual merge MIB SWPRIMGMT-DGS3000-MIB from: https://ftp.dlink.ru/pub/Switch/DGS-3000-28XS/SNMP/DGS-3000_R4.00_mibs_20171229_2.zip
patch: [^d-link_SWPRIMGMT-DGS3000-MIB.patch]
Table of devices (snmpdump sended to Mike)
| device_id | sysObjectID | sysDescr | version | hardware | features | serial | ddm sensors | ddm sensors unit | stp | transceivers | other |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 289 | .1.3.6.1.4.1.171.10.63.3 | D-Link DES-3026 Fast Ethernet Switch | NULL | DES-3026 | Fast Ethernet Switch | NULL | n/a | none | n/a | ver 4.30.B12 not in snmp | |
| 224 | .1.3.6.1.4.1.171.10.63.6 | D-Link DES-3028 Fast Ethernet Switch | 2.94.R11 | DES-3028 | Fast Ethernet Switch | no sfp | n/a | none | n/a | ||
| 671 | .1.3.6.1.4.1.171.10.63.6 | D-Link DES-3028 Fast Ethernet Switch | 2.94.B22 | DES-3028 A1 | Fast Ethernet Switch | NULL | mw | rstp disabled | |||
| 676 | .1.3.6.1.4.1.171.10.63.6 | D-Link DES-3028 Fast Ethernet Switch | 2.94.B22 | DES-3028 A1 | Fast Ethernet Switch | NULL | mw | RSTP | |||
| 681 | .1.3.6.1.4.1.171.10.63.6 | D-Link DES-3028 Fast Ethernet Switch | 2.94.B22 | DES-3028 A1 | Fast Ethernet Switch | NULL | mw | MSTP | |||
| 682 | .1.3.6.1.4.1.171.10.63.6 | D-Link DES-3028 Fast Ethernet Switch | 2.94.B22 | DES-3028 A1 | Fast Ethernet Switch | NULL | mw | MSTP | |||
| 677 | .1.3.6.1.4.1.171.10.63.6 | D-Link DES-3028 Fast Ethernet Switch | 2.94.B22 | DES-3028 A2 | Fast Ethernet Switch | P*CV********* | mw | RSTP | |||
| 703 | .1.3.6.1.4.1.171.10.63.11 | D-Link DES-3028G Fast Ethernet Switch | 2.30.B05 | DES-3028G | Fast Ethernet Switch | P*IG********* | not supported | n/a | rstp disabled | n/a | |
| 611 | .1.3.6.1.4.1.171.10.63.11 | D-Link DES-3028G Fast Ethernet Switch | 2.94.B01 | DES-3028G | Fast Ethernet Switch | P*IG********* | not supported | n/a | none | n/a | |
| 701 | .1.3.6.1.4.1.171.10.63.1.2 | D-Link DES-3010G Fast Ethernet Switch | NULL | DES-3010G | Fast Ethernet Switch | NULL | not supported | n/a | none | n/a | ver 4.30.B20 not in snmp |
| 105 | .1.3.6.1.4.1.171.10.64.1 | DES-3526 Fast-Ethernet Switch | 6.20.B21 | DES-3526 A4 | Fast Ethernet Switch | PL0A********* | mw | none | |||
| 168 | .1.3.6.1.4.1.171.10.64.1 | DES-3526 Fast-Ethernet Switch | 6.20.B21 | DES-3526 A4G | Fast Ethernet Switch | NULL | mw | none | |||
| 193 | .1.3.6.1.4.1.171.10.64.2 | DES-3550 Fast-Ethernet Switch | 6.20.B20 | DES-3550 A4G | Fast Ethernet Switch | mw | none | ||||
| 194 | .1.3.6.1.4.1.171.10.64.2 | DES-3550 Fast-Ethernet Switch | 6.20.B20 | DES-3550 A4G | Fast Ethernet Switch | mw | none | ||||
| 587 | .1.3.6.1.4.1.171.10.116.1 | D-Link DES-1228/ME Metro Ethernet Switch | 1.60.B06 | DES-1228/ME A2 | Metro Ethernet Switch | PVCM*X*00**** | not supported | n/a | none | n/a | |
| 610 | .1.3.6.1.4.1.171.10.116.2 | D-Link DES-1228/ME Metro Ethernet Switch | 2.63.B004 | DES-1228/ME B1 | Metro Ethernet Switch | PVCM*X*00**** | not supported | n/a | none | n/a | |
| 636 | .1.3.6.1.4.1.171.10.116.2 | D-Link DES-1228/ME Metro Ethernet Switch | 2.63.B004 | DES-1228/ME B1 | Metro Ethernet Switch | PVCM*X*00**** | not supported | n/a | none | n/a | |
| 615 | .1.3.6.1.4.1.171.10.116.2 | D-Link DES-1228/ME Metro Ethernet Switch | 2.64.B002 | DES-1228/ME B1 | Metro Ethernet Switch | PVCM*X*00**** | not supported | n/a | none | n/a | |
| 348 | .1.3.6.1.4.1.171.10.116.2 | D-Link DES-1228/ME Metro Ethernet Switch | 2.64.B004 | DES-1228/ME B1 | Metro Ethernet Switch | PVCM*X*00**** | not supported | n/a | none | n/a | |
| 494 | .1.3.6.1.4.1.171.10.75.15.2 | DES-1210-28/ME/B2 | 6.11.B065 | DES-1210-28/ME/B2 B2 | NULL | QBM5*XX****** | dbm | none | |||
| 624 | .1.3.6.1.4.1.171.10.75.15.2 | DES-1210-28/ME/B2 | 6.10.E007 | DES-1210-28/ME/B2 B2 | NULL | QBM5*XX****** | dbm | none | |||
| 647 | .1.3.6.1.4.1.171.10.75.15.2 | DES-1210-28/ME/B2 | 6.10.E007 | DES-1210-28/ME/B2 B2 | NULL | QBM5*XX****** | dbm | none | |||
| 270 | .1.3.6.1.4.1.171.10.75.15.2 | DES-1210-28/ME/B2 | 6.11.B065 | DES-1210-28/ME/B2 B2 | QBM5*XX****** | dbm | none | ||||
| 555 | .1.3.6.1.4.1.171.10.75.15.2 | DES-1210-28/ME/B2 | 6.11.B065 | DES-1210-28/ME/B2 B2 | NULL | QBM5*XX****** | dbm | none | |||
| 103 | .1.3.6.1.4.1.171.10.75.15.2 | DES-1210-28/ME/B2 | 6.11.B065 | DES-1210-28/ME/B2 B2 | QBM5*XX****** | dbm | none | ||||
| 642 | .1.3.6.1.4.1.171.10.75.15.3 | DES-1210-28/ME/B3 | 10.05.B049 | DES-1210-28/ME/B3 B3 | NULL | QBM5*XX****** | dbm | none | |||
| 687 | .1.3.6.1.4.1.171.10.113.1.1 | D-Link DES-3200-10 Fast Ethernet Switch | 1.91.B010 | DES-3200-10 A1 | Fast Ethernet Switch | PVI3********* | n/a | none | n/a | ddm exists in CLI, but not found in SNMP | |
| 288 | .1.3.6.1.4.1.171.10.113.1.3 | D-Link DES-3200-28 Fast Ethernet Switch | 1.91.B007 | DES-3200-28 A1 | Fast Ethernet Switch | PVI4********* | n/a | none | n/a | ddm exists in CLI, but not found in SNMP | |
| nn | .1.3.6.1.4.1.171.10.113.1.6 | D-Link DES-3200-28 Metro Ethernet Switch | 1.60.B008 | DES-3200-28 A1 | NULL | PVUE1B******* | can attach dump if needed | ||||
| nn | .1.3.6.1.4.1.171.10.113.1.3 | D-Link DES-3200-28 Fast Ethernet Switch | 1.82.B006 | DES-3200-28 A1 | NULL | PVI41AC****** | can attach dump if needed | ||||
| nn | .1.3.6.1.4.1.171.10.113.1.3 | D-Link DES-3200-28 Fast Ethernet Switch | 1.91.B006 | DES-3200-28 A1 | NULL | PV8F19A****** | can attach dump if needed | ||||
| nn | .1.3.6.1.4.1.171.10.113.1.3 | D-Link DES-3200-28 Fast Ethernet Switch | 1.82.B006 | DES-3200-28 B1 | NULL | PVZ82B5****** | can attach dump if needed | ||||
| nn | .1.3.6.1.4.1.171.10.113.1.3 | D-Link DES-3200-28 Fast Ethernet Switch | 1.83.B008 | DES-3200-28 B1 | NULL | PVZ82B******* | can attach dump if needed | ||||
| 679 | .1.3.6.1.4.1.171.10.113.5.1 | DES-3200-28/C1 Fast Ethernet Switch | 4.51.B018 | DES-3200-28/C1 C1 | Fast Ethernet Switch | R3DZ********* | dbm | RSTP | |||
| nn | .1.3.6.1.4.1.171.10.113.5.1 | DES-3200-28/C1 Fast Ethernet Switch | 4.37.B014 | DES-3200-28/C1 C1 | NULL | R3DZ1E******* | can attach dump if needed | ||||
| nn | .1.3.6.1.4.1.171.10.113.5.1 | DES-3200-28/C1 Fast Ethernet Switch | 4.46.B008 | DES-3200-28/C1 C1 | NULL | R3DZ1E******* | can attach dump if needed | ||||
| nn | .1.3.6.1.4.1.171.10.113.5.1 | DES-3200-28/C1 Fast Ethernet Switch | 4.51.B008 | DES-3200-28/C1 C1 | NULL | R3DZ1D******* | can attach dump if needed | ||||
| 672 | .1.3.6.1.4.1.171.10.133.2.1 | DGS-3000-26TC Gigabit Ethernet Switch | 1.19.B019 | DGS-3000-26TC A1 | Gigabit Ethernet Switch | RZ1N********* | mw | MSTP | |||
| 678 | .1.3.6.1.4.1.171.10.133.2.1 | DGS-3000-26TC Gigabit Ethernet Switch | 1.19.B023 | DGS-3000-26TC A1 | Gigabit Ethernet Switch | RZ1N********* | dbm | RSTP | |||
| 675 | .1.3.6.1.4.1.171.10.133.10.2 | DGS-3000-28X Gigabit Ethernet Switch | 4.19.B008 | DGS-3000-28X B1 | Gigabit Ethernet Switch | SY32********* | mw | MSTP | |||
| 685 | .1.3.6.1.4.1.171.10.117.1.3 | DGS-3120-24SC Gigabit Ethernet Switch | 2.50.B032 | DGS-3120-24SC A2 | Gigabit Ethernet Switch | R314********* | mw | RSTP | |||
| 702 | .1.3.6.1.4.1.171.10.117.2.1 | DGS-3120-24TC Gigabit Ethernet Switch | 4.11.R006 | DGS-3120-24TC B1 | NULL | R3V21E******* | no sfp | rstp disabled | |||
| 64 | .1.3.6.1.4.1.171.10.117.4.1 | DGS-3120-24SC Gigabit Ethernet Switch | 3.12.R510 | DGS-3120-24SC B1 | Gigabit Ethernet Switch | R3V3********* | mw | none | |||
| DGS-3426 | DGS-3426 | snmpdump maybe in future | |||||||||
| 134 | .1.3.6.1.4.1.171.10.70.8 | DGS-3627G Gigabit Ethernet Switch | 3.03.B04 | DGS-3627G 1A1G | Gigabit Ethernet Switch | dbm | none | ||||
| 526 | .1.3.6.1.4.1.171.10.70.8 | DGS-3627G Gigabit Ethernet Switch | 3.03.B04 | DGS-3627G A2 | Gigabit Ethernet Switch | P1JN********* | dbm | none |