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

3309 Commits

Author SHA1 Message Date
Lars Kruse
8d48cab125 plugin approx: various improvements
* python3 compatibility
* return zero autoconf exitcode
* avoid builtin names for variables
* remove cruft comments
* switch to space instead of tabs

All PEP8 issues are fixed now.
2018-03-28 04:45:41 +02:00
Lars Kruse
78d372adf4 Plugin backup: fix quoting 2018-03-28 04:35:49 +02:00
Lars Kruse
34eeebbe37 plugin categories: reorganize multiple plugins 2018-03-28 04:33:45 +02:00
Lars Kruse
5a45d49760 plugin categories: other -> htc (crypto currencies) 2018-03-28 04:31:16 +02:00
Lars Kruse
9995f46c4a plugin categories: other -> cloud 2018-03-28 04:30:14 +02:00
Lars Kruse
4e47cb5d85 plugin categories: other -> sensors 2018-03-28 04:29:25 +02:00
Lars Kruse
1ad3baeb09 plugin categories: other -> voip 2018-03-28 04:28:02 +02:00
Lars Kruse
e79604f7f7 nagios_multi_: fix categories according to well-known category list 2018-03-28 02:40:20 +02:00
Pierre-Alain TORET
e527db57a5 Improve plugins call to status and few other fixes
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-27 18:04:29 +02:00
Pierre-Alain TORET
c594a16484 Add strelay_ example graphs
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-27 16:58:10 +02:00
Nils
4d9a7e2cab Zcash Flypool Hashrate
Munin plugin to monitor your zcash.flypool.org hashrate.
2018-03-27 11:36:14 +02:00
Lars Kruse
6b42464ca7 Plugin deluge_: fix style issues 2018-03-27 05:04:12 +02:00
Lars Kruse
1e717d8901 Plugin swift-dispersion: fix style issues 2018-03-27 05:02:23 +02:00
Lars Kruse
23811e3490 Plugin etherscan_balance_: fix style issues; change to python3 2018-03-27 04:59:57 +02:00
Lars Kruse
86692d7021 Plugin sockstat-via-procfs: fix style issues 2018-03-27 04:56:30 +02:00
Lars Kruse
7f3ce96632 Plugin monit_parser: fix style issues 2018-03-27 04:55:14 +02:00
Lars Kruse
417bebc316 Plugin weather_press_: fix style issues 2018-03-27 04:53:05 +02:00
Lars Kruse
e8dd273047 Plugin bacula_sd: fix type issues 2018-03-27 04:53:05 +02:00
Lars Kruse
9810644390 Plugin prosody_: fix style issues 2018-03-27 04:53:05 +02:00
Lars Kruse
585f6f1539 various plugins: fixed small style issues 2018-03-27 04:53:05 +02:00
Lars Kruse
47a97d56fa Plugin glance_size_: fixed style issues 2018-03-27 04:30:53 +02:00
Lars Kruse
e216f1be01 Plugin: weather_temp_: fix style issues 2018-03-27 04:21:46 +02:00
Lars Kruse
34840ad9db Plugin weather_: fixes style issues 2018-03-27 04:21:34 +02:00
Lars Kruse
a4a9e755b5 Plugin sphindex_: fix style issues 2018-03-27 04:14:26 +02:00
Lars Kruse
fa896dffaa Plugin bacula_job: various improvements, flake8-clean
* avoid hiding builtins with variable names (input, bytes, str)
* return exitcode=0 for autoconf "no"
* unify indentation
* fix all issues reported by flake8
2018-03-27 04:02:37 +02:00
Lars Kruse
3533998c5b remove executable permissions from example graphs 2018-03-27 00:49:24 +02:00
Pierre-Alain TORET
ba2640da34 Fix shellcheck warnings in strelaysrv_
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-24 20:40:37 +01:00
Pierre-Alain TORET
ccee75e1eb Change variables names to more readable ones in strelaysrv_
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-24 20:40:22 +01:00
Pierre-Alain TORET
cc24efff2d Add strelaysrv plugin
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-24 20:39:59 +01:00
Pierre-Alain TORET
f1afd73f71 Fix shellcheck warnings in syncthing_
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-24 20:39:47 +01:00
Pierre-Alain TORET
5d5651ca09 Change variables names to more readable ones in syncthing_
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-24 20:38:33 +01:00
Lars Kruse
6c42d08476 rpi_temp: remove unused variables (causing shellcheck failure) 2018-03-24 16:29:44 +01:00
Lars Kruse
f360f189fd rpi_temp: remove dependency on 'bc' 2018-03-24 16:28:06 +01:00
Lars Kruse
82f76ceafb multicpu1sec: move back to proper location; fix example graph filenames 2018-03-24 06:11:31 +01:00
Lars Kruse
989f09e66c rename plugin example graphs for plugin gallery visualization
Some example graphs did not follow the naming convention required by the
plugin gallery.
2018-03-24 04:03:08 +01:00
Pascal Seeland
051ee8eae7 Add Munin ILIAS plugin 2018-03-19 11:48:00 +01:00
Bert Peters
bda54ebba2
Fix broken link in plugin README
Missing protocol caused it to link to a nonexistent place on github.
2018-03-15 10:48:41 +01:00
sumpfralle
0bc714aa29
Merge pull request #844 from mxjeff/missing_apiid
Add missing appid in URL
2018-03-14 00:25:14 +01:00
Lars Kruse
e59e2d0151 move plugin documentation to separate README 2018-03-10 18:18:11 +01:00
Lars Kruse
f08727035f solaris-memstat: fix shellcheck issue 2018-03-09 06:09:54 +01:00
Lars Kruse
8fa7e61b43 quake plugins: fix shellcheck issues 2018-03-09 05:32:16 +01:00
Lars Kruse
c4c73eae4c zfs_usage_: explain the slash/underscore substitutions
see 608a2a5ad7
2018-03-09 03:55:41 +01:00
sumpfralle
413f7c444d
Merge pull request #875 from yoe/patch-1
Allow for _ in original dataset name
2018-03-09 03:48:16 +01:00
sumpfralle
ad5e7ad3f7
Merge pull request #896 from dpavlin/master
count failed disks and report critical warning
2018-03-09 02:55:09 +01:00
sumpfralle
99040569e0
Merge pull request #714 from inbaz/master
fixed naming for multiple GPUs in amd_gpu_; adjusted lower limit for …
2018-03-09 02:46:10 +01:00
Lars Kruse
7c62b9b6de added executable permission for multiple plugins 2018-03-09 00:18:30 +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
Andi Nitsche
620526a2d8
Update amd_gpu_ 2018-03-08 12:11:32 +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
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
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
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
Anton Anikin
8ea8a4c81e Skip holded packages 2018-02-21 23:06:04 +08: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
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
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
adrianp
abe4cea99d Add support for monitoring packets and link status for TPLink SG108E switches 2018-01-18 10:44:07 +02: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
Pierre-Alain TORET
99123efbb8 Make syncthing_ more portable
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2017-12-13 19:46:47 +01:00
Pierre-Alain TORET
6ee4fc8d30 Add syncthing plugin 2017-11-15 13:54:43 +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
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
Jan Egil Vestbø
67d6e559ec Read correct values from /proc/net/dev 2017-09-30 17:44:16 +02:00
Jan Egil Vestbø
621744a6f0 Includes more kvm-processes 2017-09-30 17:42:37 +02:00
Bas Couwenberg
a86de7871a Use exit status 0 for autoconf, provide reason for 'no' answer. 2017-09-29 10:20:40 +02:00
Bas Couwenberg
f9426daca5 shellcheck fixes for pdns-recursor plugins. 2017-09-29 09:34:25 +02:00
Bas Couwenberg
9aa6d7e977 shellcheck fixes for pdns-server plugins. 2017-09-29 09:27:34 +02:00
Bas Couwenberg
87d30e5597 Use pdns_control utility instead of pdns init script.
The init script is not usable on systems using systemd (e.g. Debian stretch).
2017-09-28 09:54:22 +02:00
Wouter Verhelst
608a2a5ad7 Allow for _ in original dataset name
The current code escapes / (which is legal as part of a dataset name for ZFS, but illegal as part of a munin graph name) into _ (which is legal for both). The result is that any _ characters in the original filename get changed into / in the legend, which is confusing.

