Skip to content

check_ide_smart not working with NVME #2054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ih8ms opened this issue Dec 2, 2024 · 3 comments
Open

check_ide_smart not working with NVME #2054

ih8ms opened this issue Dec 2, 2024 · 3 comments

Comments

@ih8ms
Copy link

ih8ms commented Dec 2, 2024

I recently switched from armhf (Banana Pi) to arm64 (Raspberry Pi 5) hardware. check_ide_smart no longer works on the new setup. All I get is "CRITICAL - SMART_CMD_ENABLE". Smart monitoring itself and smartmontools work just fine. It doesn't matter which drive I check, the error is identical with all drives.

Plugin execution:

sudo /usr/lib/nagios/plugins/check_ide_smart -d /dev/nvme0n1
CRITICAL - SMART_CMD_ENABLE

Smartctl execution:

sudo smartctl -a /dev/nvme0n1
smartctl 7.3 2022-02-28 r5338 [aarch64-linux-6.6.51+rpt-rpi-2712] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       SAMSUNG MZAL4256HBJD-00BL2
Serial Number:                      **********
Firmware Version:                   7L1QHXC7
PCI Vendor/Subsystem ID:            0x144d
IEEE OUI Identifier:                0x002538
Controller ID:                      7
NVMe Version:                       1.4
Number of Namespaces:               1
Namespace 1 Size/Capacity:          256,060,514,304 [256 GB]
Namespace 1 Utilization:            9,010,974,720 [9.01 GB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            002538 e3310123f2
Local Time is:                      Mon Dec  2 08:34:06 2024 CET
Firmware Updates (0x16):            3 Slots, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005e):     Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Log Page Attributes (0x0f):         S/H_per_NS Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg
Maximum Data Transfer Size:         32 Pages
Warning  Comp. Temp. Threshold:     76 Celsius
Critical Comp. Temp. Threshold:     85 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     7.00W       -        -    0  0  0  0        0       0
 1 +     7.00W       -        -    1  1  1  1        0       0
 2 +     7.00W       -        -    2  2  2  2        0       0
 3 -   0.0600W       -        -    3  3  3  3      200    2800
 4 -   0.0050W       -        -    4  4  4  4     4000   19000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 -     512       0         0
 1 -    4096       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        34 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    452,961 [231 GB]
Data Units Written:                 552,133 [282 GB]
Host Read Commands:                 6,405,883
Host Write Commands:                7,805,521
Controller Busy Time:               15
Power Cycles:                       38
Power On Hours:                     179
Unsafe Shutdowns:                   2
Media and Data Integrity Errors:    0
Error Information Log Entries:      0
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0
Temperature Sensor 1:               34 Celsius

Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged
@RincewindsHat
Copy link
Member

Hi @ih8ms,
Thank you reporting this problem. I tried to triage it a bit (on a amd64 machine sind I don't have a physical arm64 machine with NVME at hand) and ran into the same problem.
I try to take a look in time.

@RincewindsHat
Copy link
Member

I guess it is related to differences between NVME devices and other busses.
Since check_ide_smart needs a lot of attention in general, I would recommend to try check_smart in the meantime.
It is better maintained and will likely do what you want.

@RincewindsHat RincewindsHat changed the title check_ide_smart not working on arm64 check_ide_smart not working with NVME Mar 18, 2025
@RincewindsHat
Copy link
Member

I edited the title of this issue to make it better findable. I hope this feels not too intrusive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy