Commit Graph

63 Commits

Author SHA1 Message Date
Andreas Bachlechner 624c34459d Use the css style instead of title_fg_color and title_bg_color. 2022-02-24 19:16:30 +01:00
Jordi Sanfeliu ebcc7e514a fix the '--full-size-mode' parameter to not break backwards compatibility with older versions of RRDtool #342 2022-01-12 10:26:58 +01:00
David Hummel 14b32dd993 Added 2 functions (img_element & picz_a_element) & renamed picz_js_link 2021-12-21 17:24:55 -07:00
David Hummel 92eaaa4f5a Use --full-size-mode for zoomed images 2021-12-21 16:08:14 -07:00
David Hummel 02f0e09388 Merge remote-tracking branch 'upstream/master' 2021-12-21 08:20:41 -07:00
David Hummel fc63b67940 Added function for picz js links 2021-12-20 21:24:23 -07:00
David Hummel ba9f7040e9 Revert "Fixed `zoomed image won't fit in the pop-up window` for SVG image_format"
This reverts commit 3dfe4972c5.
2021-12-20 17:47:36 -07:00
Andreas Bachlechner bb294834c2 Fix format 2021-12-10 12:26:41 +01:00
Andreas Bachlechner 9a58d8462a Revert "Add refresh_interval option to disk.pm."
This reverts commit 2c4eaa2a69.
2021-10-14 08:29:35 +02:00
Andreas Bachlechner 2c4eaa2a69 Add refresh_interval option to disk.pm.
A smart request does reset the standby timer of the disk. If standby is
desired the refresh_interval needs to be at least twice as large as the
standby time to avoid calls that would reset the timer before the disk
goes sleeping.
2021-10-14 00:51:15 +02:00
Andreas Bachlechner 182d47ad46 Fix indentation. 2021-10-13 23:49:10 +02:00
Andreas Bachlechner 2358b9f699 Revert "Also the symbolic link check wakes up the disks."
This reverts commit c840dee92e.
2021-10-13 23:48:12 +02:00
Andreas Bachlechner c840dee92e Also the symbolic link check wakes up the disks. 2021-10-13 08:41:36 +02:00
Andreas Bachlechner 6962da4fe4 Fix nan handling of alternative temperature sources. 2021-10-11 17:17:28 +02:00
Andreas Bachlechner 09e2354950 Fix format. 2021-10-11 16:48:41 +02:00
Andreas Bachlechner ac257d3b41 Add gap_on_all_nan option to disk.pm 2021-10-10 00:39:38 +02:00
Andreas Bachlechner d0c81115a2 Add use_nan_for_missing_data opton to disk.pm 2021-10-10 00:39:38 +02:00
Andreas Bachlechner 276e04fd83 Add respect_standby to disk.pm to avoid waking up sleeping disks. 2021-10-10 00:39:33 +02:00
David Hummel 3dfe4972c5 Fixed `zoomed image won't fit in the pop-up window` for SVG image_format 2021-08-25 13:36:13 -07:00
Jordi Sanfeliu e06aa33218 fixed (by just commenting out some lines) the <map> option in 'disk.pm' 2021-08-03 09:52:12 +02:00
Jordi Sanfeliu e12df74724 fixed to honour the <map> option on graphs 2 and 3 in 'disk.pm' 2021-08-03 09:45:13 +02:00
Jordi Sanfeliu 08b3acdbd6 converted the rest of graphs to CSS #306 2020-12-03 09:42:17 +01:00
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