Commit Graph

4375 Commits

Author SHA1 Message Date
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
Lars Kruse 72eeb4155f spelling: change "licenced" to "licensed"
Even though "licenced" is proper (British English) spelling,
"spellcheck" complains about it (probably being focused on American
English).
The change should just clean up the output of the spelling linter and
should not be interpreted as a language preference.
Sorry, (British) folks!
2020-08-25 17:44:16 +02:00
Olivier Mehani 13d5b23442
[plugin/docker_] Improvements to docker_ plugin (#1094)
* Add support for docker_network
* Actually show non running containers counts
* Show intermediate and dangling images counts
* Add warnings on dangling images and dead containers
* Fully support autoconf and suggest
* Add graph_total to the status (thereby making the containers graph
  redundant), CPU and Memory graphs
* Show most graphs as AREASTACK, this allows to get a clearer view of
  both individual and total use
* Use LINESTACK1 to work around munin-contrib/munin#1343
* Include all containers in CPU/Memory/Network config, so data from
  non-running containers is still displayed
* Sprinkle some info and extinfo
* Add ClientWrapper around docker module, providing caching and sorting
* Reverse-engineer author list from git log
2020-08-25 16:17:18 +02:00
HaseHarald bffbc23a4e Fix linting issues. 2020-08-24 21:37:29 +02:00
HaseHarald 675dedf1d4 [plugins/disk/btrfs_device_usage] Reformat linebreaks.
Following suggestions from linting.
2020-08-23 18:17:21 +02:00
HaseHarald f12bfed795 [plugins/disk/btrfs_device_stats] Remove unused variable. 2020-08-23 18:15:40 +02:00
HaseHarald 7d220d0ae6 [plugins/disk/btrfs_device_usage] Fix issues brought up by CI.
- Remove trailing whitespace.
- Add whitespace around operators.
- Add linebreaks to shorten the lines.
2020-08-23 17:45:08 +02:00
HaseHarald 5f88f9ad06 Fix issues brought up by CI.
- Remove trailing whitespace
- Remove unused variable.
2020-08-23 17:34:21 +02:00
HaseHarald 7bf77a008d [plugins/disk/btrfs_device_stats] Add a plugin to monitor device stats from btrfs.
Monitors the different device-counters (mostly for errors) of the disks in a btrfs pool.
2020-08-23 16:43:21 +02:00
HaseHarald 10f2d97ffe [plugins/disk/btrfs_device_usage] Add plugin to monitor btrfs usage on a device level.
Shows the used size of each device in a btrfs pool in bytes and percent.
2020-08-23 16:38:38 +02:00
Kenyon Ralph 6052c56d94 plugins/puppet/puppet_runtime: fix formatting
Used rufo https://github.com/ruby-formatter/rufo
2020-08-23 14:21:37 +02:00
Lars Kruse 852aa41ab7 Remove global flake8 override 2020-08-19 22:47:03 +02:00
pcy 10ca12569a [plugins/mysql/mysql_audit] Added plugin for monitoring the audit log
Shows the number of active over time
2020-08-19 22:44:06 +02:00
pcy 271e21d34e [plugin/user/cronjobs] added plugin to monitor cronjobs
Graphs the number of cronjobs active at a certain moment, per user
2020-08-19 22:43:40 +02:00
pcy 7761514c09 [plugins/git/gitlab_statistics] added plugin to display GitLab stats
Graphs common GitLab statistics (user, repo, fork, ... count) using its
HTTP API statistics endpoint (requires a token to be set and passed to
the plugin)
2020-08-19 22:42:40 +02:00
Andreas Perhab 260c8c8ff4 docker_cpu: fix warnings when docker ps has empty list 2020-08-18 04:15:35 +02:00
Andreas Perhab 0853d409f3 docker_cpu: fix data for container names starting with numbers 2020-08-18 04:15:35 +02:00
pcy a1cff256cd [plugins/dovecot/dovecot] make 'connected users' graph DERIVEable 2020-08-18 04:12:40 +02:00
Lars Kruse 06919f1801 Plugin mysql_disk_by_prefix: remove flake8 override and unused import
The flake8 line was interpreted as "ignore this file".
2020-08-17 16:20:47 +02:00
pcy ee226a609e [plugins/mysql/mysql_disk_by_prefix] Add plugin for DB size by user 2020-08-17 15:51:08 +02:00
pcy 6fdf699575 [plugins/user/procbyuser] added plugin to monitor processes of a user
Graphs the number of processes owned by a user over time
2020-08-17 03:05:11 +02:00
pcy 0031acd637 [plugins/user/cpubyuser] Bugfixes and enhancements
- Fix USERS=ALL only enumerating processes with a tty or pty attached
  (and thus not eg. user-owned FastCGI processes, owned by eg. Apache)
- ps(1) is used to make process list parsing easier and more robust
- OTHERS_FIELD now defaults to disabled
2020-08-17 03:02:52 +02:00
pcy a1c4bcb25a [plugins/user/membyuser] Minor enhancements
Don't use a fixed scale
Use resident set size as measure for a process' memory usage instead
of vsz
More robust username enumeration
2020-08-17 02:46:03 +02:00
pcy 0d6b938c7b [plugins/systemd/systemd_units] Optionally hide extinfo of active services
These services are running fine, so the extinfo would mostly just clutter
the webui while making the extinfo of relevant (i.e. down) services
harder to find.
2020-08-17 02:44:57 +02:00
Michael Fritscher aee6a15240 Fixes quota für zvols. Without this, the log gets spammed with
> 2020/08/16 04:45:24 [ERROR] In RRD: Error updating /var/lib/munin/localdomain/localhost.localdomain-zfs_list_rpool__name-quota-g.rrd: /var/lib/munin/localdomain/localhost.localdomain-zfs_list_rpool__name-quota-g.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert '-' to float
2020-08-17 02:41:54 +02:00
Bianco Veigel 225a9156df add proxmox comment 2020-08-17 02:41:02 +02:00
Bianco Veigel 00f8fce4f8 prevent duplicate graphs and unify line style 2020-08-17 02:41:02 +02:00
Bianco Veigel 113008b06d use name from commandline parameter for kvm 2020-08-17 02:41:02 +02:00
Lars Kruse 8cff506f07 Plugin multi_tcp_ping: gracefully handle DNS resolution problems
Previously the plugin exited with an error, if the target name could not
be resolved.  Now this problem is handled just like an "unreachable"
situation.

Thanks, nitram2342!

Closes: #1091
2020-08-14 22:30:43 +02:00
Rowan Wookey 9e2b918229 Added env to exclude containers from cpu/memory docker graphs
It maybe desirable to not generate stats for ephemeral containers.
This commit adds an env variable EXCLUDE_CONTAINER_NAME which is a regex, if it matches
then the container is excluded from the cpu and memory graphs.
2020-08-14 22:24:56 +02:00
zivillian ca2484b357 extend workaround for multiple dashes 2020-08-14 01:11:08 +02:00
zivillian 58e371308a extend workaround for multiple dashes 2020-08-14 01:11:08 +02:00
Lars Kruse 21379f5841 Add plugin "rsnapshot_duration"
The plugin monitors the duration of rsnapshot backups for each single
backup source.

The duration is parsed from rsnapshot's log file.  The rsnapshot
configuration setting "loglevel 3" is required.
2020-08-07 02:47:10 +02:00
Anton Shestakov ce29a0f7ae hwmon: recognize frequencies
Discovered thanks to an RX 570, which can show sclk and mclk via /sys/class/hwmon.
2020-07-19 18:08:28 +02:00
Lars Kruse bd1302c3f2 Plugin unifi_api: handle missing error fields in response
It seems to be possible, that the response lacks the values for
`rx_errors` and `tx_errors`.  This should not result in warnings due to
undefined values.

Thanks, kboenke!

Closes: #1095
2020-07-12 19:16:31 +02:00
Olivier Mehani 83737c4fe0 [plugins/solar/fronius] Monitor Solar Inverters using the Fronius Solar API
This includes caching of the inverter info with a 12h TTL, so the graph
still renders when the inverter has gone to sleep at night.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>

squash! [plugins/solar/fronius] Monitor Solar Inverters using the Fronius Solar API

Use generic caching function to also cache real-time data. This allows
to avoid N/As overnight, which don't aggregate nicely on the yearly
graph.
2020-07-12 18:30:04 +02:00