2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
Commit Graph

30 Commits

Author SHA1 Message Date
Lars Kruse
17f784270a Whitespace cleanup
* remove trailing whitespace
* remove empty lines at the end of files
2018-08-02 02:33:25 +02:00
Nils
52917d2bea remove quote from nGpusCounter 2018-02-23 19:27:22 +01:00
Nils
cc0efe410b quote $nvSmiExec and use for driverVersion 2018-02-23 18:55:59 +01:00
Nils
7ef2911ee1 back to bash 2018-02-23 18:52:39 +01:00
Nils
60a2093605 use variable names also in the configuration 2018-02-22 13:14:19 +01:00
Nils
cf52a44380 labels that match the core plugins 2018-02-22 13:03:38 +01:00
Nils
a5ccb70da9 New: GPU utilization 2018-02-22 12:58:21 +01:00
Nils
5c08e0744c Double quote to prevent globbing and word splitting
https://github.com/koalaman/shellcheck/wiki/SC2086
2018-02-22 12:38:25 +01:00
Nils
15125852e8 remove $ on regular variables in arithmetic contexts
https://github.com/koalaman/shellcheck/wiki/SC2004
2018-02-22 12:36:25 +01:00
Nils
2a84478fea Use $(STATEMENT) instead of legacy STATEMENT
https://github.com/koalaman/shellcheck/wiki/SC2006
2018-02-22 12:30:35 +01:00
Nils
00c0da18d5 env bash 2018-02-22 12:26:16 +01:00
Robert Kulyassa
59361d6cab nvidia_gpu_: + power consumption (nvidia_gpu_power) 2017-04-18 18:32:03 +02:00
dipohl
ff883dee02 Category Tree: reduce number of categories 2017-02-22 05:34:14 +01:00
Lee Clemens
3a4b7fcb35 Revert "Avoid bashism" 2015-01-13 21:16:57 -05:00
Stig Sandbeck Mathisen
911adebe22 Merge pull request #534 from asgh/master
Avoid bashism
2014-10-06 00:20:49 +02:00
Stig Sandbeck Mathisen
aaeaa2e64a USe /bin/bash as interpreter for bash script 2014-10-04 21:21:32 +02:00
asgh
2b3c17b977 Avoid bashism 2014-09-28 21:03:15 -04:00
Steve Schnepp
aad8d7fb8b Merge pull request #525 from leeclemens/patch-3
Use case insensitive grep for Temp lines
2014-09-17 09:19:13 +02:00
Lee Clemens
73bf78e765 backwards compatible grep for memory
Potentially will work for 5.5 and earlier, as well as 6 and 6.5 (tested with 6.5)
2014-09-15 19:14:57 -04:00
leeclemens
493121924a Use case insensitive grep for Temp lines
xorg-x11-drv-nvidia-340.29-1.el6.x86_64 (CUDA 6.5?) seems to have changed the Temperature lines from "Gpu" to "GPU" prefixes. Case insensitive grep preserves backwards comatability.
2014-09-15 17:35:15 -04:00
asgh
d8dad71362 Fix memory usage check
Change "FB Memory Usage" to just "Memory Usage" - this will also work on an old version that still uses the "FB" terminology.
2014-08-19 22:21:11 -04:00
leeclemens
61f058fce9 _mem should use FB memory used, only
NVIDIA 6 added differentiation between FB and BAR1 memory - use nvidia_gpu_mem for FB Memory *only* since its definition fits better with the usage prior to BAR1 memory.
2014-05-04 12:46:40 -04:00
Steve Schnepp
f88b11105b Merge pull request #430 from leeclemens/master
append newline to support _mem and multiple GPUs
2014-02-18 15:43:59 +01:00
leeclemens
7713329755 append newline to support _mem and multiple GPUs
Memory used percentages were being concatenated into a single string if multiple GPUs were present, e.g. both using 30% would print mem0.value 3030 mem1.value
2014-01-23 14:33:43 -05:00
Steve Schnepp
04e9d5bfa1 Merge branch 'pr/401'
Merging a rebased branch for pull #401
2013-11-15 13:29:48 +01:00
Nuno Fachada
c53197ce5a Improve GPU plugins documentation 2013-11-15 13:27:36 +01:00
Nuno Fachada
10b1de81bb Configurable warning and critical temperatures for GPUs 2013-11-15 13:27:28 +01:00
Nuno Fachada
758ca724a0 Add TODO and FIXME notes on some issues
TODO 1: Follow multigraph suggestion from Flameeyes to look into multigraph
plugins (http://munin-monitoring.org/wiki/MultigraphSampleOutput),
in order to reduce the amount of round trips to get the data.

TODO 2: Put warning and critical as vars in config with sensible defaults.

TODO 3: Add additional output options for nvidia-smi only available for
professional GPUs.

FIXME: Possible bug in lines 87-91 of amd_gpu_
2013-11-15 13:27:05 +01:00
CWempe
7688a3f5ba deletet unnecessary output "\n"
Output looked like this:

root@htpc:/etc/munin/plugins# ./nvidia_gpu_mem
mem0.value 0\n
2013-02-12 15:30:59 +01:00
Nuno Fachada
426bba4466 Add plugins for monitoring NVIDIA and AMD GPUs 2012-12-11 19:57:06 +00:00