Commit Graph

1916 Commits

Author SHA1 Message Date
Andreas Bachlechner 56a9b21095 Fix nvme non extended plot version.
The selection of plots that need alternative scaling was not set
for the non extended version of the nvme plots.
2022-01-10 20:39:28 +01:00
Jordi Sanfeliu cb1802e26e Merge branch 'master' of github.com:mikaku/Monitorix 2021-12-21 15:19:37 +01:00
Jordi Sanfeliu c2be9f978a fix small typo #376 2021-12-21 15:19:26 +01:00
Jordi Sanfeliu e376153760
Merge pull request #375 from bachandi/fix_wrong_array_check
Fixes a wrong array size check in amdgpu.pm and nvidiagpu.pm
2021-12-21 10:08:38 +01:00
Andreas Bachlechner 2c260bb46d Fixes a wrong array size check.
It is not wise to check the end of an array by looking at its content.
A "0" is otherwise used as invalid array entry.
Replaced this usage in nvidiagpu.pm and amgpu.pm by comparing indices with the size directly.
2021-12-20 11:27:06 +01:00
Jordi Sanfeliu 866a484827 small cosmetic changes #333 2021-12-20 10:12:42 +01:00
Jordi Sanfeliu 0ad6f5af62
Merge pull request #369 from bachandi/nvidiagpu
Add nvidiagpu.pm with more sensor readings.
2021-12-20 09:59:38 +01:00
Jordi Sanfeliu ae8985f50a fix indentation #367 2021-12-16 09:42:18 +01:00
Jordi Sanfeliu 1421d1b528 fix indentation #352 2021-12-16 09:40:07 +01:00
Jordi Sanfeliu 28bae74d22 fixed some possible undefined values in 'bind.pm' #374 2021-12-13 16:48:18 +01:00
Jordi Sanfeliu c89f7e7b09
Merge pull request #372 from bachandi/fix_regression
Fix regression
2021-12-10 12:33:14 +01:00
Andreas Bachlechner bb294834c2 Fix format 2021-12-10 12:26:41 +01:00
Andreas Bachlechner f16ac2e956 Revert "remove superfluous if lines #367"
This reverts commit 41d5f6eab4.
2021-12-10 12:24:18 +01:00
Andreas Bachlechner 8e89baa6f4 Fix format in nvidiagpu.pm for better readability. 2021-12-10 12:19:02 +01:00
Andreas Bachlechner 2b4569f9e7 Revert "Remove superfluous if lines."
This reverts commit 0981418195.
2021-12-10 12:18:26 +01:00
Andreas Bachlechner 8868ffd614 Improve nvidiagpu documentation on identifier usage. 2021-12-10 12:10:59 +01:00
Jordi Sanfeliu 41d5f6eab4 remove superfluous if lines #367 2021-12-10 11:44:58 +01:00
Andreas Bachlechner 0981418195 Remove superfluous if lines. 2021-12-10 11:37:09 +01:00
Andreas Bachlechner 1cb4c08707 Add nvidiagpu.pm with more sensor readings 2021-12-10 11:11:21 +01:00
Jordi Sanfeliu 3bb03e983b fixed some indentations #367 2021-12-10 10:50:16 +01:00
Jordi Sanfeliu a2008d488e
Merge pull request #368 from bachandi/amdgpu
Add amdgpu.pm
2021-12-10 10:19:02 +01:00
Andreas Bachlechner 00a8ac0cdd Fix more indentations. 2021-12-09 18:22:42 +01:00
Andreas Bachlechner d4adf2d43f Change amdgpu config logic.
- Devices are no independent identigiers in a list.
- Sensors specify the absolute path to the file containing the information.
- Unavailable sensors have to be left blank.
- Some indentations fixes.
2021-12-09 18:02:11 +01:00
Jordi Sanfeliu 269b7ead91
Merge pull request #366 from bachandi/nvme_tbw_plot_scaling
Nvme TBW plot scaling.
2021-12-07 11:58:04 +01:00
Andreas Bachlechner e16b0f9efa Fix typo. 2021-12-05 11:48:08 +01:00
Andreas Bachlechner 7eeaf34089 Fix alignemnt 2021-12-05 11:38:14 +01:00
Andreas Bachlechner 7782bab86e Update amdgpu sensor order. 2021-12-05 09:23:52 +01:00
Andreas Bachlechner b7ca2a6912 Add documentation and config for amdgpu. 2021-12-03 22:48:23 +01:00
Andreas Bachlechner 7d1001a9ed A bit cleanup 2021-12-03 21:26:37 +01:00
Andreas Bachlechner d7815ca313 Add amdgpu.pm 2021-12-03 18:33:55 +01:00
Andreas Bachlechner f96630a366 Add alternative axis scaling to the nvme TBW plot for better visibility.
Otherwise the plot scaling to coarse.
2021-12-02 21:50:28 +01:00
Jordi Sanfeliu b3227279ce increased the brightness of the new favicon image 2021-11-19 10:03:37 +01:00
Jordi Sanfeliu 3a04cec397 fix indentation #352 2021-11-16 18:37:30 +01:00
Jordi Sanfeliu d628ecaca3
Merge pull request #352 from bachandi/nvme_pm
Add nvme.pm
2021-10-25 10:10:03 +02:00
Andreas Bachlechner bb96292ce9 Remove superfluous variable. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner aac61b4f47 Update documentation 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 45b1d5782c Add show_current_values option to nvme. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 03ccbc6a37 Add show_extended_plots option to nvme. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner ca575e5dba Simplify temp scale code. 2021-10-22 07:41:09 +02:00
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 d38ea9e5a9 Fix alphabetical order in Makefile. 2021-10-22 07:41:09 +02:00
Andreas Bachlechner 30e5a91d18 Add nvme.pm to makefile, config and documentation. 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 07abd4c636
Merge pull request #360 from bachandi/doc_update
Update documentation.
2021-10-14 12:07:30 +02:00