1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00
Commit graph

4472 commits

Author SHA1 Message Date
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
Olivier Mehani
a731424cf0 [plugins/weather/wunderground] Add plugin to query station data from Weather Underground
It's a bit backwards, but works a treat when you don't own the station
but want the data in a better format.

Includes warnings on UV and heat indices, and visible lines for wind
direction and indices.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-07-12 18:28:14 +02:00
Gunnsteinn Þórisson
7dc76c873f Replace split with explode
`split` was deprecated in PHP 5.3.0 and removed in PHP 7.0.0, `explode`
is a drop-in replacement.
2020-07-08 21:34:22 +02:00
Rowan Wookey
54c9563274 Modified http_request_time to allow specifying a user agent
Similar to other settings for this plugin, there is a new
env.urlN_agent setting which allows specifying a user agent
2020-07-08 21:23:15 +02:00
moisseev
b3b8eed7dd Plugin freeipmi: fix temperature warnings for HP iLO2 2020-05-29 13:45:42 +03:00
moisseev
35e90ac37d Plugin freeipmi: add Intel BMC power sensors support 2020-05-29 13:23:53 +03:00
moisseev
e8718d4302 Plugin freeipmi: add env var for driver type
For instance, HP iLO requires LAN_2_0 driver
2020-05-29 10:33:31 +03:00
Olivier Mehani
e254623ba1 [plugins/transmission] Fixups for consistency
Use standard colours for the transmission_activity plot (but keep a
darker one for paused torrents).

Also, remove the ${host} from the graph_title, and add it in the
graph_info, for better groupability.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-05-27 18:02:28 +10:00
Lars Kruse
31f64337b6 Plugin sabnzbd_*: fix compatbility with SABnzbd 3.x
The change is probably compatible with SABnzbd 2.x, as well.

Thanks, waywit for the change proposal.

Closes: #1082
2020-05-16 17:05:00 +02:00
Doctor
24f4883777 Change regex to match "prepend" pattern 2020-04-29 18:00:24 +02:00