mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
device - Adding support to Infortrend DS3016 (#16070)
* Adding support to Infortrend DS3016 * Adding snmprec for Infortrend DS3016 * Delete tests/snmpsim/DS_3016.snmprec * change of the infortrend logo * add the infortrend logo * Delete tests/snmpsim/infortrend_test.snmprec * again another logo replacment * update yaml file to display sensor state * Delete includes/definitions/discovery/infortrend_orig * typo missed the . at start of oid * change logo based on req. from PipoCanaja * on req of PipoCanaja to fix the structure of the folder * replacing the logo as req. from PipoCanaja * Fix infortrend.yaml * Remove mibs/IFT-SNMP-MIB * Create infortrend_infortrend.json * Update infortrend_infortrend.json --------- Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com>
This commit is contained in:
BIN
html/images/logos/infortrend.png
Normal file
BIN
html/images/logos/infortrend.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
BIN
html/images/os/infortrend.png
Normal file
BIN
html/images/os/infortrend.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
19
includes/definitions/discovery/infortrend.yaml
Normal file
19
includes/definitions/discovery/infortrend.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
mib: IFT-SNMP-MIB
|
||||
modules:
|
||||
sensors:
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: luDevTable
|
||||
value: luDevValueUnit
|
||||
num_oid: '.1.3.6.1.4.1.1714.1.1.9.1.1.{{ $index }}'
|
||||
descr: luDevDescription
|
||||
index: '.1.3.6.1.4.1.1714.1.1.9.1.{{ $index }}'
|
||||
snmp_flags: '-OQUsbe'
|
||||
state_name: luDevStatus
|
||||
states:
|
||||
- { value: 1, generic: 3, graph: 1, descr: unknown }
|
||||
- { value: 2, generic: 1, graph: 1, descr: other }
|
||||
- { value: 3, generic: 0, graph: 1, descr: ok }
|
||||
- { value: 4, generic: 1, graph: 1, descr: warning }
|
||||
- { value: 5, generic: 2, graph: 1, descr: failed }
|
13
includes/definitions/infortrend.yaml
Normal file
13
includes/definitions/infortrend.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
os: infortrend
|
||||
text: 'EonStor GS DS-3016'
|
||||
type: storage
|
||||
icon: infortrend
|
||||
mib_dir: infortrend
|
||||
group: Infortrend
|
||||
over:
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
- { graph: device_mempool, text: 'Memory Usage' }
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.1714.1
|
||||
- .1.3.6.1.4.1.2021.4.6
|
7850
mibs/infortrend/IFT-SNMP-MIB
Normal file
7850
mibs/infortrend/IFT-SNMP-MIB
Normal file
File diff suppressed because it is too large
Load Diff
23
tests/data/infortrend_infortrend.json
Normal file
23
tests/data/infortrend_infortrend.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1.1714.1.1",
|
||||
"sysDescr": "Infortrend SNMP agent",
|
||||
"sysContact": "<private>",
|
||||
"version": null,
|
||||
"hardware": null,
|
||||
"features": null,
|
||||
"location": "<private>",
|
||||
"os": "infortrend",
|
||||
"type": "storage",
|
||||
"serial": null,
|
||||
"icon": "infortrend.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
}
|
69
tests/snmpsim/infortrend_infortrend.snmprec
Normal file
69
tests/snmpsim/infortrend_infortrend.snmprec
Normal file
@@ -0,0 +1,69 @@
|
||||
1.3.6.1.2.1.1.1.0|4|Infortrend SNMP agent
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.1714.1.1
|
||||
1.3.6.1.2.1.1.3.0|67|130565600
|
||||
1.3.6.1.2.1.1.4.0|4|<private>
|
||||
1.3.6.1.2.1.1.5.0|4|<private>
|
||||
1.3.6.1.2.1.1.6.0|4|<private>
|
||||
1.3.6.1.4.1.1714.1.1.2.1.2.1|4|1D57B64E
|
||||
1.3.6.1.4.1.1714.1.1.2.1.2.2|4|59FEA16D
|
||||
1.3.6.1.4.1.1714.1.1.2.1.3.1|4|0xAEA547A00
|
||||
1.3.6.1.4.1.1714.1.1.2.1.3.2|4|0xAEA547A00
|
||||
1.3.6.1.4.1.1714.1.1.2.1.4.1|2|17
|
||||
1.3.6.1.4.1.1714.1.1.2.1.4.2|2|17
|
||||
1.3.6.1.4.1.1714.1.1.2.1.5.1|2|7
|
||||
1.3.6.1.4.1.1714.1.1.2.1.5.2|2|6
|
||||
1.3.6.1.4.1.1714.1.1.2.1.6.1|2|0
|
||||
1.3.6.1.4.1.1714.1.1.2.1.6.2|2|0
|
||||
1.3.6.1.4.1.1714.1.1.2.1.7.1|2|0
|
||||
1.3.6.1.4.1.1714.1.1.2.1.7.2|2|0
|
||||
1.3.6.1.4.1.1714.1.1.2.1.8.1|2|8
|
||||
1.3.6.1.4.1.1714.1.1.2.1.8.2|2|7
|
||||
1.3.6.1.4.1.1714.1.1.2.1.9.1|2|8
|
||||
1.3.6.1.4.1.1714.1.1.2.1.9.2|2|7
|
||||
1.3.6.1.4.1.1714.1.1.2.1.10.1|2|1
|
||||
1.3.6.1.4.1.1714.1.1.2.1.10.2|2|1
|
||||
1.3.6.1.4.1.1714.1.1.2.1.11.1|2|0
|
||||
1.3.6.1.4.1.1714.1.1.2.1.11.2|2|0
|
||||
1.3.6.1.4.1.1714.1.1.2.1.12.1|4|0
|
||||
1.3.6.1.4.1.1714.1.1.2.1.12.2|4|0
|
||||
1.3.6.1.4.1.1714.1.1.2.1.13.1|4|0
|
||||
1.3.6.1.4.1.1714.1.1.2.1.13.2|4|0
|
||||
1.3.6.1.4.1.1714.1.1.3.1.2.1|4|4400FBF43E69FF0B
|
||||
1.3.6.1.4.1.1714.1.1.3.1.2.2|4|8E49EBC7D5FE8FC
|
||||
1.3.6.1.4.1.1714.1.1.3.1.3.1|4|46881075200
|
||||
1.3.6.1.4.1.1714.1.1.3.1.3.2|4|46881075200
|
||||
1.3.6.1.4.1.1714.1.1.3.1.4.1|2|21
|
||||
1.3.6.1.4.1.1714.1.1.3.1.4.2|2|21
|
||||
1.3.6.1.4.1.1714.1.1.3.1.5.1|2|0
|
||||
1.3.6.1.4.1.1714.1.1.3.1.5.2|2|0
|
||||
1.3.6.1.4.1.1714.1.1.3.1.6.1|2|1
|
||||
1.3.6.1.4.1.1714.1.1.3.1.6.2|2|1
|
||||
1.3.6.1.4.1.1714.1.1.3.1.7.1|4|1D57B64E
|
||||
1.3.6.1.4.1.1714.1.1.3.1.7.2|4|59FEA16D
|
||||
1.3.6.1.4.1.1714.1.1.4.1.2.1|4|4400FBF43E69FF0B
|
||||
1.3.6.1.4.1.1714.1.1.4.1.2.2|4|4400FBF43E69FF0B
|
||||
1.3.6.1.4.1.1714.1.1.4.1.2.3|4|4400FBF43E69FF0B
|
||||
1.3.6.1.4.1.1714.1.1.4.1.2.4|4|4400FBF43E69FF0B
|
||||
1.3.6.1.4.1.1714.1.1.4.1.2.5|4|8E49EBC7D5FE8FC
|
||||
1.3.6.1.4.1.1714.1.1.4.1.2.6|4|8E49EBC7D5FE8FC
|
||||
1.3.6.1.4.1.1714.1.1.4.1.2.7|4|8E49EBC7D5FE8FC
|
||||
1.3.6.1.4.1.1714.1.1.4.1.2.8|4|8E49EBC7D5FE8FC
|
||||
1.3.6.1.4.1.1714.1.1.4.1.2.9|4|8E49EBC7D5FE8FC
|
||||
1.3.6.1.4.1.1714.1.1.4.1.3.1|4|200000000
|
||||
1.3.6.1.4.1.1714.1.1.4.1.3.2|4|000000000
|
||||
1.3.6.1.4.1.1714.1.1.4.1.3.3|4|400000000
|
||||
1.3.6.1.4.1.1714.1.1.4.1.3.4|4|480000000
|
||||
1.3.6.1.4.1.1714.1.1.4.1.3.5|4|004800000
|
||||
1.3.6.1.4.1.1714.1.1.4.1.3.6|4|204800000
|
||||
1.3.6.1.4.1.1714.1.1.4.1.3.7|4|000000000
|
||||
1.3.6.1.4.1.1714.1.1.4.1.3.8|4|484800000
|
||||
1.3.6.1.4.1.1714.1.1.4.1.3.9|4|805400000
|
||||
1.3.6.1.4.1.1714.1.1.4.1.4.1|4|8589934592
|
||||
1.3.6.1.4.1.1714.1.1.4.1.4.2|4|8589934592
|
||||
1.3.6.1.4.1.1714.1.1.4.1.4.3|4|2147483648
|
||||
1.3.6.1.4.1.1714.1.1.4.1.4.4|4|25794969600
|
||||
1.3.6.1.4.1.1714.1.1.4.1.4.5|4|8589934592
|
||||
1.3.6.1.4.1.1714.1.1.4.1.4.6|4|10737418240
|
||||
1.3.6.1.4.1.1714.1.1.4.1.4.7|4|75497472
|
||||
1.3.6.1.4.1.1714.1.1.4.1.4.8|4|15044968448
|
||||
1.3.6.1.4.1.1714.1.1.4.1.4.9|4|8589934592
|
Reference in New Issue
Block a user