1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

Store Crucial SSD #202 in generic #231 (#272)

This commit is contained in:
fbourqui
2020-01-30 13:03:04 +01:00
committed by GitHub
parent 4e64a62844
commit 6520489ecc

View File

@ -298,6 +298,12 @@ foreach my $line ( @disks ){
my $raw=$lineA[9];
my $id=$lineA[0];
# Crucial SSD
# 202, Percent_Lifetime_Remain, same as 231, SSD Life Left
if ( $id == 202 ) {
$IDs{231}=$raw;
}
# single int raw values
if (
( $id == 5 ) ||