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

4703 commits

Author SHA1 Message Date
Kim B. Heino
31db64fefe certificate_file_expiry: label "50" instead of "5e+01"
Scale values were "4e+01, 5e+01, ...". Using linear scale and "48, 50, 52, ..." is much more readable.

Also use shorter vlabel, old one is too long.
2021-12-02 16:38:17 +01:00
HaseHarald
6f70cfc6f8 [sshd_log] Allow for configuration of warning and critical levels
Allows for configuring either general or specific warning or critical
levels, or any combination of that.

This should be backwards compatible, since it doesn't change a thing to
the output, unless specific variables are specified.
2021-11-26 20:54:19 +01:00
Younes Ichiche
6a79efee0a fixed file mode of mikrotik_system + added that it was rtested on RB493G 2021-11-26 18:05:33 +01:00
Sebastian L
0d2bef5ce6 add adguardhome plugin
Display blocking stats, dns queries, client protocols and average
processing time of AdGuardHome
2021-11-19 23:44:33 +01:00
Andreas Perhab
f184607bbc munin_events: fix plugin having too much output
in 56cd2c926c "&> /dev/null" was converted
to posix in an invalid way, should have been ">/dev/null 2>&1"
2021-11-19 23:43:18 +01:00
Michael Grote
74c7fc3d86
add ssh-based mikrotik_system plugin (#1252) 2021-11-18 21:29:53 +01:00
Alois
367a4b3727
munin-libvirtpy now in python3 (#1258)
* works on debian bullseye
* flake8 compatiblity ckecked
* print errors to file=sys.stderr
2021-11-17 14:32:32 +01:00
Alois
b76174718e
kvm_io now in python3 (#1254)
* works on debian bullseye with this modification.
* removed all codestyle issues, checked with "pycodestyle" on debian bullseye, besides two "line too long"
* "config" param must not have newlines to avoid a warning in munin-update.log
2021-11-16 23:13:03 +01:00
Kenyon Ralph
0866add183 chrony_status: fix fetch output for serverstats graph
Was not expecting #1255 to be merged so quickly 🤪. Now the new
serverstats graph has been fully tested and actually works 😉.

This change also doesn't needlessly convert all values to floating
point numbers, instead provides the values to munin in the same format
as they are originally output by chrony.

Also this adds some server stats found in chrony 4.0 (but still works
with 3.4 and probably earlier).
2021-11-15 14:38:20 +01:00
Kenyon Ralph
357c358669 chrony_status: add a serverstats graph
This graph shows packet rates for the chronyd server.
2021-11-14 23:53:33 +01:00
Michael Grote
02630d318c
add zfs plugins (#1250) 2021-11-13 19:53:54 +01:00
Michael Grote
86f2079144 added license to plugin: proxmox_vm_count_plugin 2021-11-13 19:50:40 +01:00
Michael Grote
c1854c05aa
add proxmox_vm_count plugin (#1251)
Count the number of running virtual machines in a proxmox environment.
2021-11-11 11:39:02 +01:00
Dennis Paul
a68ed9a1de
fix(issue #1247): ubiquiti - unifi_api spamming errors (#1248)
Closes: #1247
2021-11-08 15:20:49 +01:00
Tim Connors
60600d6b63 zfs list -t filesystem,volume to suppress snapshots
zfs list might list a bunch of transient snapshots if `zpool
listsnapshots=on` and something like zfs-auto-snapshot is used.  It's
also not useful to graph them since they're unchanging in time, and
the parent volume is graphed anyway.  Limit zfs list to
"filesystem,volume" instead of "all" including snapshots
2021-11-05 22:54:14 +01:00
Kim B. Heino
d7c353b983 nginx_unit: rename from "unit", minor fixes 2021-10-30 00:56:33 +02:00
Kim B. Heino
e6c47a3a4e unit: add new plugin to monitor nginx unit app server
This multigraph plugin does basic monitoring of unit's applications.
See: https://unit.nginx.org/
2021-10-30 00:56:33 +02:00
Andreas Perhab
c6590b6715 letsencrypt_weekly: display by registered domain 2021-10-25 21:18:47 +02:00
Andreas Perhab
b559571668 systemd_mem: fix handling unlimited number on debian stretch 2021-10-25 21:14:25 +02:00
Andreas Perhab
b21206c68c systemd_mem: add env option to monitor all services 2021-10-25 21:14:25 +02:00
Andreas Perhab
b44d8093b9 systemd_mem: add warning and critical from systemd config 2021-10-25 21:14:25 +02:00
Olivier Mehani
35c403ed64 [wunderground_] Allow to disable alerts with env.alerts no
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-10-25 21:12:10 +02:00
Kim B. Heino
520c436ca1 fronius: support jq builds without math library
"round" is part of jq's math support. Some distros (rhel8) don't enable it.
Fortunately round can be emulated with "floor" which is always present in
modern jq.
2021-10-14 19:06:46 +02:00
Andreas Perhab
6408924066 nvme: enable specifying warnings and criticals for serial numbers 2021-10-13 12:34:44 +02:00
Lars Kruse
502348577e Plugin dovecot: remove usage of "expr"
The usage of "expr" can be replaced easily with a shell builtin.
"expr" caused problems due to its hard-coded path.

Closes: #1240
2021-10-13 12:31:27 +02:00
K.Cima
4308f247af
Add switchbotmeterbt plugin 2021-09-22 20:31:26 +02:00
Lars Kruse
d31406451a plugin rsnapshot_duration: avoid "broken pipe" errors from tac
Consume the complete input from "tac".  Otherwise spammy error messages
would appear in the log.
2021-09-19 06:03:06 +02:00
Lars Kruse
818886ba36
Merge pull request #1236 from shakemid/add_switchbotmeter
Add swichbotmeter plugin
2021-08-23 02:57:25 +02:00
shakemid
dd96f1861b Fix switchbotmeter for pullreq https://github.com/munin-monitoring/contrib/pull/1236 2021-08-20 00:07:32 +09:00
shakemid
c21acdf249 Fix switchbotmeter plugin to display deviceid at graph title 2021-08-19 08:59:18 +09:00
Lars Kruse
3934b4d0bd
Merge pull request #1235 from kmkr/master
Improve code readability and consistency
2021-08-19 00:39:49 +02:00
Kris-Mikael Krister
b6cd969be0
Add example graphs for the deluge plugin 2021-08-17 20:59:18 +02:00
Kris-Mikael Krister
edf886e0f8
Reformat deluge_ with black and flake8 2021-08-17 20:55:02 +02:00
shakemid
8f18f1f8bb Add swichbotmeter plugin 2021-08-17 22:48:18 +09:00
Kris-Mikael Krister
99c788031d
Improve code readability and consistency
This commit:

- Changes to Python 3 template string rather than the formatted string
  syntax.
- Calls the Deluge API once per plugin run for the "states" mode, rather
  than once per torrent. Lines of code are reduced. The readability is
  improved too, since the API call is similar to how the "peers" mode
  works.
- Updates the label for the "state" entry "paused" to match it's name in the
  libtorrent API: "stopped". "Queued" is split into "Queued seeding" and
  "Queued downloads" to match the libtorrent API too.
2021-08-11 14:41:27 +02:00
Lars Kruse
398a3ab289 Plugin pacman_pending_updates: switch to simple shell
The plugin did not use any bash-specific features.
2021-08-08 15:55:41 +02:00
Lars Kruse
c2aa56531c Plugin pacman_pending_updates: handle absence of available updates properly
"checkupdates" returns the exit code 2, if no updates are pending.
Previously the plugin did not output anything in this case.

Closes: #1233
2021-08-08 15:55:41 +02:00
Kris-Mikael Krister
13b9078f76 Update the Deluge plugin to handle Deluge 2.x
Version 1.0.0 of this plugin requires version 1 of Deluge. Deluge 2 was
released in June 2019.

This commits bumps the plugin to version 2.0.0.

This plugin has three modes. The modes "bandwidth" and "states" are
working equally to the previous version.  The third mode, "connections",
is changed.

The connections mode previously printed one value: the total number of
connections.  That RPC call is removed in Deluge 2, and I'm instead
using `get_session_status`, which delegates the call to libtorrent [1].
libtorrent is much better documented, so it's easier to work with
compared to Deluge.

"Number of peers" replaces the previous "number of connections", and
I've added half open peers, and peers interested in download and upload
slots to the same graph.

[1]. https://libtorrent.org/manual-ref.html#session-statistics
2021-08-08 15:27:36 +02:00
Lars Kruse
0ab2cff07c
Merge pull request #1058 from jtsage/add-template-munstrap4
Add "munstrap4" template.
2021-08-08 15:10:53 +02:00
Lars Kruse
49b4197670 Plugin rtom_allsessions_vol: remove unused fields
These fields were never used.

Thanks, Matt Merhar!
2021-08-08 15:08:18 +02:00
Matt Merhar
9c8415ef7e rtom_vol: remove unused config parameters
Since there are no associated values for 'hashing', 'seeding', and
'active', a warning is seen in munin-update.log every time this plugin
is fetched.
2021-08-08 15:07:06 +02:00
Christian Neumann
d6ed84a784 nvidia_gpu: fix units of Rx/Tx throughput (multiple gpus) 2021-07-27 23:59:42 +02:00
Andreas Perhab
323f69fd86 bind9_*_stats: fix using env variable stat_file
previously only stat_file would only be used for data cleanup not for
fetching the data. also fixed some shellcheck warnings.
2021-07-25 06:06:46 +02:00
kaihen
07e747a1e8 Fix for docker_containers 2021-07-22 13:58:03 +02:00
Lars Kruse
07220eebae
Merge pull request #1221 from shtrom/snmp__if_combined-stacked
Snmp  if combined stacked
2021-07-20 16:26:08 +02:00
Olivier Mehani
ecb1d34814 [snmp__if_combined] Reindent 2021-07-20 11:08:49 +10:00
Olivier Mehani
6ac458ace1 [snmp__if_combined] Add support for stacked series in root graph
From a summary comment in the code:

    If a stacked graph is requested, plot the total. Rather than
    aggregating them with CDEFs of SUMs, we sum them in the script, which
    allows us to create real series than can be easily borrowed by other
    loaning graphs.

Those series are recv_bits and send_bits.

There are longstanding bugs with them (dating back to snmp__if). This
has been documented, as well as some potential ad hoc fixes for the
data.

Some outdated bug were also removed from the doc.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-07-20 11:08:49 +10:00
Olivier Mehani
61473dfdb0 [snmp__if_combined] fix error value
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-07-20 08:29:11 +10:00
Olivier Mehani
57965df514 [snmp__if_combined] Fix issue with extrainfo
It was not collected / shown in the right spot, resulting in incorrect
information being shown.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-07-20 08:29:11 +10:00
Olivier Mehani
6bb4a57983 [snmp__if_combined] Fix All interfaces titles so they are better grouped in category views
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-07-20 08:29:11 +10:00