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

4775 commits

Author SHA1 Message Date
xkill
72d1198553 Update vsftpd-rel: use mktemp
Use mktemp instead tempfile, as tempfile is deprecated.
2022-05-24 23:13:14 +02:00
Codimp
84def98b95
[irc2] Add port and SSL/TLS support, add IPv6 env variable (#1308) 2022-05-24 23:06:55 +02:00
Michael Grote
9c17efc39b
Fix mikrotik_system - temp + voltage (#1307)
* Fix awk search-term for ROS7*

Value could be named "temperature" or "cpu-temperature". Tested with 
RB5009, hex, CRS309, CRS305.

Search value without :.
Check different values in different ROS-Versions.
Tested with RB5009, hex, CRS309, CRS305.
2022-04-24 20:15:57 +02:00
Lars Kruse
eba742cea2 Plugin olsrd: port to python3 and support micropython without micropython-lib
The code was python3-compatible before, thus it was just a matter of
changing "python" to "python3".

The micropython approach previously relied on micropython-lib being
installed.  Now the basic micropython package (on OpenWrt) is
sufficient.
2022-04-13 05:11:57 +02:00
sdarwin
76d875fd55 Use AREASTACK parameter 2022-04-12 23:59:44 +02:00
sdarwin
cdccc5aef6 Update memory_osx plugin 2022-04-12 23:59:44 +02:00
Nathaniel Clark
04c0dc3ca5 [arris-sb8200] Add plugin to support Arris SB8200 cable modem
This adds a plugin that supports the Arris SB8200 cable modem
- Uptime
- Downstream error counts
- Downstream Signal-to-Noise ratio (dB)
- Downstream & Upstream Power (dBmV)

Signed-off-by: Nathaniel Clark <Nathaniel.Clark@misrule.us>
2022-04-05 13:13:26 +02:00
HaseHarald
bdec9c4a33 [system/linux-psi] Rename pressure plugin to linux_psi and minor improvements
Address several issues regarding the psi-plugin (pressure stall information).

Fixes:
- Use local for variables in functions.
- Add fetch as a valid parameter and remove auto.
- Remove double slash in path for get_pressure_value() and quote it.
- Remove line break in return value of get_printable_name().
- Quote variables to avoid splitting/globbing.
- Rename pressure plugin to linux_psi.

References:
- https://github.com/munin-monitoring/contrib/pull/1302
2022-04-01 23:07:42 +02:00
HaseHarald
5389b09abe [system/pressure] Add plugin to monitor pressure stall information (psi)
Adds a plugin to monitor the pressure stall information (psi) as reported by the Linux kernel.

- groups averages per resource
- rate/derive totals for ease of reading
- resources, intervals and scopes configurable

See: https://www.kernel.org/doc/html/latest/accounting/psi.html
2022-04-01 23:07:42 +02:00
Lars Kruse
c293e35216 kvm_io: fix graph failure for specific VM names
Thanks, Michael Grote!

Closes: #1291
2022-04-01 22:55:52 +02:00
Anton Shestakov
e12c8afdb7 chrony: don't resolve IP addresses to hostnames
If we don't want to show any host names in graphs/legend, it makes sense to not resolve them.

I occasionally notice the issue with name resolution of IPv6 addresses on certain networks, which makes `chronyc tracking` take 20+ seconds. Adding -n makes it almost instantaneous.
2022-03-27 20:10:06 +02:00
Lars Kruse
37279214d1
Merge pull request #1298 from coacx/more-dynamic
Improve puppet_runtime plugin.
2022-03-23 02:50:19 +01:00
Kim B. Heino
0b17412c6e nginx_unit: use more human readable scale
Value "2.34M seconds" doesn't mean anything  but "27 days" does.  Use days for process age.
2022-03-23 02:41:14 +01:00
Christian Weiske
87a664e5e6 Add example graphs for dd-wrt-wifi-devices_ plugin 2022-03-20 15:13:04 +01:00
Martin Gebhardt
1f61b7235a
Update DOP and code cleanup 2022-03-12 00:52:12 +01:00
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
Martin Gebhardt
ba142817c7
Add example graph 2022-02-27 17:50:13 +01:00
Martin Gebhardt
452f3f2f4f
Enable dynamic reading of puppet report, independent of operating system and puppet version 2022-02-27 17:49:45 +01: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