Fix by escaping any existing _ characters into __ first, and then later replacing // into _ again. // is a sequence that will not occur in a ZFS dataset name, so any double-/ sequence must therefore have been a _ originally.
2017-09-18 13:56:29 +02:00
Lars Kruse
a8d117a3f0 olsrd: adjustments for the output format used by olsrd v0.9.5
Changes include:
* use short names for "urls" (e.g. "lin" instead of "links")
* whitespace instead of semicolon used as separators in "mid"
* ignore variable number of header lines
2017-09-11 00:51:49 +02:00
Kai
56bcc8cda1 Add files via upload 2017-08-24 21:59:35 -04:00
Kai
832a58c510 Add files via upload 2017-08-24 12:42:37 -04:00
sumpfralle
61b6e28539 Merge pull request #867 from shakemid/add_zpool_cap
Add zpool_capacity plugin
2017-08-15 20:12:22 +02:00
Neraud
0736033f4d Add executable bit 2017-08-14 11:28:44 +02:00
K.Cima
b2acd0514d Fix for pullreq #867 2017-08-14 12:04:00 +09:00
sumpfralle
8f92eb1715 Merge pull request #847 from shtrom/multi-ssl
[ssl-certificate-expiry] Replace ssl_ with a single graph showing all expiries
2017-08-14 04:43:24 +02:00
sumpfralle
cb868b07bb Merge pull request #866 from shakemid/fix_oracle_plugin
Update oracle_sysstat plugin
2017-08-14 04:34:48 +02:00
K.Cima
3f0af3802a Add zpool_capacity plugin 2017-08-04 17:05:12 +09:00
K.Cima
a6b505540f Add illumos, FreeBSD, Linux support for zfs_arcstats plugin, cleanup code 2017-08-04 16:52:48 +09:00
K.Cima
d0c8e0b0a8 Fix to work autoconf. Cleanup code. 2017-08-04 16:13:58 +09:00
sumpfralle
442bc06d30 Merge pull request #860 from Neraud/deluge
Add deluge_ plugin
2017-08-03 01:13:33 +02:00
Neraud
205205aefd Fix exit code for autoconf
The plugin should always return 0
2017-07-30 09:40:31 +02:00
Neraud
1283bec05e Fix printing error message to stdout when running the plugin 2017-07-30 09:39:56 +02:00
Neraud
f84eee6118 Improve log usage
Migrate to lazy message evaluation
2017-07-30 09:38:26 +02:00
Neraud
ac255fa70d Improve code style 2017-07-30 09:32:02 +02:00
sumpfralle
19597f8022 Merge pull request #848 from shtrom/http_load_multi
[http_load_] Add multigraph support
2017-07-23 14:58:42 +02:00
Olivier Mehani
f4e73b807f [http_load_] Use perldoc
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-07-23 13:46:39 +10:00
Olivier Mehani
81e1966814 [ssl] Remove legacy ssl, and replacement ssl-certificate-expiry
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2017-07-23 13:19:40 +10:00
Lars Kruse
e384268157 [zpool_iostat] added example graphs (by @Rayziltl) 2017-07-22 16:02:25 +02:00
Lars Kruse
14fae65757 [zpool_iostat] keep previous fieldnames 2017-07-22 16:02:25 +02:00
Lars Kruse
aa9a39f043 [zpool_iostat] improve formatting and variable names 2017-07-22 16:02:25 +02:00
Lars Kruse
2ad0dfec78 [zpool_iostat] fix whitespace issues 2017-07-22 16:02:25 +02:00
Lars Kruse
0e5e9cbdfb [zpool_iostat] use backward compatible fieldnames 2017-07-22 16:02:25 +02:00
Lars Kruse
dd9cf0c0b9 [zpool_iostat] change category from 'filesystem' to 'disk' 2017-07-22 16:02:25 +02:00
Lars Kruse
7b2cefa45d [zpool_iostat] add POD documentation 2017-07-22 16:01:45 +02:00
Lars Kruse
77b9a515a5 [zpool_iostat] enable 'exit_on_error' and 'exit_on_unset' via 'set -eu' 2017-07-22 16:01:45 +02:00
Lars Kruse
3e86f2b80a [zpool_iostat] use 'clean_fieldname' and separate function 'get_pool_iostat'
FIeldnames possibly started with a digit before.
Closes: #779
2017-07-22 16:01:45 +02:00
Lars Kruse
9640be3646 [zpool_iostat] remove usage of temporary file 2017-07-22 16:01:45 +02:00
Lars Kruse
64c30de05f [zpool_iostat] autoconf checks zpool executable 2017-07-22 16:01:45 +02:00
Lars Kruse
67af152b9e [zpool_iostat] fix shellcheck warnings 2017-07-22 16:01:45 +02:00
Lars Kruse
806a9172f4 [zpool_iostat] switch from bash to sh 2017-07-22 16:01:45 +02:00
André de Kock
89898512d3 Fixed output of transactions script
The current output of this script is:

