Napsty / check_smart

Monitoring Plugin to check hard drives, solid state drives and NVMe drives using SMART
https://www.claudiokuenzler.com/monitoring-plugins/check_smart.php
GNU General Public License v3.0
67 stars 20 forks source link

check_smart.pl very slow on Almalinux 8 #87

Closed imorandinwnp closed 1 year ago

imorandinwnp commented 1 year ago

Hi,

When executing check_smart.pl on an AL8 server it takes 1 minute 30 seconds:

[root@dedicado]# cat /etc/redhat-release
AlmaLinux release 8.7 (Stone Smilodon)

[root@dedicado]# ./check_smart.pl -v
check_smart.pl v6.13.0
The monitoring plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
[root@dedicado]# time ./check_smart.pl -d /dev/sda -i auto
OK: Drive  WDC WDS120G2G0A-00JH30 S/N 204806802724: no SMART errors detected. |Reallocated_Sector_Ct=0 Power_On_Hours=10739 Power_Cycle_Count=23 Block_Erase_Count=1258 Minimum_PE_Cycles_TLC=4 Max_Bad_Blocks_per_Die=0 Maximum_PE_Cycles_TLC=10 Total_Bad_Blocks=76 Grown_Bad_Blocks=0 Program_Fail_Count=0 Erase_Fail_Count=0 Average_PE_Cycles_TLC=4 Unexpected_Power_Loss=15 End-to-End_Error=0 Reported_Uncorrect=0 Command_Timeout=0 Temperature_Celsius=36 UDMA_CRC_Error_Count=0 Media_Wearout_Indicator=0 Available_Reservd_Space=100 NAND_GB_Written_TLC=483 NAND_GB_Written_SLC=7004 Host_Writes_GiB=3056 Host_Reads_GiB=163 Temp_Throttle_Status=0

real    1m30.962s
user    0m0.116s
sys     0m0.029s

In CentOS 7 it works OK.

Thanks, Ignacio

imorandinwnp commented 1 year ago

Sorry it was another issue!