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

4737 commits

Author SHA1 Message Date
Michael Grote
8061bfcf2b
Add zswap Plugin 2021-12-31 19:31:32 +01:00
Olivier Mehani
94066132ce
[ssl-certificate-expiry] add env.skip_cert_hashes to skip certificates
This fix allows to skip validity checks on any intermediate certificate
which subject hash appears in the list.

Let's Encrypt certificates are cross-signed by both DST Root CA X3 and
ISRG Root X1. DST Root CA X3 has expired on 2021-09-30 [0], which causes
the plugin to incorrectly report some full-chain LE certificates as
expired.

[0] https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-12-31 19:26:58 +01:00
Olivier Mehani
02451d8f6e [whois] Allow to specificy whois server per domain
Also, clean up some old code that pre-dates multi-domain handling

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-12-31 03:13:12 +01:00
Michael Grote
ca8ce74367 chmod +x for ksm 2021-12-28 17:59:43 +01:00
Sebastian L
0a13d5c2e4 murmur-stats: Enhancements
- python3 compatibility
- multigraph
- added muted/registered/unregistered users
2021-12-28 17:59:14 +01:00
Sebastian L
63f8552ae6 quake/qstat: enhancements
- dash
- bots
- configurable binary
2021-12-21 12:16:15 +01:00
Michael Grote
adcc2f54e6
added new plugin: "kernel_same_page_merging" (#1271) 2021-12-21 12:13:42 +01:00
Michael Grote
db27ad4597 repaired perldoc header: zfs_fragmentation 2021-12-13 14:40:48 +01:00
Michael Grote
f63321c567 repaired perldoc header: zfs_pool_dataset_count 2021-12-13 14:40:48 +01:00
Michael Grote
d41a94b184 repaired perldoc header: zfs_list 2021-12-13 14:40:48 +01:00
Michael Grote
c39639b450 repaired perldoc header: mikrotik_system 2021-12-13 14:40:48 +01:00
Michael Grote
09d6135a6d repaired perldoc header: proxmox_vm_count 2021-12-13 14:40:48 +01:00
Lars Kruse
00cbc8d37e Merge branch 'enhance_mikrotik_system_with_error_return' 2021-12-12 21:46:29 +01:00
Younes Ichiche
3e83f451d0 fix get_ros_version function 2021-12-12 21:45:30 +01:00
Younes Ichiche
f7282a83d4 fix missing quote 2021-12-12 21:45:30 +01:00
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