Commit graph

3662 commits

Author SHA1 Message Date
Lars Kruse
3706fe0051 Merge branch 'travis-tests'
Fix problems with travis environment.
2018-03-08 23:18:14 +01:00
Lars Kruse
a639d4b447 travis: explain change of perl environment
more details can be found in the discussion regarding this change:
  https://github.com/munin-monitoring/contrib/pull/853
2018-03-08 23:17:55 +01:00
Lars Kruse
81c1afa7ba perl: switch to system-wide perl 2018-03-08 23:17:55 +01:00
Lars Kruse
34c2ca4dcd remove perl 2018-03-08 23:17:55 +01:00
Lars Kruse
42c8483c4f travis: assemble module search path for mixture of cpan and apt modules 2018-03-08 23:17:55 +01:00
Lars Kruse
5eb8251fa6 travis: upgrade distribution to Ubuntu trusty 2018-03-08 23:17:55 +01:00
Lars Kruse
a3d0fc15d9 travis: Switch installed via cpan 2018-03-08 23:17:55 +01:00
Lars Kruse
c01fb0a904 travis: libsys-virt-perl installed via apt 2018-03-08 23:17:55 +01:00
Lars Kruse
a836f07d56 nginx_byprojects: use more compatible perl expression
"%ENV{foo}" does not work with older perl versions (e.g. v5.14).
2018-03-08 23:17:40 +01:00
Lars Kruse
74b58a592a perl modules: fix braces for loop array 2018-03-08 04:49:45 +01:00
Lars Kruse
22523e8f5b snmp__netscaler_cpu: unified whitespace in 'config' 2018-03-08 04:45:00 +01:00
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
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