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

4557 commits

Author SHA1 Message Date
Jeremías
6dba67187e mongo_lag configurable graph_category 2021-03-25 12:41:50 +01:00
Jeremías
f5900290d6 mongodb_docs configurable graph_category 2021-03-25 12:41:50 +01:00
Jeremías
dca094317a mongodb_conn configurable graph_category 2021-03-25 12:41:50 +01:00
Jeremías
105ff59c11 mongo_collection_ configurable graph_category 2021-03-25 12:41:50 +01:00
Jeremías
7fd554f04b mongo_collection_ load env.MONGO_DB_URI 2021-03-18 14:33:22 +01:00
Jeremías
bc55ce69fc try to be consistent with doc format 2021-03-18 14:33:22 +01:00
Jeremías
95e525db5a mongo_lag load env.MONGO_DB_URI 2021-03-18 14:33:22 +01:00
Jeremías
6ee90f2ee4 mongodb_conn load env.MONGO_DB_URI 2021-03-18 14:33:22 +01:00
Florian Sager
842acaef1a Prevent escaping of internal names with leading numbers to fix graph processing
With serials like

Node             SN                   Model                                    Namespace Usage                      Format           FW Rev  
---------------- -------------------- ---------------------------------------- --------- -------------------------- ---------------- --------
/dev/nvme0n1     285S100HTYST         KXG50ZNV512G TOSHIBA                     1         512,11  GB / 512,11  GB    512   B +  0 B   AAGA4106
/dev/nvme1n1     S4GENX0N713949       SAMSUNG MZVLB512HBJQ-00000               1         474,89  GB / 512,11  GB    512   B +  0 B   EXF7201Q

the internal names (by serial number) were rewritten to

Field 	Internal name 	Type 	Warn 	Crit 	Info
/dev/nvme0n1 	_85S100HTYST_w 	derive 	  	  	 
/dev/nvme1n1 	S4GENX0N713949_w 	derive

--> the trailing underscore in case of nvme0n1 created problems in graph processing:

[RRD ERROR] Unable to graph /var/cache/munin/www/lxdserver/....agitos.de/nvme_bytes-month.png : undefined vname c285S100HTYST_r

Therefore I added a prefix 'SN_' for internal names.
2021-03-18 14:25:23 +01:00
Giacomo Mazzamuto
3c481585de nvidia_gpu_: fix current temperature on nvidia 460
Tested with
NVIDIA-SMI 460.32.03
Driver Version: 460.32.03
CUDA Version: 11.2
2021-03-18 14:23:11 +01:00
Kjetil Torgrim Homme
c7299aeba2 nvme: add graph for spare capacity. add support for limits
The default limits are sort of randomly chosen.  My nvme drives report
a warning level at 10% spare capacity, so I kept that here.
2021-03-14 16:02:24 +01:00
Matt Merhar
4c1903fe29 Make 'chrony' work with busybox awk 2021-03-10 12:44:08 +01:00
gustavo panizzo
4a25b7de16 fix the bird plugin to work with perl 5.28 2021-03-10 12:43:03 +01:00
lifeofguenter
375d3643ec remove failing test? 2021-03-10 12:42:29 +01:00
lifeofguenter
58c7801fd2 beanstalkd python3 2021-03-10 12:42:29 +01:00
Alois
b6912e7649 Update kvm_cpu
the line length change doesn't make the world better... without pyflakes I already wondered, why there is an additional linebreak. now it needs two additional one to stay below 99 
changes here are tested and work on Python 3.7.3 (debian buster).
2021-03-10 12:19:28 +01:00
Alois
acdaeb6d11 Update kvm_cpu
in python3 filter returns an object, not an list. I think a list is required here? at least the plugin works as soon as list(...) is added.
need to change from pid to pid.decode, as pid is binary and not a string.
2021-03-10 12:19:28 +01:00
Alois
9ecd634f86 Update munin-libvirtpy
if config has sys.exit(1) the plugin config does not work.
2021-03-04 16:07:02 +01:00
Lars Kruse
98aeca5f7b Plugin docker_: fix indentation 2021-02-23 14:34:39 +01:00
Lars Kruse
be4ad90df3 Plugin docker_: use clean fieldname instead of literal container name 2021-02-23 14:33:14 +01:00
Lars Kruse
7ac850853d Plugin docker_: reduce permissions of plugin
root privileges are not required for sending queries to the docker socket.
Instead the group "docker" should be sufficient.

Additionally replace /var/run with /run (following updates of FHS).
2021-02-23 00:13:30 +01:00
Ricardo Sanz
807f15b931 Add 'containers' to the supported series
Apparently, the code support that serie, as the docs say.
2021-02-23 00:02:43 +01:00
Lars Kruse
c5daa06dde Plugin prosody_: interprete input as utf-8
Previously only ascii was accepted.

See: https://github.com/munin-monitoring/contrib/pull/1040#issuecomment-780824064

Thanks, msebald!
2021-02-22 02:10:41 +01:00
Tim Düsterhus
d5dffef840 Use exact values in zfs/zpool_capacity#allocated
As per the zpool(8) man page:

> zpool list [-HgLpPv] [-o property[,property]...] [-T u|d] [pool]... [interval [count]]
>         Lists the given pools along with a health status and space usage.  If no pools are specified, all pools in the system are listed.  When given an interval, the information is printed every
>         interval seconds until ^C is pressed.  If count is specified, the command exits after count reports are printed.
> [...]
>         -p      Display numbers in parsable (exact) values.
2021-02-17 20:10:49 +01:00
Lars Kruse
ed61eab13a Plugin tor_: fix "tor_countries" in case of missing cache location
Closes: #1176
2021-02-17 15:10:12 +01:00
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