node_exporter: Fix model name for nvme disks
This commit is contained in:
parent
264594636f
commit
c4db933785
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ parse_smartctl_info() {
|
|||
info_value="$(echo "${line}" | cut -f2- -d: | sed 's/^ \+//g' | sed 's/"/\\"/')"
|
||||
case "${info_type}" in
|
||||
Model_Family) model_family="${info_value}" ;;
|
||||
Device_Model) device_model="${info_value}" ;;
|
||||
Device_Model|Model_Number) device_model="${info_value}" ;;
|
||||
Serial_Number|Serial_number) serial_number="${info_value}" ;;
|
||||
Firmware_Version) fw_version="${info_value}" ;;
|
||||
Vendor) vendor="${info_value}" ;;
|
||||
|
|
Loading…
Add table
Reference in a new issue