From ef557980a0dd64b55d52e7e0c0064589518be8b3 Mon Sep 17 00:00:00 2001 From: UrBnW <40244829+UrBnW@users.noreply.github.com> Date: Wed, 21 Jul 2021 14:00:39 +0200 Subject: [PATCH] enh(synology) Some useful comment from support (#2978) --- .../storage/synology/snmp/mode/components/system.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/centreon-plugins/storage/synology/snmp/mode/components/system.pm b/centreon-plugins/storage/synology/snmp/mode/components/system.pm index f1565ba67..e2c23e1a9 100644 --- a/centreon-plugins/storage/synology/snmp/mode/components/system.pm +++ b/centreon-plugins/storage/synology/snmp/mode/components/system.pm @@ -29,6 +29,11 @@ my $mapping = { synoSystemsystemStatus => { oid => '.1.3.6.1.4.1.6574.1.1', map => $map_status } }; +# Synology support note : +# OID .1.3.6.1.4.1.6574.1.1 should change integer to 2 when the partition is fully crashed +# (i.e. md0 or md1 status in /proc/mdstat is [E___] or similar), +# not when it is degraded (health status is [U_U_], [U_____], or [UUUU_]). + sub load { my ($self) = @_;