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

3983 commits

Author SHA1 Message Date
Kim B. Heino
2fd01d998d dhcp-pool: count only active leases, not free ones
Lease can be within time limits, but freed. Don't count them.
2021-04-02 18:08:03 +02:00
Kim B. Heino
bc998e2007 dhcp-pool: increase warning limit to 90
DHCP pools grow very slowly. Warning at 75 is way too early, 90 seems
to be good value.

Also return pools at sorted order.
2021-04-02 18:08:03 +02:00
Kim B. Heino
43f5d31c21 dhcp-pool: field name may not start with number, prefix them with "_"
Also include pool range "from_ip - to_ip" to field label
2021-04-02 18:08:03 +02:00
Kim B. Heino
341de2c2b9 dhcp-pool: implement autoconf 2021-04-02 18:08:03 +02:00
Kim B. Heino
ced47decaf knot: use perlpod documentation format 2021-03-31 21:12:54 +02:00
Kim B. Heino
cc6f29fb6c knot: new plugin to monitor knot DNS server statistics 2021-03-31 21:12:54 +02:00
Kim B. Heino
301d13b111 nsd_requests: better name for plugin 2021-03-31 21:12:23 +02:00
Kim B. Heino
ed49d346e3 nsd: new plugin to monitor nsd DNS server 2021-03-31 21:12:23 +02:00
Kim B. Heino
b1251d0c11 mongodb_multi: use perlpod documentation format 2021-03-31 21:11:28 +02:00
Kim B. Heino
f2f292f192 mongodb: add new multigraph plugin to monitor MongoDB 2021-03-31 21:11:28 +02:00
Kim B. Heino
2cbac87635 uwsgi_: use better graph title so that all uWSGI graphs are grouped together 2021-03-31 21:10:08 +02:00
Ricardo Sanz
f76c34f5c6 Use APCu functions when available (make plugin compatible with PHP using APCu)
Detect available functions (apc_ or apcu_ ones) and call the right ones.
2021-03-31 21:08:35 +02:00
Lars Kruse
da87fcd6c7 Fix spelling issues 2021-03-31 20:39:12 +02:00
Sebastian L
8334867a72 jitsi-videobridge: videostreams aren't anymore 2021-03-31 20:33:53 +02:00
Kim B. Heino
50cb1d8997 nutups2: add runtime graph to monitor UPS's remaining runtime 2021-03-31 20:33:02 +02:00
Jeremías
4af69a6d07 mongo_mem: unify default category (db) 2021-03-25 12:41:50 +01:00
Jeremías
a9313615c8 mongo_ops configurable graph_category 2021-03-25 12:41:50 +01:00
Jeremías
4168c1647b mongo_mem configurable graph_category 2021-03-25 12:41:50 +01:00
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
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