Andreas Bachlechner
d86820370c
Merge remote-tracking branch 'mikaku/master' into amdenergy
2022-02-07 09:34:45 +01:00
Jordi Sanfeliu
c0d333f699
Merge pull request #390 from bachandi/intelrapl
...
Add intelrapl.pm to monitor the power consumption of intel-rapl capable devices.
2022-02-07 09:10:34 +01:00
Andreas Bachlechner
ebcda0a6eb
Introduce a new graph_size "large" for modules with only one plot.
...
intelrapl now uses this new graph_size.
2022-02-05 10:23:52 +01:00
Andreas Bachlechner
6e0bb3a793
Merge branch 'master' into ipmi_map_whitespace_support
2022-02-03 16:45:16 +01:00
Jordi Sanfeliu
fe3419c5a0
Merge pull request #392 from bachandi/line_padding
...
Add nicer line padding to ipmi and du plots.
2022-02-03 15:40:24 +01:00
Andreas Bachlechner
2b4f1abc8e
Add improved line padding which checks the actually needed lines to du.pm plots.
2022-02-03 15:27:00 +01:00
Andreas Bachlechner
190f68aa4b
Add support to rename ipmi sensors with whitespaces by introducing the whitespace_key_support config option.
2022-02-03 12:18:42 +01:00
Andreas Bachlechner
cd6b03ba62
Add improved line padding which checks the actually needed lines to du.pm plots.
2022-02-03 11:20:35 +01:00
Andreas Bachlechner
8c8bd09f8b
Add improved line padding which checks the actually needed lines to ipmi.pm plots.
2022-02-03 11:20:08 +01:00
Jordi Sanfeliu
c355eda797
Merge pull request #387 from bachandi/imgdir_fix
...
Fix wrong index for image directory.
2022-02-02 09:19:09 +01:00
Andreas Bachlechner
7cfca7090a
Disable logarithmic axis scaling.
2022-02-02 09:13:03 +01:00
Andreas Bachlechner
19e20f706e
Formating fixes.
2022-02-01 22:32:55 +01:00
Andreas Bachlechner
b9ba166adb
Fix plot arrangement and remove comments.
2022-02-01 13:50:15 +01:00
Andreas Bachlechner
2d974606d9
Add plots for read and write load and also for total read bytes.
2022-02-01 13:18:50 +01:00
Jordi Sanfeliu
f50d49cc05
fixed a change in the quotation marks introduced in 3.14 that prevented from sending reports #391
2022-02-01 10:13:30 +01:00
Andreas Bachlechner
e6e8ca6713
Merge branch 'imgdir_fix' into nvme_bytes_written
2022-02-01 02:13:19 +01:00
Andreas Bachlechner
968f63b3ae
Add data units read and data units read/s and written/s.
2022-02-01 01:59:42 +01:00
Andreas Bachlechner
5d3db5ea33
Add amdenergy.pm to monitor amd CPU power draw using amd_energy driver and lmsensors.
2022-01-30 10:28:16 +01:00
Andreas Bachlechner
e6fe1356c1
Add intelrapl.pm to monitor the power consumtion of intel-rapl capable devices.
2022-01-30 10:26:02 +01:00
Andreas Bachlechner
fc26d6db8b
Fix wrong index for image directory.
...
The number of plots was wrongly fixed to 3 instead of the actual number.
2022-01-28 17:32:57 +01:00
Jordi Sanfeliu
4e3d527af7
fixed an error in 'pgsql.pm' if a non-privileged user is used to read the statistics #384
2022-01-20 11:49:49 +01:00
Jordi Sanfeliu
e35051ec5c
reduced the timeout from 30 to 5 seconds in 'phpfpm.pm'
2022-01-17 09:48:54 +01:00
Jordi Sanfeliu
cd5d991927
improved the way how the process' uptime is collected #311
2022-01-13 11:43:22 +01:00
Jordi Sanfeliu
7d3f2383ee
Merge pull request #382 from bachandi/ambsens
...
Add legend customisation to ambsens.pm
2022-01-13 10:32:19 +01:00
Jordi Sanfeliu
76a55fdd94
Revert "added an alternative mechanism for systems with old 'ps' command lacking of 'etimes' option #311 "
2022-01-13 10:10:59 +01:00
Andreas Bachlechner
0430687694
Add more legend options to ambsens.pm
...
- show_average option to also show average, minimum and maximum in the legend.
- scientific_notation option to print the current values in scientific notation.
2022-01-12 17:59:19 +01:00
Jordi Sanfeliu
dccf48bad5
added an alternative mechanism for systems with old 'ps' command lacking of 'etimes' option #311
2022-01-12 12:44:08 +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
Jordi Sanfeliu
bb7ae5ad55
Merge pull request #380 from bachandi/fix_nvme_non_extended_plot
...
Fix nvme non extended plot version.
2022-01-11 08:12:47 +01:00
Andreas Bachlechner
75b3b7e037
Handle unspecified alerts section in nvme.pm
2022-01-10 20:55:36 +01:00
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
7c86c5d77f
make more portable a hash reference to a scalar variable #378
2021-12-23 16:21:57 +01:00
David Hummel
363267c34f
Indentation update
2021-12-21 18:59:52 -07:00
David Hummel
a6bff83c90
Clean up a little bit more
2021-12-21 18:48:12 -07:00
David Hummel
1d9a0f0353
Use sprintf for HTML elements
2021-12-21 18:36:24 -07:00
David Hummel
0ff19e09b6
Cleaned up the new functions a bit
2021-12-21 18:16:37 -07:00
David Hummel
6a3756943c
Import ceil from POSIX rather than using POSIX::ceil
2021-12-21 17:35:23 -07: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
a250c684a7
Fix for `image_format = svg` (as opposed to `image_format = SVG`)
2021-12-21 09:06:03 -07:00
David Hummel
7afc48f3b0
Removed remaining trailing spaces
2021-12-21 08:49:47 -07:00
David Hummel
955f61f4b6
Fix for issue in Chrome/Chromium
2021-12-21 08:33:35 -07:00
David Hummel
abd4986678
Applied edits from fc63b67940
to new files
2021-12-21 08:26:52 -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
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
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
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
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
Andreas Bachlechner
7782bab86e
Update amdgpu sensor order.
2021-12-05 09:23:52 +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
3a04cec397
fix indentation #352
2021-11-16 18:37:30 +01:00
Andreas Bachlechner
bb96292ce9
Remove superfluous variable.
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
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