root@master:/etc/munin/plugins# ./pg_transactions 
 \ncommits.value xxxx\nrollbacks.value xxxx

By removing the first `\n` and by adding an `E` before the second `\n` the output is:

root@master:/etc/munin/plugins# ./pg_transactions 
 commits.value xxxx +
 rollbacks.value xxxx

And lastly by adding the `--no-align` attribute you get the correct output:

root@master:/etc/munin/plugins# ./pg_transactions 
commits.value xxxx
rollbacks.value xxxx
2017-07-22 11:29:00 +02:00
Neraud
262bee468d Improve config
AREASTACK for states
Fix stacking and negative for bandwidth
2017-07-21 12:37:08 +02:00
Neraud
70d3c5ed02 Change graph_category to the well-known 'filetransfer' 2017-07-21 11:00:01 +02:00
Neraud
0dd06a6b73 Improve doc
- Migrate style to perldoc
- Improve requirements
- Add interpretation
- Add licence
2017-07-21 11:00:00 +02:00
Neraud
2370d4e742 Improve import handling and autoconf 2017-07-21 11:00:00 +02:00
Neraud
1c0739641f Improve code style 2017-07-21 11:00:00 +02:00
Neraud
5fd233c510 Format code according to PEP0008 2017-07-21 10:59:59 +02:00
André de Kock
48b1e5aa6f Allow to specify database password 2017-07-20 18:13:11 +02:00
Neraud
0f88253361 Move deluge_ plugin to a "torrent" folder 2017-07-16 10:43:48 +02:00
sumpfralle
955e8cec90 Merge pull request #858 from geschke/master
New plugin to get result data of Nanopool ethereum mining pool.
2017-07-16 00:47:18 +02:00
Ralf Geschke
e8ff8cf44a minor fixes as suggested 2017-07-15 20:16:44 +02:00
Neraud
69896717af Fix comment format : use spaces instead of tabs 2017-07-13 12:59:05 +02:00
Ralf Geschke
58b1c1ec56 Updates as suggested, fix of worker data view, new symlink structure to support multiple addresses 2017-07-12 12:55:51 +02:00
Neraud
fa8cab86aa Add deluge_ plugin
Initial version can monitor connections, bandwidth and states.
2017-07-08 19:21:01 +02:00
Neraud
331e3da9be Add executable bit 2017-07-08 11:14:15 +02:00
Neraud
9ce70486fc Minor documentation update
Fix the markdown format for Logtail links.
Add the restart munin-node step.
2017-07-08 10:59:33 +02:00
Neraud
a1f7808b9e Add configuration option for the logs setup 2017-07-08 10:57:09 +02:00
Neraud
3a17b22edf Add configuration option for logtail path 2017-07-08 10:54:37 +02:00
Ralf Geschke
5ff95fb5b2 Info of shares graph fixed 2017-07-06 19:47:44 +02:00