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

4772 commits

Author SHA1 Message Date
Younes Ichiche
7405ade2b1 regex grep didnt made sense 2021-12-12 21:45:30 +01:00
Younes Ichiche
79706f9da7 convert get_name to a fallback function where board-name is first selected and if the name is set, then tat one will be used + trimming 2021-12-12 21:45:30 +01:00
Michael Grote
38649d3179 translated comments form german to englisch 2021-12-12 21:45:30 +01:00
Younes Ichiche
74b7eb2a46 get the correct name from the routerboard and replace all special characters with _ 2021-12-12 21:45:29 +01:00
Younes Ichiche
3dd16cc568 represent the memory as a floating point with 0 after the dot so it will be rounded and not floored 2021-12-12 21:45:29 +01:00
Younes Ichiche
58dbb4d0b6 added the source for the catch function 2021-12-12 21:45:29 +01:00
Younes Ichiche
9c3855beb8 adapt awk with variable + fix memory and disk multigraph name to align 2021-12-12 21:45:29 +01:00
Younes Ichiche
b43ec018dc use printf and pass variable to awk 2021-12-12 21:45:29 +01:00
Younes Ichiche
3790d20179 remove double catch function 2021-12-12 21:45:29 +01:00
Younes Ichiche
144f333cf0 use integers + fix bad blocks to be 5% max then the mikrotik needs to be reinstalled 2021-12-12 21:45:29 +01:00
Younes Ichiche
ee4f4ce22f add catching of error code on ssh 2021-12-12 21:45:29 +01:00
Nathaniel Clark
8654230bb2 Fix review comments
Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
2021-12-12 21:19:30 +01:00
Nathaniel Clark
b85c9aec3b arris-sb6183: Fix int32 wrapping in WebUI
When error counts wrap they are displayed as int32 and negative.
Recast them to uint32 to fix math.

Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
2021-12-12 21:19:30 +01:00
HaseHarald
1977235fd5 [minecraft-users-ram] Fix several bugs in plugin minecraft-users-ram_
Fixes:
- Make playercount work on non english systems
- Avoid getting an invalid PID if not run with sufficient permissions
- Fix getting CPU usage

Enhance:
- Clearify that CPU usage is in percent
2021-12-12 21:12:17 +01:00
Michael Grote
4612c1bc90
plugin zfs_list: add "ignore_datasets_pattern" configuration
Allow to ignore certain volumes.
2021-12-12 20:59:52 +01:00
Doctor
87280ed7c3 Fix urllib request decoding 2021-12-12 19:26:30 +01:00
HaseHarald
16d38264aa [btrfs_device_usage] fix division by zero when btrfs pool is unhealthy
During certain situations, a device in the btrfs pool can show a total
capacity of 0 bytes. This is aspecially true when replacing or removing a
failed disk.

This fix stops the plugin from crashing in that situation but just report
the devices percentage as unknown (U). That way other devices in the pool
stil can be monitored.
2021-12-12 13:20:43 +01:00
Andreas Perhab
fea81596eb certificate_file_expiry: optional logarithmic view for long lived certs
logarithmic was removed in d885a314ad
but still has it's benefits for openvpn CA and CRL certs. when enabling
logarithmic we keep the SI units now instead of rrdtools default
scientific notation.
2021-12-04 02:30:02 +01:00
Andreas Perhab
fd2fb560fb bind95_: report 0 values for not found lines 2021-12-02 17:16:51 +01:00
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