Skip to content
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

cannot parse nvme output on Ubuntu 24.04 with KIOXIA-EXCERIA G2 SSD #130

Open
schwabe opened this issue Aug 25, 2024 · 0 comments
Open

cannot parse nvme output on Ubuntu 24.04 with KIOXIA-EXCERIA G2 SSD #130

schwabe opened this issue Aug 25, 2024 · 0 comments

Comments

@schwabe
Copy link

schwabe commented Aug 25, 2024

sudo /usr/lib/nagios/plugins/check_smart_attributes -d /dev/nvme0 -dbj /etc/check_smartdb.json 
Argument "Invalid" isn't numeric in numeric lt (<) at /usr/lib/nagios/plugins/check_smart_attributes line 599.
Argument "Invalid" isn't numeric in numeric lt (<) at /usr/lib/nagios/plugins/check_smart_attributes line 599.
Critical (nvme0) [nvme0_Error_Information_Log_Entries = Critical]|'nvme0_Temperature'=40;50;60 'nvme0_Available_Spare'=100;16;11 'nvme0_Percentage_Used'=0;85;90 'nvme0_Data_Units_Read'=1866.423808 'nvme0_Data_Units_Written'=75.214336 'nvme0_Host_Read_Commands'=15149762 'nvme0_Host_Write_Commands'=1263955 'nvme0_Power_Cycles'=5 'nvme0_Power_On_Hours'=5696

Output of smartctl:

sudo smartctl -a /dev/nvme0
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.8.0-41-generic] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       KIOXIA-EXCERIA G2 SSD
Serial Number:                      X3OB7091K7AS
Firmware Version:                   ECFA17.1
PCI Vendor/Subsystem ID:            0x1e0f
IEEE OUI Identifier:                0x8ce38e
Total NVM Capacity:                 2.000.398.934.016 [2,00 TB]
Unallocated NVM Capacity:           0
Controller ID:                      1
NVMe Version:                       1.3
Number of Namespaces:               1
Namespace 1 Size/Capacity:          2.000.398.934.016 [2,00 TB]
Namespace 1 Formatted LBA Size:     4096
Namespace 1 IEEE EUI-64:            8ce38e 030090e0b0
Local Time is:                      Sun Aug 25 20:07:56 2024 UTC
Firmware Updates (0x12):            1 Slot, no Reset required
Optional Admin Commands (0x0017):   Security Format Frmw_DL Self_Test
Optional NVM Commands (0x005f):     Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp
Log Page Attributes (0x0a):         Cmd_Eff_Lg Telmtry_Lg
Maximum Data Transfer Size:         512 Pages
Warning  Comp. Temp. Threshold:     72 Celsius
Critical Comp. Temp. Threshold:     90 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +    10.33W       -        -    0  0  0  0        1       1
 1 +     7.50W       -        -    1  1  1  1        1       1
 2 +     6.08W       -        -    2  2  2  2        1       1
 3 -   0.0500W       -        -    3  3  3  3     7000    5000
 4 -   0.0050W       -        -    4  4  4  4    13000   36000

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

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

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        39 Celsius
Available Spare:                    100%
Available Spare Threshold:          5%
Percentage Used:                    0%
Data Units Read:                    3.645.361 [1,86 TB]
Data Units Written:                 146.905 [75,2 GB]
Host Read Commands:                 15.149.779
Host Write Commands:                1.264.085
Controller Busy Time:               16
Power Cycles:                       5
Power On Hours:                     5.696
Unsafe Shutdowns:                   1
Media and Data Integrity Errors:    0
Error Information Log Entries:      11
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0

Error Information (NVMe Log 0x01, 16 of 63 entries)
Num   ErrCount  SQId   CmdId  Status  PELoc          LBA  NSID    VS  Message
  0         11     0  0x0014  0x4004  0x028            0     0     -  Invalid Field in Command

Self-test Log (NVMe Log 0x06)
Self-test status: No self-test in progress
No Self-tests Logged

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

No branches or pull requests

1 participant