* Ignore old age attribute on NVMe
Critical_Warning attribute with `0x04` value hold only litte information
With `-O` arg the value will be simply ignored.
In most cases "Percentage Used" being above 100% triggers this warning. This only means that the drive's warranty from the manufacturer is over.
But as long as 'Available Spare' is greater than 'Available Spare Threshold', you can safely ignore this message.
* Skip Percent_Lifetime_Used on SSD disks
Attribute `Percent_Lifetime_Used` is not very reliable health indicator
Address issue when threshold is not set in the following case:
check_smart -i auto -g '/dev/sda' -w Reallocated_Sector_Ct=250 -l
Instead of 90, the threshold is 0 when -w is given without
Percent_Lifetime_Remain threshold.
* Security fix in trailing path for pseudo-devices
* Additional anchor for security
* Update help
* Add Erase_Fail_Count_Total to default raw list
* Fix NVMe perfdata (issue 74)
* Release today
* Handle dots in nvme attributes and differ between critical and warning output
* Fix string concatenation
* Show any warnings or errors which may have been muted in -g mode (#71)
* Additional status sorting, per alert and per drive
* Release commit for 6.11
Co-authored-by: Peter Newman <peternewman@users.noreply.github.com>
* Remove 'Command_Timeout' from raw list, add Percent_Lifetime_Remain attribute with default warn at 90 percent
* SSD Lifetime check optional with parameter -l
* Fix warning of already initialized variable
* Add support for NVMe devices
* Improve regex for nvme smart attributes
* Check Critical_Warning attribute before other attributes
* Add model detection for nvme
* Fix regex to support hex status like 0x0A
* Use Power_On_Hours in perfdata
* Release 6.7.0
The feature was requested in #30 . This PR adds the possibility to use 3ware,N and cciss,N drives in combination with the global -g parameter.
Furthermore this PR adjusts the output of the plugin when the -g is used in combination with hardware raid controllers. Instead of showing the logical device name (/dev/sda for example), the plugin will now show the controller with drive number.