From 103fb900524e530433f151a0cc1ee5f64c8fe613 Mon Sep 17 00:00:00 2001 From: Lucie Dubrunfaut Date: Mon, 16 Sep 2024 18:03:07 +0200 Subject: [PATCH] Add the contribution PR internally --- src/storage/wd/nas/snmp/mode/hardware.pm | 11 +++++++++++ src/storage/wd/nas/snmp/mode/listvolumes.pm | 8 ++++++++ src/storage/wd/nas/snmp/mode/volumes.pm | 9 +++++++++ 3 files changed, 28 insertions(+) diff --git a/src/storage/wd/nas/snmp/mode/hardware.pm b/src/storage/wd/nas/snmp/mode/hardware.pm index 3bc890751..443f8ac87 100644 --- a/src/storage/wd/nas/snmp/mode/hardware.pm +++ b/src/storage/wd/nas/snmp/mode/hardware.pm @@ -134,6 +134,17 @@ sub manage_selection { }, driveTable => '.1.3.6.1.4.1.5127.1.1.1.8.1.10.1' }, + ex4100 => { + system => { + temperature => { oid => '.1.3.6.1.4.1.5127.1.1.1.6.1.7' }, + fanStatus => { oid => '.1.3.6.1.4.1.5127.1.1.1.6.1.8' } + }, + drive => { + serial => { oid => '.1.3.6.1.4.1.5127.1.1.1.6.1.10.1.4' }, + temperature => { oid => '.1.3.6.1.4.1.5127.1.1.1.6.1.10.1.5' } + }, + driveTable => '.1.3.6.1.4.1.5127.1.1.1.6.1.10.1' + }, pr2100 => { system => { temperature => { oid => '.1.3.6.1.4.1.5127.1.1.1.9.1.7' }, diff --git a/src/storage/wd/nas/snmp/mode/listvolumes.pm b/src/storage/wd/nas/snmp/mode/listvolumes.pm index 8b4b070cd..be6230e4e 100644 --- a/src/storage/wd/nas/snmp/mode/listvolumes.pm +++ b/src/storage/wd/nas/snmp/mode/listvolumes.pm @@ -59,6 +59,13 @@ sub manage_selection { type => { oid => '.1.3.6.1.4.1.5127.1.1.1.8.1.9.1.3' } } }, + ex4100 => { + volumeTable => '.1.3.6.1.4.1.5127.1.1.1.6.1.9.1', + volume => { + name => { oid => '.1.3.6.1.4.1.5127.1.1.1.6.1.9.1.2' }, + type => { oid => '.1.3.6.1.4.1.5127.1.1.1.6.1.9.1.3' } + } + }, pr2100 => { volumeTable => '.1.3.6.1.4.1.5127.1.1.1.9.1.9.1', volume => { @@ -79,6 +86,7 @@ sub manage_selection { oids => [ { oid => $nas->{ex2}->{volumeTable} }, { oid => $nas->{ex2ultra}->{volumeTable} }, + { oid => $nas->{ex4100}->{volumeTable} }, { oid => $nas->{pr2100}->{volumeTable} }, { oid => $nas->{pr4100}->{volumeTable} } ] diff --git a/src/storage/wd/nas/snmp/mode/volumes.pm b/src/storage/wd/nas/snmp/mode/volumes.pm index 6e1844e22..104b99644 100644 --- a/src/storage/wd/nas/snmp/mode/volumes.pm +++ b/src/storage/wd/nas/snmp/mode/volumes.pm @@ -116,6 +116,14 @@ sub manage_selection { free => { oid => '.1.3.6.1.4.1.5127.1.1.1.8.1.9.1.6' } } }, + ex4100 => { + volumeTable => '.1.3.6.1.4.1.5127.1.1.1.6.1.9.1', + volume => { + name => { oid => '.1.3.6.1.4.1.5127.1.1.1.6.1.9.1.2' }, + total => { oid => '.1.3.6.1.4.1.5127.1.1.1.6.1.9.1.5' }, + free => { oid => '.1.3.6.1.4.1.5127.1.1.1.6.1.9.1.6' } + } + }, pr2100 => { volumeTable => '.1.3.6.1.4.1.5127.1.1.1.9.1.9.1', volume => { @@ -138,6 +146,7 @@ sub manage_selection { oids => [ { oid => $nas->{ex2}->{volumeTable} }, { oid => $nas->{ex2ultra}->{volumeTable} }, + { oid => $nas->{ex4100}->{volumeTable} }, { oid => $nas->{pr2100}->{volumeTable} }, { oid => $nas->{pr4100}->{volumeTable} } ],