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

4758 commits

Author SHA1 Message Date
Christian Weiske
99763204d5 Add dd-wrt-wifi-devices plugin
.. to monitor the number of connected WiFi devices on a DD-WRT based router
2022-03-11 13:19:09 +01:00
Lars Kruse
3ac71f4c23
Merge pull request #1284 from shtrom/snmp__fixes
Snmp  fixes
2022-03-11 13:17:26 +01:00
Lars Kruse
0781145f49
Merge pull request #1296 from cweiske/http_responsecode-host_name
[http/http_responsecode] Add support for host_name
2022-03-09 15:53:24 +01:00
Olivier Mehani
ada3160e9c snmp__if_combined: use instance name in graph titles
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-03-08 21:34:55 +11:00
Lars Kruse
a92de3b8dd
Merge pull request #1293 from ap-wtioit/master-improve_certificate_file_expiry_github
certificate_file_expiry: enable monitoring inline openvpn certificates
2022-02-26 23:12:09 +01:00
Tim Bond
fede598cb8 Update apt_ubuntu to display integers instead of floats 2022-02-26 20:01:02 +01:00
Andreas Perhab
d9701b4f6a certificate_file_expiry: add option to ignore unexpanded patterns
this helps use the same configs on multiple nodes where not all the
patterns expand to existing files on all of them or when files are not
yet existing
2022-02-21 10:34:31 +01:00
Andreas Perhab
4b8b098288 certificate_file_expiry: enable checking openvpn in config certificates 2022-02-21 10:34:31 +01:00
Andreas Perhab
f0d5df2902 certificate_file_expiry: re-enable old defaults for warning and critical
those were accidentially removed in
76170d2745
2022-02-21 10:19:41 +01:00
Christian Weiske
7d381e70f3 [http/http_responsecode] Add support for host_name 2022-02-19 06:25:34 +01:00
Christian Weiske
3c4321327c Use user-agent and proxy for http_request_time autoconf
Otherwise autoconf might not succeed.
2022-02-18 16:15:41 +01:00
Doctor
c909c07561 Add documentation 2022-01-26 18:35:51 +01:00
Doctor
38a07950d4 Add environment for variables with default values 2022-01-26 18:35:51 +01:00
Michael Grote
f3c8d9519f Expanded Docs for dnsresponse_ 2022-01-23 13:53:12 +01:00
Olivier Mehani
b14e2347f4 snmp__if_combined: add env.stackedMax to work around sum spikes
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-01-18 22:35:54 +11:00
Olivier Mehani
baf24f9c94 snmp__if_combined: don't set max speed if reported as 0
Some SNMP implementations actively report the interface speed as 0 (e.g., when disconnected). This led the plugin to report both min and max to be 0, which later confuses RRDTool, with errors such as

    [ERROR] Unable to create '/var/lib/munin/example.net/192.2.0.1-snmp_if_combined_vlan-37-send-d.rrd': failed to parse data source 600:0:0: min must be less than max in DS definition

when trying to creates the RRDs. Ultimately, this would prevent the graph creation from suceeding with errors such as

    [ERROR] In RRD: Error updating /var/lib/munin/example.net/192.2.0.1-snmp_if_combined_vlan-37-send-d.rrd: opening '/var/lib/munin/example.net/192.2.0.1-snmp_if_combined_vlan-37-send-d.rrd': No such file or directory

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-01-18 22:35:54 +11:00
Olivier Mehani
4262dc8564 snmp__if_combined: add support for multiple instances
This allows to split the data into smaller groups, e.g., per ifType.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-01-18 22:35:53 +11:00
Olivier Mehani
387bb863f1 snmp__mikrotik: unify titles and category
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-01-18 22:35:53 +11:00
Doctor
d212e1264d Fix chmod for exodus/exodus_ plugin 2022-01-09 23:16:06 +01:00
Codimp
3c20ac15f4
[exodus_] Add plugin to monitore number of applications, reports and trackers (#1286)
Add monitoring of count for applications, reports and trackers of an
exodus instance.
2022-01-09 16:30:37 +01:00
Olivier Mehani
38f3a4297e [wunderground_] Fix windChil and heatIndex in root graph
The data was incorrectly loaned from a `temp` subgraph, which should
have been `temperature`.

This led to errors during munin-graph, as follow

    [ERROR] Failed to find windChill source at temp.windChill, skipping field
    [ERROR] Failed to find heatIndex source at temp.heatIndex, skipping field
    [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Munin/Master/Utils.pm line 1149, <GEN1> line 1728.
    [ERROR] filename is empty for $VAR1 = {
      '#%#name' => 'windChill',
      'graph_data_size' => 'normal',
      'label' => 'Wind chill [°C]',
      'update_rate' => '300'
    };
    , temp.windChill
    [PERL WARNING] Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Munin/Master/Utils.pm line 1149, <GEN1> line 1728.
    [ERROR] filename is empty for $VAR1 = {
      '#%#name' => 'heatIndex',
      'graph_data_size' => 'normal',
      'label' => 'Heat index [°C]',
      'update_rate' => '300'
    };
    , temp.heatIndex

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2022-01-06 21:47:29 +01:00
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