mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Parse info from H3C branded comware devices (#12551)
* Update comware.yaml Fix the problem that the H3C switch cannot obtain the device hardware model * better regex, remove ENTITY-MIB::entPhysicalName it is rubbish. Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
mib: HH3C-LswDEVM-MIB:HH3C-ENTITY-EXT-MIB
|
||||
modules:
|
||||
os:
|
||||
sysDescr_regex: '/Version (?<version>[0-9.]+).*(Release|ESS) (?<features>[R0-9P]+).*\n(HPE |HPE FF |HP )(?<hardware>.*)/'
|
||||
sysDescr_regex: '/Version (?<version>[0-9.]+).*(Release|ESS) (?<features>[R0-9P]+).*[\n ](HPE |HPE FF |HP |H3C )(?<hardware>.*)[\r ][\n ]/'
|
||||
sensors:
|
||||
pre-cache:
|
||||
data:
|
||||
|
@@ -49765,9 +49765,9 @@
|
||||
"sysObjectID": ".1.3.6.1.4.1.25506.11.1.172",
|
||||
"sysDescr": "HP Comware Platform Software, Software Version 7.1.045, Release 2416 HP FF 5700-40XG-2QSFP Switch Copyright (c) 2010-2014 Hewlett-Packard Development Company, L.P.",
|
||||
"sysContact": "<private>",
|
||||
"version": null,
|
||||
"hardware": null,
|
||||
"features": null,
|
||||
"version": "7.1.045",
|
||||
"hardware": "FF 5700-40XG-2QSFP",
|
||||
"features": "2416",
|
||||
"os": "comware",
|
||||
"type": "network",
|
||||
"serial": "DM20F3000F",
|
||||
|
@@ -8,7 +8,7 @@
|
||||
"sysDescr": "HP Comware Platform Software, Software Version 5.20.99 Release 2222P08\nHP A5500-24G EI Switch with 2 Interface Slots\r\nCopyright (c) 2010-2017 Hewlett Packard Enterprise Development LP",
|
||||
"sysContact": "<private>",
|
||||
"version": "5.20.99",
|
||||
"hardware": "A5500-24G EI Switch with 2 Interface Slots\r",
|
||||
"hardware": "A5500-24G EI Switch with 2 Interface Slots",
|
||||
"features": "2222P08",
|
||||
"os": "comware",
|
||||
"type": "network",
|
||||
|
@@ -26,7 +26,7 @@
|
||||
"sysDescr": "HPE Comware Platform Software, Software Version 7.1.045, Release 2422P01\nHPE 5900AF-48G-4XG-2QSFP+ Switch\r\nCopyright (c) 2010-2015 Hewlett Packard Enterprise Development LP",
|
||||
"sysContact": "<private>",
|
||||
"version": "7.1.045",
|
||||
"hardware": "5900AF-48G-4XG-2QSFP+ Switch\r",
|
||||
"hardware": "5900AF-48G-4XG-2QSFP+ Switch",
|
||||
"features": "2422P01",
|
||||
"os": "comware",
|
||||
"type": "network",
|
||||
|
Reference in New Issue
Block a user