mirror of https://github.com/mikaku/Monitorix.git
Remove hddtemp usage in nvme.pm as it doesn't support nvme at the moment.
This commit is contained in:
parent
1888ff027e
commit
88f790fb55
|
@ -231,15 +231,6 @@ sub nvme_update {
|
|||
}
|
||||
}
|
||||
close(IN);
|
||||
if(!$temp) {
|
||||
if(open(IN, "hddtemp -wqn $d |")) {
|
||||
$temp = <IN>;
|
||||
close(IN);
|
||||
} else {
|
||||
logger("$myself: 'smartctl' failed to get data from '$d' and 'hddtemp' seems doesn't exist.");
|
||||
}
|
||||
}
|
||||
chomp($temp);
|
||||
}
|
||||
$rrdata .= ":$temp";
|
||||
$rrdata .= ":$smart1";
|
||||
|
|
Loading…
Reference in New Issue