Commit Graph

844 Commits

Author SHA1 Message Date
Andreas Bachlechner 5db98e37bf Reduce code duplication. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 8d282e997f Add more plots to nvme. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner b47e93ce7a Fix img size and reduce rrds. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 76b0655b22 Add gap_on_all_nan option 2021-10-22 07:41:09 +02:00
Andreas Bachlechner c87fe89db4 Add use_nan_for_missing_data to nvme.pm 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 1dfa33d662 Reduce boilerplate. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 88f790fb55 Remove hddtemp usage in nvme.pm as it doesn't support nvme at the moment. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 1888ff027e Add nvme.pm
It can be configured via:
<nvme>
        <list>
                0 = /dev/nvme0
        </list>
        rigid = 0
        limit = 10
        <alerts>
                availspare_enabled = n
                availspare_timeintvl = 0
                availspare_threshold = 1
                availspare_script = /path/to/script.sh
                percentused_enabled = n
                percentused_timeintvl = 0
                percentused_threshold = 1
                percentused_script = /path/to/script.sh
        </alerts>
</nvme>
2021-10-22 07:41:09 +02:00
Jordi Sanfeliu 4a52fdb3fa
Merge pull request #357 from bachandi/disk_standby
Respect disk standby and nan for missing values.
2021-10-14 10:08:49 +02: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
Jordi Sanfeliu fd3a4aa46f removed extra parenthesis #349 2021-10-11 11:15:08 +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
Andreas Bachlechner 8231a18fb1 Change nan creation location 2021-10-08 01:48:58 +02:00
Andreas Bachlechner 4b6b3bfc08 Only create the nan once per loop. 2021-10-07 18:52:25 +02:00
Andreas Bachlechner 4f33fd727c Add options to use nan instead of 0 for missing data and to show gaps
only if all data are invalid.

- use_nan_for_missing_data = y
- gap_on_all_nan = y

This is useful if missing data could otherwise be misinterpreted as valid.
Default behaviour does not change.
2021-10-06 12:17:24 +02:00
Andreas Bachlechner 53b52d748d Fix du refresh interval setting for values that are not multiples of 60. 2021-09-30 16:31:03 +02:00
Jordi Sanfeliu 7f6d63d7b5
Merge pull request #354 from bachandi/ipmi_rigid_list
Fix rigid and limit value usage.
2021-09-30 10:08:34 +02:00
Andreas Bachlechner 7d13171e35 Fix rigid and limit value usage.
Before only the first value was used for all plots.
2021-09-30 10:00:04 +02:00
Jordi Sanfeliu 6c024fc835
Merge pull request #353 from bachandi/du_refresh_interval
Disk usage refresh interval
2021-09-30 09:19:33 +02:00
Andreas Bachlechner 552be17e39 Change refresh_interval from minutes to seconds. 2021-09-30 08:41:55 +02:00
Andreas Bachlechner d1d5d5510e Also tune the rrd heartbeat to the refresh interval. 2021-09-29 14:07:04 +02:00
Jordi Sanfeliu af8dd97e74
Merge pull request #350 from bachandi/gensens_units
Simplify unit correction in gensens.
2021-09-29 09:12:43 +02:00
Andreas Bachlechner a755957380 Add refresh_interval option in minutes to du.pm 2021-09-28 13:12:35 +02:00
Jordi Sanfeliu 5a9e968144
Merge pull request #348 from bachandi/smbcounter
Fix smb counter in user.pm in case smb is not installed.
2021-09-28 08:44:43 +02:00
Andreas Bachlechner c2d2853d89 Simplify unit correction in gensens.
Remove limit of units having to be in powers of 10
by using a division by the unit incase it is not 0.
2021-09-27 17:52:02 +02:00
Andreas Bachlechner 247693f24b Fix variable name to snake_case style. 2021-09-27 17:34:36 +02:00
Andreas Bachlechner ac8b4a0eae Fix smb counter in user.pm in case smb is not installed.
Before the smb value was -1 if no smbstatus was found, resulting in -nan values.
Now the behaviour is the same as for macusers.
2021-09-24 14:43:43 +02:00
Andreas Bachlechner b8f9d73a94 Add arguemt usage to cmd option in ambsens. 2021-09-24 11:15:43 +02:00
Andreas Bachlechner 93f0e4639c Add byte graph in bytes to gensens via 'byt' identifier. 2021-09-23 12:09:41 +02:00
Andreas Bachlechner 8fc243df90 Add pct graph in Percent (%) to gensens via 'pct' identifier. 2021-09-23 10:23:24 +02:00
Andreas Bachlechner 4f4428230e Add fan graph in RPM to gensens via 'fan' identifier. 2021-09-23 10:20:27 +02:00
Andreas Bachlechner ce912059b4 Add power graph in Watts to gensens via 'pwr' identifier. 2021-09-23 10:15:26 +02: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 c792ebbfa7 added the option to prefix fan values to be able to select between rpm and percentages #325 2021-05-24 11:58:54 +02:00
Jordi Sanfeliu 326f0fcd23 added the option 'cmd' in 'lmsens.pm', which defaults to 'sensors', to be able to help to add sensors values not covered by LM-Sensors #325 2021-05-20 13:02:41 +02:00
Jordi Sanfeliu 9b28b53374 fixed the legend in 'nvidia.pm' graphs to respect the 'max' value #330 2021-05-18 10:51:24 +02:00
Jordi Sanfeliu 4bd1dfc600 added support for IPv6 addresses in 'traffacct.pm' 2021-05-11 11:36:43 +02:00
Jordi Sanfeliu 8b0b32dbdc added the option 'time_unit' in 'system.pm' to set the scale of the uptime graph #331 2021-05-05 15:48:54 +02:00
Jordi Sanfeliu 4634892241 corrected the title name in the zoomed graph #311 2021-05-05 12:23:40 +02:00
Jordi Sanfeliu d4999553a2 added the option 'time_unit' in 'process.pm' to set the scale of the uptime graph #311 2021-05-04 18:31:15 +02:00
Jordi Sanfeliu 002dd98b8c changed the way how the 'cmd' option works in 'port.pm', executing directly the command defined on it (without args) unless undefined in which case continues defaulting to 'ss' 2021-04-23 18:51:19 +02:00