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

4790 commits

Author SHA1 Message Date
Sebastian L
8fdb734bfc Fix for clamav plugin
- Add exit 0 at the end, otherwise the plugin fails
2023-01-13 21:15:43 -08:00
Kenyon Ralph
d1807629e8
Merge pull request #1347 from AnTheMaker/patch-1
Fix typos in HAProxy Plugin
2023-01-13 21:14:30 -08:00
An | Anton Röhm
47ad0b2431
Fix another typo 2023-01-13 21:14:06 -08:00
An | Anton Röhm
b9982af42b
Fix typo 2023-01-13 21:14:06 -08:00
Kenyon Ralph
0468886a97
Merge pull request #1335 from darac/gpsd
Add gpsd_ plugin
2023-01-13 21:13:00 -08:00
darac
00a3d064ae
Add gpsd_ plugin
This is a multigraph plugin which graphs various stats from gpsd. Only
enough statistics are graphed to show the _quality_ of the fix, not the
actual fix itself (attempting to protect privacy).

GPSd will report various messages asynchronously (that is, the messages
may come in any order) so, during the collect phase, we emit values as
and when the messages arrive. This should provide the most expedient
response.
2023-01-13 21:11:45 -08:00
Kenyon Ralph
c2c540b737
Merge pull request #1321 from kenyon/gpsd
add gpsd plugin
2023-01-13 21:03:13 -08:00
Kenyon Ralph
c31973d3c8
add gpsd plugin
This plugin graphs dilution of precision and satellite count data from
[gpsd](https://gpsd.gitlab.io/gpsd/).
2022-07-06 11:43:09 -07:00
Kenyon Ralph
e3f08308ab add Tesla Wall Connector plugin 2022-06-25 15:01:56 +02:00
Steve Baroti
d00a5ab56b kvm_*: improve field names
fixed graph failure for VM names starting with digits

used "Validate filednames" Python stanza from docs to improve
clean_vm_name functions, helping graph creations for VM with names
starting with digits, like "150-121-Apache".

remember: each data source in a plugin must be identified by a field
name (in this case VM names). The characters must be [a-zA-Z0-9_],
while the first character must be [a-zA-Z_].
2022-06-22 16:43:40 +02:00
Kenyon Ralph
7869455fcb puppet_runtime: fix perlpod
perlpod needs these blank lines in order to detect and format the
documentation.
2022-06-19 22:14:52 +02:00
Andreas Perhab
8dcc914938 du-2: fix resource consumption when first running the plugin
when installing / first running the plugin, it can take longer than
one munin-update call to create the $TIMEFILE. so until it is created
we assume the $LOCKFILE is not too old yet and let the first run finish
before we spawn additional processes.
2022-06-01 13:29:53 +02:00
Andreas Perhab
a620b1a507 smtp_hello_: reformat metadata 2022-05-30 19:09:40 +02:00
Andreas Perhab
f676ff11e9 smtp_hello_: enable monitoring multiple ports at once 2022-05-30 19:09:40 +02:00
Andreas Perhab
9bf3b9a299 smtp_hello_: improve compatibility
* support systems without time executable
  (if we can use bash time keyword)
* use curl as smtp client if available
* enable specifying different ports from 25
* enable specifying other test commands than "HELO localhost"
  (e.g. HELP, QUIT can also be used to test connections)
2022-05-30 19:09:40 +02:00
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