enh(synology) Some useful comment from support (#2978)

This commit is contained in:
UrBnW 2021-07-21 14:00:39 +02:00 committed by GitHub
parent 2598a43869
commit 8e33142e8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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) = @_;