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

3709 Commits

Author SHA1 Message Date
Lars Kruse
ea06de7c4f vserver_jiffies: remove unused variable 'KCIN' 2018-03-08 04:42:46 +01:00
Lars Kruse
7ec35e1753 tests: work around 'checkbashisms' complaining about "command -v"
"command -v" should be the preferred way of determining the location (or
existence) of an executable.
Sadly "checkbashisms" interprets "command -v" as a possible bashism,
since "command -v" was introduced in IEEE 1003.1 2013.
But checkbashisms checks for compliance with IEEE 1003.1 2004 - here
"command -v" is listed only as a portability extension.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733511 for the
discussion about checkbashism and "command -v".

See https://unix.stackexchange.com/a/85250 for the discussion about
"command -v" being the most portable check for a program's location.

The workaround itself is bit ugly: 'checkbashisms' is monkey-patched
and fed into the perl interpreter. This makes it harder to re-run the
check command manually (due to complicated quoting).
2018-03-08 04:26:29 +01:00
Lars Kruse
189c3953e7 shell: use 'command -v' instead of 'hash' (for non-bash)
see https://stackoverflow.com/a/677212
2018-03-08 04:26:29 +01:00
Lars Kruse
bd26b1b42d raspi_temp: improve quoting 2018-03-08 04:26:29 +01:00
Lars Kruse
277730393d zpool_iostat: fix 'checkbashisms' issue
It was not a shell syntax problem - but just a checkbashisms issue.
2018-03-08 04:26:29 +01:00
Lars Kruse
c1acbea2db reddit_karma_: fix shell quoting issues 2018-03-08 04:26:29 +01:00
sumpfralle
36c0717b95
Merge pull request #883 from henti/master
Folder recursion and offline fix for jenkins plugin
2018-03-08 02:17:18 +01:00
Lars Kruse
864863c203 snmp__netscaler_connections: fixed syntax error
proposed by Cyclenerd (see #853)
2018-03-08 01:56:59 +01:00
Lars Kruse
451af405b7 deb_packages: rename config file from "*.munin-conf" to "*.munin.conf"
preparation for an additional file permission test (based on extensions)
2018-03-08 01:23:29 +01:00
Lars Kruse
c6ade37de4 cleanup: remove patch rejection garbage 2018-03-08 01:21:49 +01:00
sumpfralle
8385e8c9ea
Merge pull request #889 from daftaupe/tor
Update tor_ plugin author
2018-03-08 00:54:54 +01:00
sumpfralle
7ed8f1480e
Merge pull request #903 from bertptrs/bugfix-graph-size-munstrap
Bugfix: fix graph scaling in munstrap.
2018-03-06 22:56:05 +01:00
sumpfralle
863d326b7a
Merge pull request #902 from bertptrs/plugin-nullmailer
Implement plugin for monitoring nullmailer.
2018-03-06 12:08:30 +01:00
Bert Peters
2078cab690 Bugfix: fix graph scaling in munstrap.
Bootstrap sets box-sizing to border-box to make lay-outing easier, but
this damages the scaling of the munin graphs, which get a border to
indicate their warning state.

This patch makes all images have box-sizing: content-box, so that the
graphs are actually the intended size, rather than the intended size
minus the border, causing a blurry image.
2018-03-06 11:29:54 +01:00
Bert Peters
4ca4e8d937 Implement suggested changes. 2018-03-06 11:08:02 +01:00
Bert Peters
0d775b2827 Implement plugin for monitoring nullmailer. 2018-03-05 13:48:38 +01:00
Lars Kruse
c9157be3fe iptables-related plugins: use "-w" for consistent results
The parameter "-w" forces iptables to wait for a lock before
printing data.

The parameter requires iptables 1.6 (released 2015).

See https://github.com/munin-monitoring/munin/issues/586
2018-02-24 22:58:50 +01:00
sumpfralle
0b07e636e2
Merge pull request #901 from Cyclenerd/nvidia_gpu
Nvidia GPU utilization
2018-02-24 14:34:12 +01: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
sumpfralle
f5418e4553
Merge pull request #900 from htower/master
Skip holded packages
2018-02-22 00:07:36 +01:00
Anton Anikin
8ea8a4c81e Skip holded packages 2018-02-21 23:06:04 +08:00
sumpfralle
1649e36c3d
Merge pull request #899 from batmac/patch-1
update wifi_signal to correct a typo
2018-02-17 20:23:19 +01:00
batmac
1f99e53ccc
update wifi_signal to correct a typo
trivial change, needed to have  the right marker to enable autoconf
2018-02-17 19:39:54 +01:00
sumpfralle
e621e6af87
Merge pull request #897 from poiuty/patch-1
fix documentation for symlink
2018-02-04 05:27:15 +01:00
poiuty
c2513bd2e7
fix symlink 2018-02-04 04:37:23 +03:00
Dobrica Pavlinusic
bbec1ffb43 count failed disks and report critical warning 2018-01-28 15:28:00 +01:00
Lars Kruse
35b8cdd641 Merge various improvements for "nginx_error" plugin 2018-01-20 01:52:19 +01:00
Lars Kruse
a4882b1912 nginx_error: enable 'set -eu' flags for shell 2018-01-20 01:50:18 +01:00
Lars Kruse
24ea5d29e9 nginx_error: improve documentation 2018-01-20 01:50:18 +01:00
Lars Kruse
7ed71b441d nginx_error: add support for 'dirty config' capability 2018-01-20 01:50:18 +01:00
Lars Kruse
0e864944d7 nginx_error: improve readability of array accesses 2018-01-20 01:50:18 +01:00
Lars Kruse
8a68200a67 nginx_error: fix style issues reported by shellcheck 2018-01-20 01:50:18 +01:00
Lars Kruse
808a21d4fb nginx_error: improve readability of symlink configuration code 2018-01-20 01:50:18 +01:00
Lars Kruse
f4c192469f nginx_error: introduce real version number 2018-01-20 01:50:18 +01:00
Pierre-Alain TORET
452003a398 Update tor_ plugin author
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2017-12-15 14:47:29 +01:00
Henti Smith
6d50ab4900 Check node offline status using boolean
The previous behaviour checked offline status using a regular
expression. Jenkins 2 uses a boolean value
2017-11-09 09:57:39 +00:00
Henti Smith
50e8e27722 Added recursion to jenkins_
The previous behaviour ignored the folder structure in Jenkins 2.
2017-11-09 09:54:57 +00:00
sumpfralle
1bba76b53b Merge pull request #880 from bertptrs/pacman_update
Add specific updates to extinfo field.
2017-10-05 20:58:23 +02:00
Bert Peters
b5e31b6612 Clean up pacman_pending_updates.
No more environment variables since those can easily be configured with
regular munin settings.

Properly quote all strings.

No longer use temp files for holding update information; instead hold it
all in a variable.
2017-10-05 11:28:15 +02:00
Bert Peters
e9150b1892 Add specific updates to extinfo field. 2017-10-03 11:08:25 +02:00
sumpfralle
8e7e009f90 Merge pull request #878 from janegilv/master
Fix kvm_ plugins
2017-10-01 13:23:42 +02:00