Commit Graph

4413 Commits

Author SHA1 Message Date
Steve Schnepp e66faac0cc
Merge pull request #1002 from steveschnepp/dump_node
Dump node
2020-10-01 20:41:05 +02:00
Steve Schnepp 3e7d7308cf
Quoting vars 2020-10-01 20:40:43 +02:00
Nathaniel Clark 09b145cb85 Cleanup page decode
Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
2020-09-26 12:59:47 +02:00
Nathaniel Clark 76b4675d1b Fix flake warnings
Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
2020-09-26 12:59:47 +02:00
Nathaniel Clark 77e5305923 Merge both SB6183 plugins
Add more error handling for bad status from modem

Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
2020-09-26 12:59:47 +02:00
Nathaniel Clark 7b07874918 Address review comments
Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
2020-09-26 12:59:47 +02:00
Nathaniel Clark 13e4b4aa94 Fix spelling in comments
Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
2020-09-26 12:59:47 +02:00
Nathaniel Clark 1671e3566d Add plugins for Arris Cable Modem SB6183
This provides two plugins:
* arris-sb6183 - Power levels, SNR, error counts
* arris-sb6183_uptime - Uptime in days

These are two seperate plugins because it's two different
urls it needs to hit, and this seemed simpler.

arris-sb6183 provides multigraphs for each channel.

Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
2020-09-26 12:59:47 +02:00
Lars Kruse d7f54f3ed2 Fix utf8 encoding of author names 2020-09-23 22:22:54 +02:00
Lars Kruse 0ff03ad469 Remove dummy plugins containing only references to external repositories 2020-09-23 05:06:01 +02:00
Lars Kruse 7f789c47cd
Merge pull request #1122 from shtrom/plugin/docker_improvements
[docker_] Fix a few bugs
2020-09-19 02:24:58 +02:00
Olivier Mehani 109144ded5 [docker_] Get CPU count from os.cpu_count() everywhere
Docker-py and os.cpu_count() disagree on the count, leading to data
going beyond the scale of the graph. As Docker-py seems to have dummy
CPU data in the stats, we instead always rely on Python's CPU count.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-18 12:11:43 +10:00
Olivier Mehani 5bb9b46e08 [docker_] Fix network extinfo
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-18 08:03:18 +10:00
Olivier Mehani b1e3e601fe [docker_] Fix missing f-string
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-17 23:17:43 +10:00
Lars Kruse 11861370c4
Merge pull request #1117 from shtrom/nextcloud_fixups
various fixups of the Nextcloud plugin
2020-09-13 20:48:50 +02:00
Lars Kruse 6906c857cd
Merge pull request #1115 from zivillian/kvm_mem
* remove empty line from config (causing an error message)
* switch to python3
2020-09-13 20:46:50 +02:00
Bianco Veigel 6b4a3124c7 switch to python3 2020-09-11 13:15:43 +02:00
Kai c0108c9583 Fixed data for UAP
Data for UAP's is (now?) encapsulated within 'stat'->'ap', changed reference to reflect this change.
Also: Fixed handling of uninitialized values in case they do not exist (// 0).
2020-09-11 04:45:00 +02:00
Olivier Mehani 7dcbc91c7e [nextcloud_] Softer failure on missing data
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-11 10:03:43 +10:00
Olivier Mehani 4ce9e74251 [whois_] Plugin to monitor domain registration expiries
This plugin only monitors one domain per instance, but should be easily
extensible to monitor several at once if need be.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-11 01:16:01 +02:00
Olivier Mehani f47fddf326 [nextcloud_] Add scheme configuration and cleanup autoconf
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-10 22:39:41 +10:00
Olivier Mehani 12cb113403 [nextcloud_] Allow to control warnings on the number of available updates
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-10 22:39:41 +10:00
Olivier Mehani a7d44887e4 [nextcloud_] Use fewer requests to work out the protocol to use
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-10 22:39:41 +10:00
Olivier Mehani 195a733d5d [nextcloud_] Add support for --pidebug, and more parameters
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-10 22:39:41 +10:00
Olivier Mehani 254eb56dde [docker_] Fake functools.cached_property for Python<3.8
Fixes: #1116
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-09 21:43:22 +02:00
ScratchBuild 3226446348 Fix
Fix `printf` and `sprintf` output numbers from %s to %d
2020-09-08 00:43:20 +02:00
Bianco Veigel 2385a6f570 refactoring and python3 compatibility 2020-09-07 19:13:39 +02:00
Martin Schobert bba98f95b3
ssl-certificate-expiry: Feature added: checking intermediate certs as well (#1088) 2020-09-06 22:19:12 +02:00
Lars Kruse 81bdedaf42
Merge pull request #1086 from shtrom/transmission-consistency-fixups
[plugins/transmission] Fixups for consistency
2020-09-06 21:56:39 +02:00
Lars Kruse 1a614fb00d Plugin acpi_batt_: improve perldoc formatting 2020-09-04 01:55:06 +02:00
Olivier Mehani 92483a045b [plugins/transmission] Lint
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-08-31 12:56:14 +10:00
Olivier Mehani 897de1bbba squash! [plugins/transmission] Fixups for consistency
Only show host in title when not localhost
2020-08-31 12:55:40 +10:00
Bianco Veigel 8cb47cbfbb remove empty line from config 2020-08-30 20:57:50 +02:00
Lars Kruse 6a1a9c7c46 Fix wrong "example-directory" names 2020-08-30 00:54:53 +02:00
Lars Kruse 7a00a8b53a plugins/README: mention more style check tools 2020-08-28 14:38:45 +02:00
Lars Kruse 84e0858ba8 README: remove references for subversion 2020-08-28 14:37:08 +02:00
Lars Kruse 047725bc2a README: whitespace adjustments 2020-08-28 14:36:55 +02:00
Lars Kruse bd872f7af1 btrfs_*_usage: add example graphs
Provided by HaseHarald.
See https://github.com/munin-monitoring/contrib/pull/1114.
2020-08-26 03:24:37 +02:00
Lars Kruse c6ad952471
Merge pull request #1114 from HaseHarald/master
[plugins/disk/] Add plugins to monitor btrfs pools on a per device base
2020-08-26 03:18:26 +02:00
HaseHarald 3f92394b23 Touchups on configuration. 2020-08-25 22:01:19 +02:00
HaseHarald 6f0e91f850 Add perldoc-style header. 2020-08-25 20:21:19 +02:00
Lars Kruse 3143c2c576 Tests: apply the exceptions to ruby-based code checks 2020-08-25 17:49:51 +02:00
Lars Kruse 758c3ecdd7 Tests: add ruby style and code checks via rubocop
At the moment all plugins fail the test out of various reasons.
Thus they are exempted from causing test failures.

But future (new) plugins will fail the test and thus indicate the
relevant steps to fix issues before a plugin is included.
2020-08-25 17:44:17 +02:00
Lars Kruse 809639ab65 Ruby plugins: apply code changes as suggested by "rubocop --auto-correct" 2020-08-25 17:44:17 +02:00
Lars Kruse b0b39b018e Ruby plugins: apply style changes as suggested by "rubocop --fix-layout" 2020-08-25 17:44:17 +02:00
Lars Kruse 26c29daa2b t/test-exception-wrapper: fix documentation 2020-08-25 17:44:17 +02:00
Lars Kruse 40827a051a Python plugins: fix style issues 2020-08-25 17:44:17 +02:00
Lars Kruse 3bc9396918 Unify file encodings to UTF8 2020-08-25 17:44:17 +02:00
Lars Kruse 3674882662 Fix spelling mistakes 2020-08-25 17:44:17 +02:00
Lars Kruse d1a69fe25b lint: ignore python's compiled files for codespell 2020-08-25 17:44:16 +02:00