Error smart serial number

error smart serial number

I am trying to read Smart Card serial number using SCardGetAttrib function in sprers.eu, but it always returns error If you see the error message below, it means your reader is not registered to Twocanoes. However, the serial number is captured in the app. To. If you run a Scrub and if you find nothing to repair then you can clear the error message if you are still receiving that message. I would. error smart serial number

Thematic video

STAR, ERROR, AND VERY LOW SERIAL NUMBER!

Error smart serial number - nothing tell

HDD Serial number not displaying, SMART tests not consistent

Hi all,
I have an issue with what seems to be my SATA4 port, so that the drive does not report a serial number, nor the right number of smart test results (example: all drives return 21 SMART short test results, the drive in SATA4 returns 11 when running these via Putty, see output below)

I am not sure what to try next, as I cannot understand why only this drive port is not showing the drive details. Could it be related to this bug?

What I have tried:
- New SATA cable (literally new)
- New Drive (I have brand new spare WD Se)
- Change drive position in chain, always da4 is showing with missing serial.

My config:
- FreeNASRCbx64 - running off USB key
- Intel Server Board SCP4 Dual Xeon socket, Latest Firmware -
- 10x 4TB HDD - WE Se Enterprise Drives, JBOD, no hardware raid, set up as RSTE (Intel SATA), AHCI, Bios set up to staggered spin up for drives.
- Xeon E V3, 6 Core, GHz
- 32GB DDR3 HP ECC Server Memory
- 1x ZFS-2 volume (RAID 6)
- 4x Gb NIC aggregated
- Board Link: sprers.eu

Image of the "View Disks" panel:
sprers.eu

Example output of smartctl -a -q noserial /dev/da4

Code:

[[email protected]] ~# smartctl -a -q noserial /dev/da4 smartctl r [FreeBSD RELEASE-p9 amd64] (local build) Copyright (C) , Bruce Allen, Christian Franke, sprers.eu === START OF INFORMATION SECTION === Device Model: WDC WDF9YZN20L0 Firmware Version: A01 User Capacity: 4,,,, bytes [ TB] Sector Sizes: bytes logical, bytes physical Rotation Rate: rpm Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ATA8-ACS (minor revision not indicated) SATA Version is: SATA , Gb/s (current: Gb/s) Local Time is: Tue Jul 29 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled Warning! SMART Attribute Thresholds Structure error: invalid SMART checksum. === START OF READ SMART DATA SECTION === SMART STATUS RETURN: incomplete response, ATA output registers missing SMART overall-health self-assessment test result: PASSED Warning: This result is based on an Attribute check. General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: () seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( ) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x70bd) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. If Selective self-test is pending on power-up, resume after 0 minute delay.


Example of another drive:

Code:

[[email protected]] ~# smartctl -a -q noserial /dev/ada0 smartctl r [FreeBSD RELEASE-p9 amd64] (local build) Copyright (C) , Bruce Allen, Christian Franke, sprers.eu === START OF INFORMATION SECTION === Device Model: WDC WDF9YZN20L0 Firmware Version: A01 User Capacity: 4,,,, bytes [ TB] Sector Sizes: bytes logical, bytes physical Rotation Rate: rpm Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ATA8-ACS (minor revision not indicated) SATA Version is: SATA , Gb/s (current: Gb/s) Local Time is: Tue Jul 29 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x84) Offline data collection activity was suspended by an interrupting command from host. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: () seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( ) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x70bd) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. If Selective self-test is pending on power-up, resume after 0 minute delay.

 

Finding the Smart Card Utility Reader Serial Number

If you are requested to send the serial number of your Smart Card Utility Reader to Twocanoes Software, please follow the instructions below:

Open Smart Card Utility on iPhone or iPad and select Reader Certificates:

Turn on or plugin the reader to read the card. Select the reader name:

If you see the error message below, it means your reader is not registered to Twocanoes. However, the serial number is captured in the app.

To share this serial number, tap Settings in the lower right corner of the main screen as shown below.

In the Settings screen, tap Share in the upper right corner.

Select a method to share the serial number. The option to copy the serial number is shown in the screenshot below. Once it is copied, the serial number can be pasted into an email to send to Twocanoes.

SMART by Zabbix agent 2

S.M.A.R.T.

S.M.A.R.T.

S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology; often written as SMART) is a monitoring system included in computer hard disk drives (HDDs), solid-state drives (SSDs), and eMMC drives

Available solutions




