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

3345 Commits

Author SHA1 Message Date
Lars Kruse
4bd1dd52e7 olsrd: add example graphs 2018-04-04 05:40:13 +02:00
Lars Kruse
04b9fc0463 olsrd: various improvements
* support dirty config
* add perldoc header
* flake8 and shellcheck clean
2018-04-04 05:40:13 +02:00
Lars Kruse
9a6d3e449f wireless_signal_noise_: add example graph 2018-04-04 05:40:13 +02:00
Lars Kruse
42f09647f2 wireless_signal_noise_: various improvements
* add perldoc header
* support dirty config
* support "arp" (tool) and /proc/net/arp
* fix autoconf handling
2018-04-04 05:40:13 +02:00
Lars Kruse
97a1b23287 rename wifi_signal_noise_ to wireless_signal_noise_ (upstream name) 2018-04-04 05:40:13 +02:00
Lars Kruse
8c05462d6e wireless_channel_occupation_: add example graph 2018-04-04 05:40:13 +02:00
Lars Kruse
c67420d8aa ath9k: add example graphs 2018-04-04 05:40:12 +02:00
Lars Kruse
127f42aa05 ath9k_: various improvements
* support DFS events
* support dirty config
* fix autoconf
* improve micropython usage
* add support for older kernel modules
2018-04-04 04:22:54 +02:00
Lars Kruse
b182abfd52 move "ath9k_" from network to wifi 2018-04-04 04:20:08 +02:00
Lars Kruse
495d96735a wireless_channel_active_: add example graphs 2018-04-04 04:18:51 +02:00
Lars Kruse
0fad0a30bb wireless_channel_occupation_: move from "network" to "wifi" 2018-04-04 04:17:08 +02:00
Lars Kruse
50dd7cc94e wireless_channel_occupation_: various improvements
* add documentation header
* support dirty config
* fix shellcheck issues
2018-04-04 04:09:41 +02:00
Nils
6a0a0c8d58 use json.loadS 2018-03-30 20:56:12 +02:00
Nils
6ff34af50e set U as default 2018-03-30 14:16:57 +02:00
Nils
8a72386a30 print magic value U if error 2018-03-30 09:58:14 +02:00
Lars Kruse
2b66ed321e plugin xen_cpu_v2: prevent "divide by zero"
Closes: #475
2018-03-30 04:10:14 +02:00
Lars Kruse
e7eb28869c plugins ssl_ and ssl-certificate-expiry: various improvements
* simplify date parsing: use "date" instead of awk's "mktime" (requires gawk)
* simplify structure
* use the same function (copy'n'paste) for both plugins

Closes: #893
2018-03-30 01:53:48 +02:00
sumpfralle
414955f94c
Merge pull request #885 from daftaupe/syncthing
Add syncthing plugin
2018-03-29 20:20:01 +02:00
Pierre-Alain TORET
e541294f9f Clarify the non-declared env variables
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-29 13:15:44 +02:00
Nils
e2db693c0d codecs.getreader ("utf-8") added again
without python3.4 fails
2018-03-29 08:50:21 +02:00
Nils
727fc7180d better except 2018-03-29 08:41:32 +02:00
Nils
d809d138b1 exit if api failed 2018-03-29 08:39:20 +02:00
Nils
f27fc67ccf reader removed 2018-03-29 08:37:53 +02:00
Nils
21341b5a00 python3 only 2018-03-29 08:11:59 +02:00
Lars Kruse
95e2c12485 plugin categories: fixed emc_vnx_file_ and opentracker_ 2018-03-29 02:54:31 +02:00
Lars Kruse
2449118cb7 plugin multiping_async: move to 'network'; fix filename 2018-03-29 02:14:50 +02:00
Lars Kruse
31ee164e76 plugin percona_: fix python style; python3 compatibility 2018-03-29 02:14:50 +02:00
Lars Kruse
63748dc665 plugin relayd: fix category spelling 2018-03-29 02:14:50 +02:00
Lars Kruse
6c59a8971b plugin snmp__juniper: change category from "system" to "fw" 2018-03-29 02:14:50 +02:00
Felix Pahlow
167c204db2 Munin ILIAS plugin: First release 2018-03-28 16:23:34 +02:00
Vincas Dargis
29dd82be36
Fix du-2 to use clean_fieldname()
Update du-2 to fix "No .label provided" error by using clean_fieldname().
2018-03-28 11:43:28 +00:00
Pierre-Alain TORET
44d57dcb7f Fix 2 forgotten backslashes
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-28 10:56:34 +02:00
Lars Kruse
87927d194c plugin apt_ubuntu: various improvements
* fix category parsing for plugin gallery
* python3 compatibility
* zero exitcodes for autoconf failures
* PEP8 clean
2018-03-28 05:57:02 +02:00
Lars Kruse
8e3f1d8865 plugin ksm_: various improvements
* category can be parsed by plugin gallery
* python3 compatible
* more precise autoconf messages
* PEP8 clean
2018-03-28 05:47:36 +02:00
Lars Kruse
62df69c566 plugin cpanp_o: change category from 'other' to 'security' 2018-03-28 04:55:01 +02:00
Lars Kruse
42221b85eb plugin approx: move from 'approx' to 'apt' 2018-03-28 04:50:56 +02:00
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