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

4739 commits

Author SHA1 Message Date
Sam Darwin
0b7a005eb2
cpu and memory plugins for OSX (#1173) 2021-02-16 17:57:03 +01:00
Steve Schnepp
0d13497ed8
Merge pull request #1174 from steveschnepp/plugin/smart_
Adding a new C plugin : smart_
2021-02-07 12:27:56 +01:00
Steve Schnepp
b86f1d0ffe smart_: port to openbsd & macos 2021-02-07 12:19:39 +01:00
Steve Schnepp
6eff786eef smart: importing common.{h,c} from munin-c
The compilation is very easy, a simple `make` should work, as I provided
a convenient `Makefile`
2021-02-07 12:17:14 +01:00
Steve Schnepp
a420c4eb58 smart_: renaming the file
The destination file is a wildcard one. Therefore the C file should be
named with a trailing `_`.
2021-02-07 12:15:07 +01:00
Bastiaan van Kesteren
2fd3eec87c Hacked together a smart_ plugin in C
There is some trickery going on to not wakeup the disk when it's in standby

Note: this was aimed at munin-c, but was rejected since it uses a
subprocess that calls the `smartctl` tool.
2021-02-07 12:03:41 +01:00
Klaus Sperner
ad3351cadc make plugin http_response executable 2021-02-07 03:36:04 +01:00
Klaus Sperner
60a077a67c Add multigraph plugin for http response codes and times
In contrast to using http_responsecode and http_loadtime with the same
configuration, this plugin performs only one request per site and munin
run to gather its statistics.
2021-02-07 03:36:04 +01:00
ruliane
7046ba801c typo 2021-02-05 21:53:37 +01:00
ruliane
63505c5060 Add support for multi-domain check 2021-02-05 21:53:37 +01:00
ruliane
f2261ed9d4 Rename whois_ to whois 2021-02-05 21:53:37 +01:00
Lars Kruse
179f04721a Plugin tor_: handle missing dependency during "fetch" or "config" 2021-02-05 00:06:48 +01:00
ruliane
f06ee36a05
Use an environment variable for CACHE_EXPIRY (#1169)
Use an environment variable for CACHE_EXPIRY in whois plugin.
2021-01-31 16:56:43 +01:00
Olivier Mehani
52898ef50c [file_length_] List full file path in info
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-01-31 14:59:10 +01:00
Paul Alexandrow
11c6d82791
initial commit of systemd_mem (v1.0) (#1165)
systemctl calculates memory consumption quite differently than existing plugins, which usually query /proc/.
This plugin monitors what memory a service uses according to systemctl.
2021-01-31 14:56:01 +01:00
Andreas Perhab
82644213e3 during DELAYED/PENDING resyncs mark reshape/recovery percent as unknown instead of 0 2021-01-29 16:22:34 +01:00
Olivier Mehani
1fa5558afd [docker_] add multigraph support
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-01-29 16:21:22 +01:00
Olivier Mehani
2482518826 [docker_] status: report and warn on unhealthy containers
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-01-29 16:21:22 +01:00
Olivier Mehani
d3a7b794bc [docker_] expose APIClient from Wrapper
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-01-29 16:21:22 +01:00
Olivier Mehani
3a20ae41e9 [docker_] memory: report usage if total_rss is not available
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-01-29 16:21:22 +01:00
Olivier Mehani
b09fa4a73f [docker_] Add support for custom attributes reporting in extinfo
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-01-29 16:21:22 +01:00
Lars Kruse
04ded0c6f5 Plugin tor_: fix autoconf issues
Closes: #1166
2021-01-26 15:39:28 +01:00
ToM
069255eee2 mpdstat_: unquote $NCARGS. 2021-01-17 19:51:22 +01:00
ToM
9ad3b1ff18 mpdstats_: allow to pass options to nc(1).
Different nc(1) implementations will use different flags, as highlighted
in #576. This environment variable allows one to pass any option to the
nc binary.
2021-01-17 19:51:22 +01:00
ToM
829bab4814 mdpstats_: use 'stats' instead of 'version' in autoconf.
As of v0.21.4 version of the MPD command protocol, it seems that the
`version` command is not valid:

    $ echo version | /bin/nc localhost 6600
    OK MPD 0.21.4
    ACK [5@0] {} unknown command "version"

Use `stats` instead.

https://www.musicpd.org/doc/html/protocol.html#querying-mpd-s-status
2021-01-17 19:51:22 +01:00
Kim B. Heino
a45257a64a stratis: code cleanup and use perlpod format for documentation 2021-01-10 17:47:54 +01:00
Kim B. Heino
7d31b4ce25 stratis: new plugin to monitor stratis filesystem 2021-01-10 17:47:54 +01:00
Samuel Smith
f90427c32a Update for extra fields in newer kernels
The fields have changed from 11 or 15 on recent kernels but does not effect what the plugin gathers. 
See 5.4 https://www.kernel.org/doc/html/v5.4/block/stat.html versus 4.16 https://mjmwired.net/kernel/Documentation/block/stat.txt
2021-01-08 15:33:58 +01:00
Ondřej Nový
c10eaf60d2 Plugin timesync_status: Fix KeyError when time is not synced 2021-01-06 17:37:24 +01:00
Ondřej Nový
3e01588570 Plugin timesync_status: Handle value 0 correctly 2021-01-06 17:37:24 +01:00
cortices
099d7821d9 Apply shellcheck recommendations 2021-01-02 20:31:50 +11:00
cortices
cf44597b58 Merge remote-tracking branch 'origin/master' 2021-01-01 14:11:50 +11:00
cortices
307795493a Add openstack_swift_stats_ plugin 2021-01-01 14:11:32 +11:00
Andreas Perhab
9c995590b2 certificate_file_expiry: add pattern support for CERT env variable 2020-12-28 20:42:30 +01:00
Olivier Mehani
5c983dbc7d [plugin/nextcould] Fix incorrect data output
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-12-16 14:16:03 +01:00
Simone Rossetto
493b71d9f0 Plugin timesync_status: use common pattern to check input args 2020-12-10 04:40:10 +01:00
Simone Rossetto
0e43e7790f Plugin timesync_status: add support for 'fetch' command 2020-12-10 04:40:10 +01:00
Kim B. Heino
0791c99e74 systemd_status: fix autoconf to check if systemd is running 2020-12-05 16:02:56 +01:00
Kim B. Heino
f8fef4cf73 systemd_status: reformat docstring to perlpod format 2020-12-05 16:02:56 +01:00
Kim B. Heino
ca27b12937 systemd_status: yet another plugin to monitor systemd status
Similar to systemd_units, but more states and ignores scopes and user
services. They must be allowed to fail.
2020-12-05 16:02:56 +01:00
JTSage
eb7a1e7276 Add some sane defaults, some enviromental variable overrides, fix autoconf, and add more error trapping 2020-11-28 20:31:45 +01:00
JTSage
36c291110d Change proposed name, certbot_certs -> certbot_expiry 2020-11-28 20:31:45 +01:00
JTSage
2f7d94071d Add "certbot-certs"
This plugin will semi-auto discover certbot (letsencrypt) certificates and output their expiry in days.
2020-11-28 20:31:45 +01:00
Lars Kruse
fa059d2a23 Plugin nextcloud_: fix shellcheck issues 2020-11-28 14:10:56 +01:00
Olivier Mehani
b289ff1f47 [plugins/transmission] Update shebang to use python3
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-11-28 14:07:03 +01:00
Olivier Mehani
d25a9e9428 [plugins/transmission] Python3 compat
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-11-28 14:07:03 +01:00
Olivier Mehani
3b478bab2f [plugins/nextcloud_] Fix type in autoconf
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-11-28 14:06:25 +01:00
Olivier Mehani
cd759e2f5c [plugins/nextcloud_] Only use one call to JQ to parse and report the info
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-11-28 14:06:25 +01:00
Olivier Mehani
0ab1e127a2 [plugins/whois_] stop EXTRACT_RE after the first match
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-11-26 15:05:52 +01:00
Lars Kruse
a10647b95e Plguin btcguild_hashrate_: migrate to Python3 2020-11-26 02:39:41 +01:00