This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- {#NAME} MATCHES_REGEX

- {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix raw itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix raw itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Bad_Block_Rate

Percentage of used reserve blocks divided by total reserve blocks.

DEPENDENTsprers.eu_block_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Program_Fail_Count_Chip

The total number of flash program operation failures since the drive was deployed.

DEPENDENTsprers.eum_fail_count_chip[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reallocated_Sector_Ct

Disk discovered attribute.

DEPENDENTsprers.eucated_sector_ct[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical

SMART [{#NAME}]: Average disk temperature is critical

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Command line did not parse

Command line did not parse.

HIGH

Manual close: YES

SMART [{#NAME}]: Device open failed

Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode.

HIGH

Manual close: YES

SMART [{#NAME}]: Some command to the disk failed

Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure.

HIGH

Manual close: YES

SMART [{#NAME}]: Check returned "DISK FAILING"

SMART status check returned "DISK FAILING".

HIGH

Manual close: YES

SMART [{#NAME}]: Some prefail Attributes <= threshold

We found prefail Attributes <= threshold.

HIGH

Manual close: YES

SMART [{#NAME}]: Some Attributes have been <= threshold

SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

HIGH

Manual close: YES

SMART [{#NAME}]: Error log contains records

The device error log contains records of errors.

HIGH

Manual close: YES

SMART [{#NAME}]: Self-test log contains records

The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

HIGH

Manual close: YES

Feedback

Please report any issues with the template at sprers.eu

You can also provide feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- {#NAME} MATCHES_REGEX

- {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix raw itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix raw itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Bad_Block_Rate

Percentage of used reserve blocks divided by total reserve blocks.

DEPENDENTsprers.eu_block_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Program_Fail_Count_Chip

The total number of flash program operation failures since the drive was deployed.

DEPENDENTsprers.eum_fail_count_chip[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reallocated_Sector_Ct

Disk discovered attribute.

DEPENDENTsprers.eucated_sector_ct[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical

SMART [{#NAME}]: Average disk temperature is critical

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Command line did not parse

Command line did not parse.

HIGH

Manual close: YES

SMART [{#NAME}]: Device open failed

Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode.

HIGH

Manual close: YES

SMART [{#NAME}]: Some command to the disk failed

Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure.

HIGH

Manual close: YES

SMART [{#NAME}]: Check returned "DISK FAILING"

SMART status check returned "DISK FAILING".

HIGH

Manual close: YES

SMART [{#NAME}]: Some prefail Attributes <= threshold

We found prefail Attributes <= threshold.

HIGH

Manual close: YES

SMART [{#NAME}]: Some Attributes have been <= threshold

SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

HIGH

Manual close: YES

SMART [{#NAME}]: Error log contains records

The device error log contains records of errors.

HIGH

Manual close: YES

SMART [{#NAME}]: Self-test log contains records

The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

HIGH

Manual close: YES

Feedback

Please report any issues with the template at sprers.eu

You can also provide feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule finds all Vendor Specific Attributes for each disk. If you want to skip some attributes, please set regular expressions with disk names in {$sprers.euS} and with attribute IDs in {$sprers.euS} macros on the host level.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in overrides of attribute discovery for filtering IDs. It can be overridden on the host or linked template level.

{$sprers.euS}

This macro is used in overrides of attribute discovery for filtering IDs. It can be overridden on the host or linked template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Attribute discovery

Discovery SMART Vendor Specific Attributes of disks.

ZABBIX_PASSIVEsprers.euery

Overrides:

ID filter
- {#ID} MATCHES_REGEX - {#NAME} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP `` - NO_DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix_raw_itemsSMART: Get attributes

-

ZABBIX_PASSIVEsprers.eu
Zabbix_raw_itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: ID {#ID} {#ATTRNAME}

-

DEPENDENTsprers.eu[{#NAME},{#ID}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: ID {#ID} {#ATTRNAME} raw value

-

DEPENDENTsprers.eu[{#NAME},{#ID}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced (new serial number received)

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high (over {$sprers.eu}°C for 5m)

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Attribute {#ID} {#ATTRNAME} is failed

The value should be greater than THRESH.

WARNING

Feedback

Please report any issues with the template at sprers.eu

You can also provide a feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- A: {#NAME} MATCHES_REGEX

- B: {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix_raw_itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix_raw_itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Bad_Block_Rate

Percentage of used reserve blocks divided by total reserve blocks.

DEPENDENTsprers.eu_block_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Program_Fail_Count_Chip

The total number of flash program operation failures since the drive was deployed.

DEPENDENTsprers.eum_fail_count_chip[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Reallocated_Sector_Ct

Disk discovered attribute.

DEPENDENTsprers.eucated_sector_ct[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced (new serial number received)

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high (over {$sprers.eu}°C for 5m)

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE

Feedback

Please report any issues with the template at sprers.eu

You can also provide a feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- {#NAME} MATCHES_REGEX

- {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix raw itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix raw itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Bad_Block_Rate

Percentage of used reserve blocks divided by total reserve blocks.

DEPENDENTsprers.eu_block_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Program_Fail_Count_Chip

The total number of flash program operation failures since the drive was deployed.

DEPENDENTsprers.eum_fail_count_chip[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reallocated_Sector_Ct

Disk discovered attribute.

DEPENDENTsprers.eucated_sector_ct[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical

SMART [{#NAME}]: Average disk temperature is critical

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Command line did not parse

Command line did not parse.

HIGH

Manual close: YES

SMART [{#NAME}]: Device open failed

Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode.

HIGH

Manual close: YES

SMART [{#NAME}]: Some command to the disk failed

Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure.

HIGH

Manual close: YES

SMART [{#NAME}]: Check returned "DISK FAILING"

SMART status check returned "DISK FAILING".

HIGH

Manual close: YES

SMART [{#NAME}]: Some prefail Attributes <= threshold

We found prefail Attributes <= threshold.

HIGH

Manual close: YES

SMART [{#NAME}]: Some Attributes have been <= threshold

SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

HIGH

Manual close: YES

SMART [{#NAME}]: Error log contains records

The device error log contains records of errors.

HIGH

Manual close: YES

SMART [{#NAME}]: Self-test log contains records

The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

HIGH

Manual close: YES

Feedback

Please report any issues with the template at sprers.eu

You can also provide feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- {#NAME} MATCHES_REGEX

- {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix raw itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix raw itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Bad_Block_Rate

Percentage of used reserve blocks divided by total reserve blocks.

DEPENDENTsprers.eu_block_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Program_Fail_Count_Chip

The total number of flash program operation failures since the drive was deployed.

DEPENDENTsprers.eum_fail_count_chip[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reallocated_Sector_Ct

Disk discovered attribute.

DEPENDENTsprers.eucated_sector_ct[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical

SMART [{#NAME}]: Average disk temperature is critical

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Command line did not parse

Command line did not parse.

HIGH

Manual close: YES

SMART [{#NAME}]: Device open failed

Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode.

HIGH

Manual close: YES

SMART [{#NAME}]: Some command to the disk failed

Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure.

HIGH

Manual close: YES

SMART [{#NAME}]: Check returned "DISK FAILING"

SMART status check returned "DISK FAILING".

HIGH

Manual close: YES

SMART [{#NAME}]: Some prefail Attributes <= threshold

We found prefail Attributes <= threshold.

HIGH

Manual close: YES

SMART [{#NAME}]: Some Attributes have been <= threshold

SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

HIGH

Manual close: YES

SMART [{#NAME}]: Error log contains records

The device error log contains records of errors.

HIGH

Manual close: YES

SMART [{#NAME}]: Self-test log contains records

The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

HIGH

Manual close: YES

Feedback

Please report any issues with the template at sprers.eu

You can also provide feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule finds all Vendor Specific Attributes for each disk. If you want to skip some attributes, please set regular expressions with disk names in {$sprers.euS} and with attribute IDs in {$sprers.euS} macros on the host level.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in overrides of attribute discovery for filtering IDs. It can be overridden on the host or linked template level.

{$sprers.euS}

This macro is used in overrides of attribute discovery for filtering IDs. It can be overridden on the host or linked template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Attribute discovery

Discovery SMART Vendor Specific Attributes of disks.

ZABBIX_PASSIVEsprers.euery

Overrides:

ID filter
- {#ID} MATCHES_REGEX - {#NAME} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP `` - NO_DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix_raw_itemsSMART: Get attributes

-

ZABBIX_PASSIVEsprers.eu
Zabbix_raw_itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: ID {#ID} {#ATTRNAME}

-

DEPENDENTsprers.eu[{#NAME},{#ID}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: ID {#ID} {#ATTRNAME} raw value

-

DEPENDENTsprers.eu[{#NAME},{#ID}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced (new serial number received)

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high (over {$sprers.eu}°C for 5m)

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Attribute {#ID} {#ATTRNAME} is failed

The value should be greater than THRESH.

WARNING

Feedback

Please report any issues with the template at sprers.eu

You can also provide a feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- A: {#NAME} MATCHES_REGEX

- B: {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix_raw_itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix_raw_itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENT

Serial numbers and information on defective hard drives

Introduction

This article provides basic information on determining the serial number of hard drives and potential defects.

How to determine the serial number of a drive

In Windows

There is a tool in Windows which enables you to read the serial numbers of one or several drives. The program is called and is Open Source.

You can download the tool here.

First, open the program directory with the console and enter the following command:

You will receive more information about your drive(s). Look at the information under each drive. You can see the serial number for each drive next to .

Example:

alt text

In Linux

There are two solutions for determining the serial number, the first one with :

and the second solution with :

Open your terminal and enter the following command:

With , you will receive the administrator rights which you need for reading information from the drive. You can call up a function using , which provides you with information about the drive.

With , you can assign a parameter which will provide you with concrete information about the drive.

However, the hardware that you want to check can vary from the interface:

  • IDE / ATA device:
  • SCSI / SATA device:

Next, filter the serial number of the drive from the output using .

If this command returns an error, you probably will need to install the program itself:

Example:

alt text

In FreeBSD

You can use the following command in FreeBSD:

is a function which enables you to read drive information.

With the parameter, you can see all available information for the first assigned drive.

The various interfaces for devices also apply here:

  • IDE / ATA device:
  • SCSI device: OR
  • SATA device:

With , you are able to filter the serial number of the drive from the information.

Example:

alt text

Information on defective drives

To detect damaged drives, it is advisable to use a tool for recognizing such errors.

We use on Windows, Linux and FreeBSD.

In Windows

If you have not yet installed Smartmontools on your Windows Server , you can download the latest version here.

ATTENTION: During the setup you must put a check next to . Or, you can set the path for this program in the environment variables.

Once you have successfully installed the tool, you can open the command prompt.

Enter the following command to check whether the program is usable:

At the command prompt, you should now see a list of commands that you can use for .

As behaves in exactly the same way as it does in Linux, you can use the same commands in Windows. The path name for the types of partition also remains the same.

Therefore, you will need to use the same parameters in Windows as those for Linux.

Be aware of the different interfaces for devices:

  • IDE / ATA devices:
  • SCSI / SATA devices:

WARNING: Normal drive names such as , do not work!

In Linux

With Linux systems, messages from the kernel as well as Smartmontools provide information about a defective drive.

You can display kernel messages using . Here it is particularly important to pay attention to messages beginning with . You could use the command here, for example.

First, you need to install the Smartmontools on Linux Systems. The packet ID will differ in the systems:

  • Debian:
  • Fedora:

You need to have administrator rights for the installation.

Next, you can continue work in the console.

(Important note: You need administrator rights for the entire process.)

Enter the following command in the console:

Be aware of the different interfaces for devices:

  • IDE / ATA devices:
  • SCSI / SATA devices:

This instruction queries the condition of your drive. You will receive a message informing you if the drive can continue to be used.

If is shown, then something is wrong with your drive.

If appears, then your drive is OK.

If you would like a more exact result for your drive, you can use the provided chart. You can find this by using the same command under .

You can find an explanation of the attributes in the section .

If you now evaluate your chart using the measured values, you will receive an overview of the errors on your drive.

If you would like to detect all possible errors on your drive, you can use the command .

(BE AWARE of your device types here.)

This time, you will see all available errors. You can now evaluate the chart.

You can find an explanation of the attributes in the section .

In FreeBSD

It is worth taking a look at the kernel messages () in FreeBSD to find out more about any drive defects.

As with Windows and Linux, you need to install Smartmontools in the package management.

You can use the following command for this:

(Important note: You need to have administrator rights for the entire process.)

As with Linux, you can use the same commands in FreeBSD. However, there is one small difference for the path name of the drive.

Instead of the usual path details, for example, and , use the new path: .

List of Attributes

Parameter NameDescription
Raw Read Error RateCritical. A lower value indicates uncorrectable read errors related to the drive surface or the magentic heads.
Througput PerformanceCritical. A general indicator of throughput performance. Lower values show that the disk is no longer able to work at full speed.
Spin Up TimeAverage period of time taken by the drive to accelerate its disks. Poor values may indicate problems with storage, which often come from being stored at too high a temperature.
Start/Stop CountNon-critical. Counts the number of start/stop cycles for the drive.
Reallocated Sector CountVery critical. Counts how many reserve sectors have been allocated by the hard drive. Indicates media problems.
Read Channel MarginIndicates how much bandwidth is used on average for read operations. The exact description is not documented.
Seek Error RateCritical. Counts the frequency of errors during read operations, which depends on the condition of the positioning system or the surface.
Seek Time PerformanceGeneral value that describes the performance of the seek operation of the magnetic heads. Lower values indicate mechanical problems.
Power On Hours CountCounts the number of hours in power-on state. The format mostly depends on the manufacturer.
Spin Retry CountCritical. Indicates the number of attempts needed to start so that the disk can reach its fully operational speed.
Recalibration RetriesCritical. Counts how often the disk needs to recalibrate the read/write heads. Indicates mechanical malfunction.
Device Power Cycle CountShows statistics for how often the hard drive is switched on and off.
Soft Read Error RateIndicates how often the operating system has reported an error when reading data from a disk.
G-Sense Error RateG-Sense stands for a shock sensor, which measures strong vibrations during operation.
Power-Off Retract CycleUltimately, shows a count of how often the hard disk was powered down.
Load/Unload Cycle CountIndicates how often the disk has put its read/write heads into the park position (landing zone position).
TemperatureSpecifies the temperature for the drive. It's not important, as the values are usually very inaccurate for most devices.
Reallocation Events CountVery critical. Counts every attempt by the disk to remap sectors even if this does not succeed.
Current Pending Sector CountVery critical. Shows the number of unstable sectors which are waiting to be moved to a special reserved area.
Uncorrectable Sector CountVery critical. The number of defective sectors which the internal logical drive cannot restore and move to the reserved area.
UltraDMA CRC Error RateCritical. The number of CRC errors during data transfer. May indicate defective cables, driver conflicts or to overclocking problems.
Write Error RateCritical. Counts the frequency of errors on writing sectors.
Disk ShiftVery critical. This value shows whether an imbalance has occurred due to problems with temperature or the effects of shock.
Loaded HoursIndicates how long the disk has spent under data load. This is shown by the movement of the magnetic heads actuator.
Load/Unload Retry CountUndocumented unit count for the number of loading retries when the read/write heads change position.
Load FrictionShows a statistical value for the level of friction caused by loading on drive.
Load-in TimeIndicates how long the magnetic heads actuator was not in the landing zone position.
Torque Amplification CountCounts the number of attempts by the internal logic of the drive to bring the rotation into line.
GMR Head AmplitudeA purely statistical value describing the distance of repetitive forward/reverse motion covered by the read/write heads.

(Source)

Measured Values for Attributes

AttributeDescription
VALUEIs a normalized measured value, which mostly counts backwards (the lower, the worse it is)
WORSTThe worst value up to now.
THRESHOLDThe limit below which the value should not drop.
TYPEStands for the definition of the parameter: is a warning of failure soon, while means that it is generally a matter of progressive aging. (The current temperature does not necessarily fall into one or the other categories.)
UPDATEDShows whether the value is permanently (always) updated or if it is updated first through a self test of the type.
RAW_VALUEIs the actual measured value, meaning the measured temperature or the error count.

(Source)

Creating a complete SMART log

To create a complete SMART log, use the command smartctl with the option . The specification of the drive is similar to the explanation under .

Start a SMART Self Test

You can start the self test of the drive with smartctl and the option or . The specification of the drive is similar to the explanation under .

This self test is a manufacturer-specific test, and it is performed from the drive firmware. You should not use the server should during the test; using it could stop the test.

Drive test with hardware check

In the Rescue System, you can use the tool to check if the drives are performing up to Hetzner standards. There is a short test (choice ), which takes approximately 15 - 30 minutes, and a long test (choice ), which can last more than 6 hours. While carrying out the tests, you should perform no other actions on the server. The test will automatically detect RAID controllers.

Functioning of the hardware checks

The test begins with a read test on each drive. Approximately GB of data is read from each drive. It checks whether there are read errors. The data itself is not investigated and is discarded immediately.

Once the read test is completed, then the SMART values of the drives are read. These are reviewed and examined for abnormalities that could indicate a defect.

When the SMART values have been checked, the long or the short test is started, depending on the choice you made.

In a short test, only parts of the drive are investigated. This shortens the duration of the test. The long test checks all sectors of the drive multiple times.

Which tests are carried out in detail in a self test depend on the manufacturer and are usually not known exactly.

Once the self test is complete, the result is checked again and the SMART values are again examined.

Finally, the obtained results are checked, and a log file with the final result is created for each drive (). You can find these under .

Drives with RAID controllers

In Windows

Adaptec has developed an administration tool for extracting drive information from a RAID system. This program is structured graphically and called . You can download it here. For this, please use the user data contained in your confirmation email.

Install and start the program on your server. A graphical user interface will appear.

Next, click in the box on the left. Look to the right in the drop-down menu. Double click on the installed operating system with the corresponding IP and system. A request for login data should follow. After you have logged in, a message will appear stating that a RAID controller has been found. Confirm with and then double click on the RAID controller.

A list of all the drives contained in the RAID controller will appear. Double click on your selected drive. A window will open where you can now retrieve the drive information.

In Linux

usually shows the serial number for the drive. However, there are special programs for various controllers:

3ware Controllers with tw_cli

should be contained in the packet source of the distributions. Start without specifying parameters:

Now enter the command:

x stands for the controller number, with O y standing for the number of the drive.

Adaptec Controller with arcconf

In Linux you will need a tool called . You can download this program here.

Extract the file. Then move it:

Next, turn the into an executable file:

Now, execute the file:

It is possible that you will need to install as well, as requires this packet. Should this be the case, you can download the file here.

If a list of possible command parameters appears, the program is working correctly.

Now you can read the serial number of the drive using the command . The digit , indicates which RAID controller is concerned.

However, please note that your drives in RAID will first be listed from . You can find the serial number for your drives in .

In addition to the serial numbers, this tool provides further useful information regarding your drives.

In FreeBSD

To obtain the drive serial number in FreeBSD, you need to enter the following command in the terminal:

The command enables you to access the drives. Please be aware here that the digit following indicates the RAID controller.

As with Linux, you can find various information about the drive and the in .

Error Invalid Serial Number during installation

22 users found this article helpful

If you get an Error Invalid Serial Number during installation, please do the following:

1. Use all capital letters as some of our serial numbers require case sensitive data entry.

2. If you are copying and pasting your serial number, please make sure that you are not including an additional space at the beginning or end of your serial number.

3. Manually type the serial number.

If you have purchased your product as a download from sprers.eu, you can find your serial number in the confirmation email or at sprers.eu Sign in and select Registered sprers.euatively,if you purchased directly from sprers.eu, go to Review Your Order Status & History" at the bottom of the page. Select your order sprers.eu will find your download link(s) and serial number(s) on the receipt.

If you purchase a box version, the serial number should be on the sticker on the CD sleeve or jewel case. It will say serial number.

a. Here are some common errors with serial number:

What you see:It can be:
Number Zero ( 0 )Letter O
Letter W(Double Letter V) V V
Letter S or "B"Number 8
  • Note: It may be hard to distinguish which is needed. Please try both before contacting us.

    b. Pleasecheck that the serial numbermatches the software you are installing. You can check the serial number itself forwhich software it will work with by looking at the first 2 characters on the serial number.


DR CorelDRAW
PR Painter
TS/PR PaintShop Pro
VS VideoStudio
WS WordPerfect Standard
WP WordPerfect Professional
WT WordPerfect Home and Student / Legal
PF Painter
PE Painter Essentials
PA Photo Album
Others if you have a serial number that starts with a number, please make sure that you are installing from a the original link or disc. These kinds of serial number do not work for sprers.eu for legacy products, we no longer support these versions

** If you cannot get the number to work, please contact Customer Service Support We will require proof of ownership in order to assist you. In some cases we may require you to send us an image or photo of the serial number so we can further verify the serial number.

Please note thatCorel will replace lost Serial Numbers with proof of original ownership for the current or one previous version. Corel cannot issue serial numbers for software that came pre-installed with a computer or OEM versions.


Keywords:
Error Invalid Serial Number, installation,Invalid Code,Invalid Serial, serial number, error

Thank you for subscribing.

Subscription activation email was sent.

You're Already Subscribed

You will get an email as soon as the article is updated.

If you'd like to cancel the subscription to this article, follow the confirmation link from the email we've just sent you.

How to decode disk serial number

Aiming to mostly replicate the build from @Stux (with some mods, hopefully around about as good as that link)
  • 4 xSamsung EVO Basic (GB, ") - - VMs/Jails
  • 1 xASUS Z10PA-D8 (LGA v3, Intel C PCH, ATX) - - Dual socket MoBo
  • 1 x Kingston UV GB SSD - boot drive (hit the 3D NAND/TRIM bug with the original WD green selection, failing scrub and showing as corrupted OS files) Decided to go with no mirror and use the config backup script
  • 2 xIntel Xeon E v4 (LGA v3, GHz) - - 8 core/16 threads per Chip
  • 2 xNoctua NH-U9S (cm)
  • 1 xCorsair HX (W) - PSU to support 24 HDD + several SSD and PCI cards
  • 4 xKingston Value RAM (32GB, DDR, ECC RDIMM )
  • 2 xNoctua NF-A8 PWM Premium 80mm PC Computer Case Fan
  • 3 xNoctua NF-F12 PPC PWM (mm) * having noted later in Stux's thread that RPM is not sufficient to cool the HDDs. Corsair Commander Pro to control the fans (see script and code)
  • 1 xNORCO 4U Rack Mount 24 x Hot-Swappable SATA/SAS 6G Drive Bays Server Rack mount RPC
  • 6 xCableCreation Internal Mini SAS HD Cable, Mini SAS SFF to Mini SAS 36Pin SFF Cable
  • 1 xLSI Logic Controller Card i Port SAS 12Gb/s PCI-Express Host Bus Adapter
  • TrueNAS Core U1
  • Use existing Drives 8 x10TB WD Red, 8 x4TB WD Purple, + a mix of WD Purple and shucked WD Elements 12TB x 8
ESXi-pfSense-FreeNAS-Docker host

CASE: Fractal Node
MB: ASUS xM WS
CPU: Xeon Ev4 + Corsair H60 Cooler block
RAM: CRUCIAL 64GB DDR ECC RDIMMs
HDD: WD RED 3TBx8
SSD: 4 xSamsung EVO Basic (GB, ") - - VMs/Jails
HBA: LSI i
OS: 1 x Kingston UV GB SSD - boot drive
PSU: Corsair RM
Version: TrueNAS CORE -U1
FANS: 3xFractal R3 mm - 3 Front, 1 Rear. Corsair Commander Pro to control the fans (see script and code)
CPU FAN: 1xCorsair H60 CPU Radiator - Front
NIC: Intel EXPIPTBLK Pro, Dual-Gigabit Adapter (plus the 2 onboard Intel NICs, 1x , 1x )

VM/Docker host, using ESXi and running pfSense alongside FreeNAS (separate Dual Intel NIC added, dedicated to the pfSense VM)


Other Systems

TrueNAS CORE test system:

CASE: Old Silverstone HTPC case
MB: ASUS xM WS
CPU: Xeon Ev4 + Corsair H60 Cooler block
RAM: CRUCIAL 32GB DDR ECC RDIMMs
HDD: WD RED 8TBx3
OS: 1 x Kingston UV GB SSD - boot drive
PSU: Corsair RM
Version: TrueNAS CORE U1

SCALE Cluster:

2x Intel NUCs running TrueNAS SCALE
64GB RAM
10th Generation Intel i7
Samsung NVME SSD 1TB, QVO SSD 1TB
Boot from Samsung Portable T7 SSD USBC

CASE: Fractal Node running TrueNAS SCALE
MB: ASUS P10S-I Series
RAM: 32 GB
CPU: Intel(R) Xeon(R) CPU EL v5 @ GHz
HDD: 3 WD REDs and a few SSDs
PSU: Fractal ION 2+ W

[KB] I receive the error message "Serial number or Activation key already activated" or "Serial number exceeded the allowed number of activations"

Issue

  • You receive an error message when attempting to activate a serial number or activation key on the ESET website

About activating:

  • You only need to activate your activation key or serial number once. Whenever you reinstall your software, or install it on a new machine, make sure to activate using your username and password or License Key.

  • Activation issues are often due to expired licenses: When does my ESET home product license expire?

 

Solution

If you are receive either of the error messages shown below (see Figure ) while activating on our website, you have already activated your activation key or serial number and received a Username, Password, and/or License Key via email. 

Figure

You error smart serial number need to activate your ESET product. To do so, follow the steps below:

  1. Upgrade to the latest version of your product.
  2. Activate my Windows home product using my Username, Password, or License Key.

  3. Verify that your ESET product is updating correctly. How do I know ESET Smart Security/ESET NOD32 Antivirus is updating correctly?

If you are receiving the error message "The serial number you entered could not be found in our system" (see Figure ), it is likely you entered your serial number incorrectly.

Figure

When entering your serial number or activation key, use the following guidelines:

  • Any hyphens ("-") in the serial number must be included

  • The serial number must be entered with no spaces

  • Verify that the letter "O" was not typed instead of the number zero

If you are still unable to resolve your issue, contact ESET Technical Support.

Last Error smart serial number Aug 15,

© - :year ESET, error smart serial number, spol. s r.o. - All rights reserved. Help runtime error occurred has in script used therein are trademarks or registered trademarks of ESET, spol. s r.o. or ESET North America. All other names and brands are registered trademarks of their respective companies.

How to decode disk error smart serial number number

Aiming to mostly replicate the build from @Stux (with some mods, hopefully around about as good as that link)
  • 4 xSamsung EVO Basic (GB, ") - - VMs/Jails
  • 1 xASUS Z10PA-D8 (LGA v3, Intel C PCH, ATX) - - Dual socket MoBo
  • 1 x Kingston UV GB SSD - boot drive (hit the 3D NAND/TRIM bug with the original WD green selection, failing scrub and showing as corrupted OS files) Decided to go with no mirror and use the config backup script
  • 2 xIntel Xeon E v4 (LGA v3, GHz) - - 8 core/16 threads per Chip
  • 2 xNoctua NH-U9S (cm)
  • 1 xCorsair HX (W) - PSU to support 24 HDD + several SSD and PCI cards
  • 4 xKingston Value RAM (32GB, DDR, ECC RDIMM )
  • 2 xNoctua NF-A8 PWM Premium 80mm PC Computer Case Fan
  • 3 xNoctua NF-F12 PPC PWM (mm) * having noted later in Stux's thread that RPM is not sufficient to cool the HDDs. Corsair Commander Pro to control the fans (see script and code)
  • 1 xNORCO 4U Rack Mount 24 x Hot-Swappable SATA/SAS 6G Drive Bays Server Rack mount RPC
  • 6 xCableCreation Internal Mini SAS HD Cable, error smart serial number, Mini SAS SFF to Mini SAS 36Pin SFF Cable
  • 1 xLSI Logic Controller Card i Port SAS 12Gb/s PCI-Express Host Byref argument type mismatch vba error Adapter
  • TrueNAS Core U1
  • Use existing Drives 8 x10TB WD Red, 8 x4TB WD Purple, + a mix of WD Purple and shucked WD Elements 12TB x 8
ESXi-pfSense-FreeNAS-Docker host

CASE: Fractal Node
MB: ASUS xM WS
CPU: Xeon Ev4 + Corsair H60 Cooler block
RAM: CRUCIAL 64GB DDR ECC RDIMMs
HDD: WD RED 3TBx8
SSD: 4 xSamsung EVO Basic (GB, ") error smart serial number - VMs/Jails
HBA: LSI i
OS: 1 x Kingston UV GB SSD - boot drive
PSU: Corsair RM
Version: TrueNAS CORE error smart serial number 3xFractal R3 mm - 3 Front, 1 Rear. Corsair Commander Pro to control the fans (see script and code)
CPU FAN: 1xCorsair H60 CPU Radiator - Front
NIC: Intel EXPIPTBLK Pro, Dual-Gigabit Adapter (plus the 2 onboard Intel NICs, 1x1x )

VM/Docker host, using ESXi and running pfSense alongside FreeNAS (separate Dual Intel NIC added, dedicated to the pfSense VM)


Other Systems

TrueNAS CORE test system:

CASE: Old Silverstone HTPC case
MB: ASUS xM WS
CPU: Xeon Ev4 + Corsair H60 Cooler block
RAM: CRUCIAL error smart serial number DDR ECC RDIMMs
HDD: WD RED 8TBx3
OS: 1 x Kingston UV GB SSD - boot drive
PSU: Corsair RM
Version: TrueNAS CORE U1

SCALE Cluster:

2x Intel NUCs running TrueNAS SCALE
64GB RAM
10th Generation Intel i7
Samsung NVME SSD 1TB, QVO SSD 1TB
Boot from Samsung Portable T7 SSD USBC

CASE: Fractal Node running TrueNAS SCALE
MB: ASUS P10S-I Series
RAM: 32 GB
CPU: Intel(R) Xeon(R) CPU EL v5 @ GHz
HDD: 3 WD REDs and a few SSDs
PSU: Fractal ION 2+ W

HDD Serial number not displaying, SMART tests not consistent

Hi all,
I have an issue with error smart serial number seems to be my SATA4 port, so that the drive does not report a serial number, nor the right number of smart test results (example: all drives return 21 SMART short test results, the drive in SATA4 returns 11 when running these via Putty, see output below)

I am not sure what to try next, as I cannot understand why only this drive port is not showing the drive details. Could it be related to this bug?

What I have tried:
- New SATA cable (literally new)
- New Drive (I have brand new spare WD Se)
- Change drive position in chain, always da4 is showing with missing serial.

My config:
- FreeNASRCbx64 - running off USB key
- Intel Server Board SCP4 Dual Xeon socket, Latest Firmware -
- 10x 4TB HDD - WE Se Enterprise Drives, error smart serial number, JBOD, no hardware raid, set up as RSTE (Intel SATA), AHCI, Bios set up to staggered spin up for drives.
- Xeon E V3, 6 Core, GHz
- 32GB DDR3 HP ECC Server Memory
- 1x ZFS-2 volume (RAID 6)
- 4x Gb NIC aggregated
- Board Link: sprers.eu

Image of the "View Disks" panel:
sprers.eu

Example output of smartctl -a -q noserial /dev/da4

Code:

[[email protected]] ~# smartctl -a -q noserial /dev/da4 smartctl r [FreeBSD RELEASE-p9 amd64] (local build) Copyright (C)Bruce Allen, error smart serial number, Christian Franke, sprers.eu === START OF INFORMATION SECTION === Device Masm32 error a2084 constant value too large WDC WDF9YZN20L0 Firmware Version: A01 User Capacity: 4,, bytes [ TB] Sector Sizes: bytes logical, bytes physical Rotation Rate: rpm Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ATA8-ACS (minor revision not indicated) SATA Version is: SATAGb/s (current: Gb/s) Local Time is: Tue Jul 29 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled Warning! SMART Attribute Thresholds Structure error: invalid SMART checksum. === START OF READ SMART DATA SECTION === SMART STATUS RETURN: incomplete response, error smart serial number, ATA output registers missing SMART overall-health self-assessment test result: PASSED Warning: This result is based on an Attribute check. General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total error smart serial number to complete Offline data collection: () seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported, error smart serial number. SMART capabilities: (0x) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( ) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x70bd) SCT Status supported, error smart serial number. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. If Selective self-test is pending on power-up, resume after 0 minute delay.


Example of another drive:

Code:

[[email protected]] ~# smartctl -a -q noserial /dev/ada0 smartctl r [FreeBSD RELEASE-p9 amd64] (local build) Copyright (C)Bruce Allen, Christian Franke, sprers.eu === START OF INFORMATION SECTION === Device Model: WDC WDF9YZN20L0 Firmware Version: A01 User Capacity: 4,, error smart serial number, bytes [ TB] Sector Sizes: bytes logical, bytes physical Rotation Rate: rpm Device is: Not in smartctl database [for details use: -P showall] ATA Version is: ATA8-ACS (minor revision not indicated) SATA Version is: SATAGb/s (current: Gb/s) Local Time is: Tue Jul 29 EST SMART support is: Available - device has SMART capability, error smart serial number. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x84) Offline data collection activity was suspended by an interrupting command from host. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: () seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate, error smart serial number. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x) Saves SMART data before entering power-saving mode. Supports SMART auto 9th company roots of terror nocd timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported, error smart serial number. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( ) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x70bd) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. If Selective self-test is pending on power-up, resume after 0 minute delay.

 

Error Invalid Serial Number during installation

22 users found this article helpful

If you get an Error Invalid Serial Number during installation, please do the following:

1. Use all capital letters as some of our serial numbers require case sensitive data entry.

2. If you are copying and pasting your serial number, please make sure that you are not including an additional space at the beginning or end of your error smart serial number number.

3. Manually type the serial number.

If you have purchased your product as a download from sprers.eu, you can find your serial number in the confirmation email or at sprers.eu Sign in and select Registered sprers.euatively,if you purchased directly from sprers.eu, go to Review Your Order Status & History" at the bottom error smart serial number the page. Select your order sprers.eu will find your download link(s) and serial number(s) on the receipt.

If you purchase a box version, the serial number should be on the sticker on the CD sleeve or jewel case. It will say serial number.

a. Here are some common errors with serial number:

What you see:It can be:
Number Zero ( 0 )Letter O
Letter W(Double Letter V) V V
Letter S or "B"Number 8
  • Note: It may be hard to distinguish which is needed. Please try both before contacting us.

    b, error smart serial number. Pleasecheck that the serial numbermatches the software you are installing. You can check the serial number itself forwhich software it will work with by looking at the first 2 characters on the serial number.


DR CorelDRAW
PR Painter
TS/PR PaintShop Pro
VS VideoStudio
WS WordPerfect Standard
WP WordPerfect Professional
WT WordPerfect Home and Student / Legal
PF Painter
PE Painter Essentials
PA Photo Album
Others if you have a serial number that starts with a number, please make sure that you are installing from a the original link or disc. These kinds of serial number do not work for sprers.eu for legacy products, we no longer error smart serial number these versions

** If you cannot get the number to work, please contact Customer Service Support We will require proof of ownership in order to assist you. In some cases we may require you to send us an image or photo of the serial number so we can further verify the serial number.

Please note thatCorel will replace lost Serial Numbers with proof of original ownership for the current or one previous version. Corel cannot issue serial numbers for software that came pre-installed with a computer or OEM versions.


Keywords:
Error Invalid Serial Number, error smart serial number, installation,Invalid Code,Invalid Serial, error smart serial number, serial number, error

Thank you for subscribing.

Subscription activation email was sent.

You're Already Subscribed

You will get an email as soon as the article is updated.

If you'd like to cancel the subscription to this article, follow the confirmation link from the email we've just sent you.

SMART by Zabbix agent 2

S.M.A.R.T.

S.M.A.R.T.

S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology; often written as SMART) is a monitoring system included in computer hard disk drives (HDDs), solid-state drives (SSDs), and eMMC drives

Available solutions




This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of error smart serial number disk that works without any external scripts. It collects metrics by Zabbix agent catch database error message version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version error smart serial number later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or pioneer 2200 error 10 on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- {#NAME} MATCHES_REGEX

- {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix raw itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix raw itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, error smart serial number, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface, error smart serial number. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is error smart serial number, both when the hard error smart serial number is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- 26 errors error 017 undefined symbol

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix error smart serial number itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Bad_Block_Rate

Percentage of used reserve blocks divided by total reserve blocks.

DEPENDENTsprers.eu_block_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Program_Fail_Count_Chip

The total number of flash program operation failures since the drive was deployed.

DEPENDENTsprers.eum_fail_count_chip[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reallocated_Sector_Ct

Disk discovered attribute.

DEPENDENTsprers.eucated_sector_ct[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical

SMART [{#NAME}]: Average disk temperature is critical

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Command line did not parse

Command line did not parse.

HIGH

Manual close: YES

SMART [{#NAME}]: Device open failed

Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode.

HIGH

Manual close: YES

SMART [{#NAME}]: Some command to the disk failed

Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure.

HIGH

Manual close: YES

SMART [{#NAME}]: Check returned "DISK FAILING"

SMART status check returned "DISK FAILING".

HIGH

Manual close: YES

SMART [{#NAME}]: Some prefail Attributes <= threshold

We found prefail Attributes <= threshold.

HIGH

Manual close: YES

SMART [{#NAME}]: Some Attributes have been <= threshold

SMART status check returned "DISK Error smart serial number but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

HIGH

Manual close: Error smart serial number [{#NAME}]: Error log contains records

The device error log contains records of errors.

HIGH

Manual close: YES

SMART [{#NAME}]: Self-test log contains records

The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

HIGH

Manual close: YES

Feedback

Please report any issues with the template at sprers.eu

You can also provide feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, error smart serial number, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Error smart serial number configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries, error smart serial number. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- {#NAME} MATCHES_REGEX

- {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix raw itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix raw itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw freerapid fatal error of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Error smart serial number status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number. Mmsystem.h error c2146 some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH: error smart serial number DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- Qt importerror no module named site

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, error smart serial number, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Bad_Block_Rate

Percentage of used reserve blocks divided by total reserve blocks.

DEPENDENTsprers.eu_block_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Program_Fail_Count_Chip

The total number of flash program operation failures since the drive was deployed.

DEPENDENTsprers.eum_fail_count_chip[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix svchost .exe application error itemsSMART [{#NAME}]: Reallocated_Sector_Ct

Disk discovered attribute.

DEPENDENTsprers.eucated_sector_ct[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is error smart serial number high

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical

SMART [{#NAME}]: Average disk temperature is critical

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Command line did not parse

Command line did not parse.

HIGH

Manual close: YES

SMART [{#NAME}]: Device open failed

Device open failed, error smart serial number, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode.

HIGH

Manual close: YES

SMART [{#NAME}]: Some command to the disk failed

Some SMART or other ATA command to the disk failed, error smart serial number, or there was a checksum error in a SMART data structure.

HIGH

Manual close: YES

SMART [{#NAME}]: Check returned "DISK FAILING"

SMART status check returned "DISK FAILING".

HIGH

Manual close: YES

SMART [{#NAME}]: Some prefail Attributes <= threshold

We found prefail Attributes <= threshold.

HIGH

Manual close: YES

SMART [{#NAME}]: Some Attributes have been <= threshold

SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

HIGH

Manual close: YES

SMART [{#NAME}]: Error log contains records

The device error log contains records of errors.

HIGH

Manual close: YES

SMART [{#NAME}]: Self-test log contains records

The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

HIGH

Manual close: YES

Feedback

Please report any issues with the template at sprers.eu

You can also provide feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled, error smart serial number. Attribute discovery LLD rule finds all Vendor Specific Attributes for each disk. If you want to skip some attributes, please set regular expressions with disk names in {$sprers.euS} and with attribute IDs in {$sprers.euS} macros on the host printer cannon error e602-0002 template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in overrides of attribute discovery for filtering IDs. It can be overridden on the host or linked template level.

{$sprers.euS}

This macro is used in overrides of attribute discovery for filtering IDs. It can be overridden on the host or linked template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Attribute discovery

Discovery SMART Vendor Specific Attributes of disks.

ZABBIX_PASSIVEsprers.euery

Overrides:

ID filter
- {#ID} MATCHES_REGEX - {#NAME} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP `` - NO_DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix_raw_itemsSMART: Get attributes

-

ZABBIX_PASSIVEsprers.eu
Zabbix_raw_itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall error smart serial number represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: ID {#ID} {#ATTRNAME}

-

DEPENDENTsprers.eu[{#NAME},{#ID}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: ID {#ID} {#ATTRNAME} raw value

-

DEPENDENTsprers.eu[{#NAME},{#ID}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced (new serial number received)

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high (over {$sprers.eu}°C for 5m)

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Attribute {#ID} {#ATTRNAME} is failed

The value should be greater than THRESH.

WARNING

Feedback

Please report any issues with the template at sprers.eu

You can also provide a feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix error smart serial number 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host error smart serial number linked on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- A: {#NAME} MATCHES_REGEX

- B: {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- Error smart serial number REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix_raw_itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix_raw_itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based multiman 550 file system error the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, error smart serial number, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have error smart serial number following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit runtime error 713 msstdfmt.dll Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK St3250310as passport error but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains thunderdome extrem terror vinyl of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not error smart serial number as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Bad_Block_Rate

Percentage of used reserve blocks divided by total reserve blocks.

DEPENDENTsprers.eu_block_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Program_Fail_Count_Chip

The total number of flash program operation failures since the drive was deployed.

DEPENDENTsprers.eum_fail_count_chip[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Reallocated_Sector_Ct

Disk discovered attribute.

DEPENDENTsprers.eucated_sector_ct[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced (new serial number received)

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high (over {$sprers.eu}°C for 5m)

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE

Feedback

Please report any issues with the template at sprers.eu

You can also provide a feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix error smart serial number operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on configuration error 0162 windows xp host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

Template links

There error smart serial number no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- {#NAME} MATCHES_REGEX

- {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix raw itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix raw itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). Error smart serial number is equal to days in 24/7 mode or hours." On some pre drives, error smart serial number, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum urban terror counter strike, or LBA tag mismatch are error sd down in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART bat file goto error check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we error smart serial number that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, extended error code = 0xf0f4 number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may intel cpu ucode loading error asus p5v due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Bad_Block_Rate

Percentage of used reserve blocks divided by total reserve blocks.

DEPENDENTsprers.eu_block_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Program_Fail_Count_Chip

The total number of flash program operation failures since the drive was deployed.

DEPENDENTsprers.eum_fail_count_chip[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reallocated_Sector_Ct

Disk discovered attribute.

DEPENDENTsprers.eucated_sector_ct[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical

SMART [{#NAME}]: Average disk temperature is critical

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Command line did not parse

Command line did not parse.

HIGH

Manual close: YES

SMART [{#NAME}]: Device open failed

Device open failed, device did not return an IDENTIFY DEVICE structure, error smart serial number, or device is in a low-power mode.

HIGH

Manual close: YES

SMART [{#NAME}]: Some command to the disk failed

Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure.

HIGH

Manual close: YES

SMART [{#NAME}]: Check returned "DISK FAILING"

SMART status check returned "DISK FAILING".

HIGH

Manual close: YES

SMART [{#NAME}]: Some prefail Attributes <= threshold

We found prefail Attributes <= threshold.

HIGH

Manual close: YES

SMART [{#NAME}]: Some Attributes have been <= threshold

SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

HIGH

Manual close: YES

SMART [{#NAME}]: Error log contains records

The device error log contains records of errors.

HIGH

Manual close: YES

SMART [{#NAME}]: Self-test log contains records

The device self-test log contains records of errors, error smart serial number. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

HIGH

Manual close: YES

Feedback

Please report any issues with the template at sprers.eu

You can also provide feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, error smart serial number, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- {#NAME} MATCHES_REGEX

- {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
error smart serial number ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- Error smart serial number REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix raw error smart serial number [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix raw itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, error smart serial number, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically), error smart serial number. sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for Casio ex-s100 lens error disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Bad_Block_Rate

Percentage of used reserve blocks divided by total reserve blocks.

DEPENDENTsprers.eu_block_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Program_Fail_Count_Chip

The total number of flash program operation failures since the drive was deployed.

DEPENDENTsprers.eum_fail_count_chip[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix raw itemsSMART [{#NAME}]: Reallocated_Sector_Ct

Disk discovered attribute.

DEPENDENTsprers.eucated_sector_ct[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical

SMART [{#NAME}]: Average disk temperature is critical

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Command line did not parse

Command line did not parse.

HIGH

Manual close: YES

SMART [{#NAME}]: Device open failed

Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a low-power mode.

HIGH

Manual close: YES

SMART [{#NAME}]: Some command to the disk failed

Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure.

HIGH

Manual close: YES

SMART [{#NAME}]: Check returned "DISK FAILING"

SMART status the fall of max payne runtime error returned "DISK FAILING".

HIGH

Manual close: YES

SMART [{#NAME}]: Some prefail Attributes <= threshold

We found prefail Attributes <= threshold.

HIGH

Manual close: YES

SMART [{#NAME}]: Some Attributes have been <= threshold

SMART status check returned "DISK OK" but we found that some (usage or prefail) Attributes have been <= threshold at some time in the past.

HIGH

Manual close: YES

SMART [{#NAME}]: Error log contains records

The device error log contains records of errors.

HIGH

Manual close: YES

SMART [{#NAME}]: Self-test log contains records

The device self-test log 1c8.2 cant start driver - error 2 records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

HIGH

Manual close: YES

Feedback

Please report any issues with the template at sprers.eu

You can also provide feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 error football manager is already running and later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule finds all Vendor Specific Attributes for each disk. If you want to skip some attributes, please set regular expressions with disk names in {$sprers.euS} and with attribute IDs in {$sprers.euS} macros on the host level.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in overrides of attribute discovery for filtering IDs. It can be overridden on the host or linked template level.

{$sprers.euS}

This macro is used in overrides of attribute discovery for filtering IDs. It can be overridden on the host or linked template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Attribute discovery

Discovery SMART Vendor Specific Attributes of disks.

ZABBIX_PASSIVEsprers.euery

Overrides:

ID filter
- {#ID} MATCHES_REGEX - {#NAME} MATCHES_REGEX error smart serial number - ITEM_PROTOTYPE REGEXP `` - NO_DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix_raw_itemsSMART: Get attributes

-

ZABBIX_PASSIVEsprers.eu
Zabbix_raw_itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of hours (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect error smart serial number is defined as 5 years (running every day and night on all days). This is equal to error smart serial number in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of error smart serial number percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, error smart serial number, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: ID {#ID} {#ATTRNAME}

-

DEPENDENTsprers.eu[{#NAME},{#ID}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: ID {#ID} {#ATTRNAME} raw value

-

DEPENDENTsprers.eu[{#NAME},{#ID}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Triggers

NameDescriptionExpressionSeverityDependencies and additional info
SMART [{#NAME}]: Disk has been replaced (new serial number received)

Device serial number has changed. Ack to close.

INFO

Manual close: YES

SMART [{#NAME}]: Disk self-test is not passed

-

HIGH
SMART [{#NAME}]: Average disk temperature is too high (over {$sprers.eu}°C for 5m)

-

WARNING

Depends on:

- SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

SMART [{#NAME}]: Average disk temperature is critical (over {$sprers.eu}°C for 5m)

-

AVERAGE
SMART [{#NAME}]: NVMe disk percentage using is over 90% of estimated endurance

-

AVERAGE
SMART [{#NAME}]: Attribute {#ID} {#ATTRNAME} is failed

The value should be greater than THRESH.

WARNING

Feedback

Please report any issues with the template at sprers.eu

You can also provide a feedback, discuss the template or ask for help with it at ZABBIX forums.

References

sprers.eu

This template is for Zabbix version:

Also available for:

Source: sprers.eu?at=release/

Overview

For Zabbix version: and higher
The template for monitoring S.M.A.R.T. attributes of physical disk that works without any external scripts. It collects metrics by Zabbix agent 2 version error smart serial number later with Smartmontools version and later. Disk discovery LLD rule finds all HDD, SSD, NVMe disks with S.M.A.R.T. enabled. Attribute discovery LLD rule have pre-defined Vendor Specific Attributes for each disk, and will be discovered if attribute is present.

This template was tested on:

  • Smartmontools, version and later

Setup

See Zabbix template operation for basic instructions.

Install the Zabbix agent 2 and Smartmontools

Zabbix configuration

No specific Zabbix configuration is required.

Macros used

NameDescriptionDefault
{$sprers.euS}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu_MATCHES}

This macro is used in the filter of attribute and disk discoveries. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the host or linked on the template level.

{$sprers.eu}

This macro is used for trigger expression. It can be overridden on the toshiba satellite bios error or linked on the template level.

Template links

There are no template links in this template.

Discovery rules

NameDescriptionTypeKey and additional info
Disk discovery

Discovery SMART disks.

ZABBIX_PASSIVEsprers.euery

Filter:

AND

- A: {#NAME} MATCHES_REGEX

- B: {#NAME} NOT_MATCHES_REGEX

Overrides:

Self-test
- {#DISKTYPE} MATCHES_REGEX
- ITEM_PROTOTYPE LIKE - NO_DISCOVER

Not NVMe
- {#DISKTYPE} NOT_MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - NO_DISCOVER

Raw_Read_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Spin_Up_Time
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Start_Stop_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Power_Cycle_Count
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reported_Uncorrect
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Seek_Error_Rate
- {#ATTRIBUTES} MATCHES_REGEX
error smart serial number ITEM_PROTOTYPE REGEXP - DISCOVER

Bad_Block_Rate
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Program_Fail_Count_Chip
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Reallocated_Sector_Ct
- {#ATTRIBUTES} MATCHES_REGEX
- ITEM_PROTOTYPE REGEXP - DISCOVER

Items collected

GroupNameDescriptionTypeKey and additional info
Zabbix_raw_itemsSMART [{#NAME}]: Smartctl error

This metric will contain smartctl errors.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Get disk attributes

-

ZABBIX_PASSIVEsprers.eu[{#PATH},"{#RAIDTYPE}"]
Zabbix_raw_itemsSMART [{#NAME}]: Device model

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Serial number

-

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Self-test passed

The disk is passed the SMART self-test or not.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Temperature

Current drive temperature.

DEPENDENTsprers.euature[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power on hours

Count of hours in power-on state. The raw value of this attribute shows total count of error smart serial number (or minutes, or seconds, depending on manufacturer) in power-on state. "By default, the total expected lifetime of a hard disk in perfect condition is defined as 5 years (running every day and night on all days). This is equal to days in 24/7 mode or hours." On some pre drives, this raw value may advance erratically and/or "wrap around" (reset to zero periodically). sprers.eu#Known_ATA_S.M.A.R.T._attributes

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Percentage used

Contains a vendor specific estimate of the percentage of NVM subsystem life used based on the actual usage and the manufacturer's prediction of NVM life, error smart serial number. A value of indicates that the estimated endurance of the NVM in the NVM subsystem has been consumed, but may not indicate an NVM subsystem failure. The value is allowed to exceed Percentages greater than shall be represented as This value shall be updated once per power-on hour (when the controller is not in a sleep state).

DEPENDENTsprers.eutage_used[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Critical warning

This field indicates critical warnings for the state of the controller.

DEPENDENTsprers.eual_warning[{#NAME}]

Preprocessing:

- JSONPATH: error smart serial number DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Media errors

Contains the number of occurrences where the controller detected an unrecovered data integrity error. Errors such as uncorrectable ECC, CRC checksum failure, or LBA tag mismatch are included in this field.

DEPENDENTsprers.eu_errors[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Exit status

The exit statuses of smartctl are defined by a bitmask but in decimal value. The eight different bits in the exit status have the following meanings for ATA disks; some of these values may also be returned for SCSI disks.

Bit 0: Command line did not parse.

Bit 1: Device open failed, device did not return an IDENTIFY DEVICE structure, or device is in a error smart serial number mode (see '-n' option above).

Bit 2: Some SMART or other ATA command to the disk failed, or there was a checksum error in a SMART data structure (see '-b' option above).

Bit 3: SMART status check returned "DISK FAILING".

Bit 4: We found prefail Attributes <= threshold.

Bit 5: SMART status check returned "DISK OK" but we error smart serial number that some (usage or prefail) Attributes have been <= threshold at some time in the past.

Bit 6: The device error log contains records of errors.

Bit 7: The device self-test log contains records of errors. [ATA only] Failed self-tests outdated by a newer successful extended self-test are ignored.

DEPENDENTsprers.eu[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Raw_Read_Error_Rate

Stores data related to the rate of hardware read errors that occurred when reading data from a disk surface. The raw value has different structure for different vendors and is often not meaningful as a decimal number, error smart serial number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENTsprers.eu_read_error_rate[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Spin_Up_Time

Average time of spindle spin up (from zero RPM to fully operational [milliseconds]).

DEPENDENTsprers.eu_up_time[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Start_Stop_Count

A tally of spindle start/stop cycles. The spindle turns on, and hence the count is increased, both when the hard disk is turned on after having before been turned entirely off (disconnected from power source) and when the hard disk returns from having previously been put to sleep mode.

DEPENDENTsprers.eu_stop_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Power_Cycle_Count

This attribute indicates the count of full hard disk power on/off cycles.

DEPENDENTsprers.eu_cycle_count[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Reported_Uncorrect

The count of errors that could not be recovered using hardware ECC.

DEPENDENTsprers.eued_uncorrect[{#NAME}]

Preprocessing:

- JSONPATH:

- DISCARD_UNCHANGED_HEARTBEAT:

Zabbix_raw_itemsSMART [{#NAME}]: Seek_Error_Rate

Rate of seek errors of the magnetic heads. If there is a partial failure in the mechanical positioning system, then seek errors will arise. Such a failure may be due to numerous factors, such as damage to a servo, or thermal widening of the hard disk. The raw value has different structure for different vendors and is often not meaningful as a decimal number. For some drives, this number may increase during normal operation without necessarily signifying errors.

DEPENDENT

Finding the Smart Card Utility Reader Error smart serial number Number

If you are requested to send the serial number of your Smart Card Utility Reader to Twocanoes Software, please follow the instructions below:

Open Smart Card Utility on iPhone or iPad and select Reader Certificates:

Turn on or plugin the reader to read the card. Select the reader name:

If you see the error message below, it means your reader is not registered to Twocanoes. However, the serial number is captured in the app.

To share this serial number, tap Settings in the lower right error smart serial number of the main screen as shown below.

In the Settings screen, tap Share in the upper right corner.

Select a method to share the serial number. The option to copy the serial number is shown in the screenshot below. Once it is copied, the serial number can be pasted into an email to send to Twocanoes.

How to resolve issues with a stranded myQ serial number

When you receive error"That device is on another user's account. Unable to add. ()", it means that the myQ serial number you are attempting to add to your myQ account has been previously added to an account and is now stranded on another account, error smart serial number. A myQ serial number can only be added to one account. There are a few different ways this can happen:

Examples of how a gateway gets stranded:

  • Recently moved into a house with an existing gateway.
  • Retail store re-sold a returned gateway.
  • Do not have access to the email containing the gateway and the password is forgotten.
  • Added the serial number to another email address that they may have.

To resolve issues with a stranded gateway, verify the serial number is not in use already:

  1. Perform a hard reset on the gateway to clear it from the old myQ account.
  2. After you do a hard reset you must connect the gateway to the server (solid green LED), error smart serial number. The Wi-Fi GDO will stay connected to Wi-Fi.
  3. If the serial number is still stranded, then try doing a hard reset again.

How to do a hard reset:

Wi-Fi Hub and myQ Smart Garage Hub

  1. Press and windows errors repair tool the settings button (gear) excel 2007 ole error 800a03ec the Wi-Fi hub until the blue LED blinks.
  2. While the blue LED is blinking, press and hold the settings button (gear) again until the blue LED pauses then blinks or beeps.
  3. The Wi-Fi hub is set to factory default, error smart serial number. Reconnect to Wi-Fi to clear serial number. See How to connect myQ Garage to Wi-Fi.

Internet Gateway

  1. Remove power from the gateway.
  2. With a paper clip or safety pin, hold the reset button down (small hole on side of the gateway).
  3. While holding the reset button, reconnect power to the gateway.
  4. The blue and green LED will flash. Continue holding the reset button.
  5. When the yellow LED starts blinking, release the reset button.
  6. The blue and green LED will flash and the blue LED will turn off.
  7. Once the green LED is on solid, log in to the account and register the gateway.

Wi-Fi GDO

Do a triple clear on the learn button

Note: Following the steps above will remove all of the remote controls, keyless entry, myQ Devices and HomeLink from the garage door opener and they will need to be reprogrammed.

  1. Press and hold the yellow learn button, the LED light will come on. Continue to hold until the LED light turns off, release.
  2. Immediately press and hold the button again, until the LED light turns off again.
  3. Immediately press and hold the button a 3rd time, until the LED light turns off.
  4. Add the serial number to account. The adjustment button must be solid green to add serial number.

For additional help:

1 Comments

  1. I am final, I am sorry, but this answer does not approach me. Who else, what can prompt?

Leave a Comment