Commit Graph

41 Commits

Author SHA1 Message Date
Jordi Sanfeliu 6ba51f1cb0 added the ability to include a title for every group of disks. #283 2020-07-08 09:41:18 +02:00
Jordi Sanfeliu 75c7f6b304 fixed an uninitialized value in 'disk.pm' 2020-07-07 11:50:30 +02:00
Jordi Sanfeliu 5632b6e298 fixed the code to support hopefully any device name #272 2020-06-09 09:08:37 +02:00
Jordi Sanfeliu ecd7da1a52 added support to map devices names in 'disk.pm'. #272 2020-02-28 11:30:49 +01:00
Jordi Sanfeliu cf3cd9e9a7 closing 3.12.0 2020-02-21 10:36:35 +01:00
Jordi Sanfeliu 9222110497 fixed to use --resolution instead of its synonym -r to avoid problems with newer versions of RRDtool. #263 2019-11-22 08:46:02 +01:00
Jordi Sanfeliu 98ef89190b added the new option 'rrdtool_extra_options' to be able to include RRDtool extra options on every graph 2019-05-08 12:54:03 +02:00
Jordi Sanfeliu 31b1752ff8 small fixes 2018-03-06 09:57:50 +01:00
Philippe Verbeke a8168609e9
Get temperature for a NVMe
Get the temperature field value from smartctl -A for a NVMe, as the format of the SMART data section differs from HDD or SSD.
For example:
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning:                   0x00
Temperature:                        40 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    1,769,281 [905 GB]
Data Units Written:                 1,384,224 [708 GB]
Host Read Commands:                 24,646,213
Host Write Commands:                19,105,374
Controller Busy Time:               38
Power Cycles:                       32
Power On Hours:                     129
Unsafe Shutdowns:                   6
Media and Data Integrity Errors:    0
Error Information Log Entries:      44
2018-02-04 18:59:18 +01:00
Jordi Sanfeliu af89e0e625 redirect all the output into an array to support parallelizing in 'disk.pm' 2017-07-25 12:10:28 +02:00
Jordi Sanfeliu fd953c2264 added a warning message in 'disk.pm' that if some of the disk devices defined is not present in the system the initialization will be aborted 2016-05-30 12:48:28 +02:00
Jordi Sanfeliu ea9fd4958b added the new configuration option 'image_format' #132 2016-01-25 18:35:30 +01:00
Jordi Sanfeliu 8dc5a114eb fix identation #121 2015-10-16 10:17:11 +02:00
Peter Doherty 78786c900a If SMART ID 194 is empty, try ID 190. 2015-10-15 20:21:38 -04:00
Jordi Sanfeliu b55f7e449a comestic changes 2015-02-12 16:27:03 +01:00
Jordi Sanfeliu 24b0c0ccd6 remove 'no strict 'refs' 2015-01-19 19:42:06 +01:00
Jordi Sanfeliu befb213207 Zoomed graphs in 'disk.pm' now honour the 'global_zoom' option, and they also use the function RRDs::graphv to fit better in the browser pop up window (only for RRDtool v1.3+) 2014-12-30 17:53:05 +01:00
Jordi Sanfeliu 9b8815c212 added new 'limit' functionality to 'disk' graph 2014-06-18 10:38:49 +02:00
Jordi Sanfeliu 6871a49f07 removed a forgotten debug line 2014-03-18 08:46:11 +01:00
Jordi Sanfeliu 66e77c755f small update 2014-03-03 17:45:13 +01:00
Jordi Sanfeliu 77171191cf added support to use '/dev/disk/by-path/' paths in the device names of the 'disk' graph. #37 2014-01-27 10:16:02 +01:00
Jordi Sanfeliu 29017cb63b generate a new file only if 'max_historic_years' value has been extended 2013-11-26 18:30:24 +01:00
Jordi Sanfeliu 9fbedccb81 typo fixed 2013-11-26 18:30:18 +01:00
Jordi Sanfeliu ad5127eeb5 small update 2013-11-26 18:30:15 +01:00
Jordi Sanfeliu 685788a2d3 added support for the new 'max_historic_years' option to the 'disk' graph 2013-11-26 18:30:14 +01:00
Jordi Sanfeliu e89b3b15df small change 2013-11-26 18:30:14 +01:00
Jordi Sanfeliu b86b0c5683 added two new alerts in the 'disk' graph in order to know if a disk drive has exceeded or reached a threshold for reallocated and pending sectors. 2013-11-26 18:30:10 +01:00
Jordi Sanfeliu 6c7d6fdaa3 added the option 'global_zoom' to all graphs 2013-07-29 18:03:13 +02:00
Jordi Sanfeliu eaddb7caf0 added 'show_gaps' support to the 'disk' graph 2013-07-01 18:04:27 +02:00
Jordi Sanfeliu f05eb8be1d Added a new option in the 'disk' graph called 'accept_invalid_disk' that permits continue working even if some of the device names defined are invalid or non-existent. 2013-05-29 18:16:28 +02:00
Jordi Sanfeliu 280df72537 removed leading quotes in the device name shown in the 'disk' graph 2013-04-29 18:39:28 +02:00
Jordi Sanfeliu 7b716c772a fixed to honour the support of RAID controller parameters in the disk device names defined in the disk graph 2013-04-29 12:48:07 +02:00
Jordi Sanfeliu 6e5bb906f0 changed option to 'temperature_scale' 2013-03-27 19:58:09 +01:00
Jordi Sanfeliu 82b76c908b updated 2013-03-27 19:47:44 +01:00
Jordi Sanfeliu 5f1db3272e changed the function name 2013-03-27 19:26:24 +01:00
Jordi Sanfeliu 4efc293f6e added support to show temperature values in fahrenheit 2013-03-27 18:54:21 +01:00
Jordi Sanfeliu a4b8372901 fixed to detect if a device name defined in 'disk' doesn't exist in the system 2013-02-20 15:21:37 +01:00
Jordi Sanfeliu b1a606e0ba delimit the values in 'list' by comma + space 2013-02-19 13:22:55 +01:00
Jordi Sanfeliu 24bd43b506 fixed the URL of the images 2013-02-11 11:36:17 +01:00
Jordi Sanfeliu 7fad65bbb8 cosmetic update 2013-01-04 10:40:31 +01:00
Jordi Sanfeliu a1a283e745 new 3.0 branch created 2013-01-04 09:27:05 +01:00