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

4360 commits

Author SHA1 Message Date
Lars Kruse
90b60cdb34 Plugin trafic_ro_24h: remove duplicate "curl" token
The plugin always emitted an error message (without failing) before.
2020-03-26 04:23:21 +01:00
Lars Kruse
c7f6227a11 Plugin acpi_batt_: fix spelling mistake in pattern
The pattern "batery type" is probably never emitted.
2020-03-26 04:23:21 +01:00
Lars Kruse
5215545c5b Plugin murmur_users: fix type in pattern
The output probably does not contain the misspelled string "Tiemout".
2020-03-26 04:23:21 +01:00
Lars Kruse
f776b7e04f Fix spelling mistakes in variable names
Thanks, codespell!
2020-03-26 04:23:21 +01:00
Lars Kruse
8713eb3722 Fix spelling mistakes in comments and descriptions
Thanks, codespell!
2020-03-26 04:23:21 +01:00
corbolais
561da1a3f1 typo: retransmited -> retransmitted
Signed-off-by: corbolais <corbolais@gmail.com>
2020-02-29 00:33:15 +01:00
Terry Burton
06cfee0689 Plugin freeradius_sqlippool_: New plugin to show IP pool utilisation
Uses the generic Perl DBI interface, requiring the user to specify a driver and
provide the corresponding DBD module
2020-02-18 01:45:05 +01:00
Doctor
937cb1d030 Rewrite Docker plugin
Fix:
- CPU
- Memory

Add:
- Containers number
- Containers status
- Images number
- Volumes number
2020-02-16 20:27:53 +01:00
Alban
276169a6c9
Update mongodb plugins
* Update mongodb plugins
* fix category
* chmod +x
* flake8-CI
* flake8 adjustments for mongo_collection_ and env python3
2020-02-13 16:11:16 +01:00
Lars Kruse
52144bc277 ssl-certificate-expiry: remove hardcoded CA directory path
This should allow the plugin to be usable on all platforms.
2020-02-06 00:54:29 +01:00
kozakana
60782f9d72 Plugin wordpress2: support PHP7 2020-02-05 21:06:09 +01:00
Doctor
7784ddf4d8 Fix prosody plugin by encoding telnetlib commands 2020-02-04 00:54:13 +01:00
Gabriel Filion
daba178eef relayd: permit commas between hosts in tables
relayd.conf(5) mentions the following:

  Each table must contain at least one host address; multiple hosts are
  separated by newline, comma, or whitespace.

So the addition of commas as separators should now cover all possible
cases.

Without this, hosts separated by commas in a table will show up with a
trailing comma in their host name and will probably not get their stats
correctly assigned when grabbing information from relayctl.
2020-02-02 05:16:53 +01:00
Gabriel Filion
065d4f129c relayd: avoid matching table defs within comments
if a table is commented out, you currently get an entry for the hosts
that the entry contains but you'll get NaN for those hosts all the time
if they are not defined elsewhere.

to avoid that we anchor our match to the beginning of lines and permit
leading spaces since some folks might like to indent lines.
2020-02-02 05:16:53 +01:00
Olivier Mehani
2e16d2f845 Templates: name in title (#1019)
* [original] Put host name first in <TITLE>
* [munstrap] Put host name or service (NAME) first in <title>

Useful when many tabs are open.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-01-27 23:44:26 +01:00
Alban
0a4891fcef Add new mongodb plugins
* mongo_cpu_ram
* mongodb_conn
* mongodb_cpu
* mongodb_ram
2020-01-25 01:28:33 +01:00
Lars Kruse
292cfb955a ssl-certificate-expiry: add support for FreeBSD's "date"
Thanks to oz42

Closes: #1038
2020-01-25 01:22:11 +01:00
Gabriel Filion
70f565c503 puppetdb: implement cert validation and client cert auth
It is very common for PuppetDB installs to run on a different host than
the puppetmaster. In such cases, a certificate file is normally used to
establish an encrypted communication to the server.

The most common setup for this server certificate is to use a
certificate that was signed by the puppetmaster's CA, so one would want
to verify the server cert against this same CA (it should be present on
puppet clients).

Moreover, to ensure that *only* puppet clients can communicate with
PuppetDB, a pair of client certificat/key files are usually used to
authenticate clients.
2020-01-21 12:24:36 +01:00
Gabriel Filion
6a8fbf3bd3 change category of puppet plugins to "other"
using the "devel" category is a bit weird. there's currently no good
category to place those into so let's use "other" instead.
2020-01-03 06:32:51 +01:00
Gabriel Filion
d4188712d9 create new plugin for graphing PuppetDB's usage of JVM Heapspace
PuppetDB requires a pretty high amount of memory allocated to it. If you
don't give enough memory space to the JVM, PuppetDB might crash when it
has fully used the available max memory. This plugin should be useful
for better tuning up your instance(s) of PuppetDB.

Currently, it's only compatible with PuppetDB 6.x since it's requesting
data from the API as described for that version:

https://puppet.com/docs/puppetdb/6.0/api/metrics/v1/mbeans.html#jvm-metrics

To add support for more versions, one would need to consult the same
documentation for different versions and to adapt URLs used and the code
that's obtaining the data from JSON if the layout of the responses is
different.
2020-01-03 06:32:51 +01:00
Lucas Hoffmann
e3664c39d8 Fix state saving in loggrepx_ plugin
The pattern under which the data was saved was different than the pattern under the data was loaded on the next run. The reason being an undefined variable that evaluates to the empty string. The result was that the number of matching lines reported was for the whole logfile instead of the time since the last run.
2019-12-26 01:01:46 +01:00
Lars Kruse
86bee01637 Port some python2 plugins to python3 2019-12-18 00:27:02 +01:00
Lars Kruse
7063330e03 Fix python style issues reported by flake8
Additionally some python2-only "print" statements are now compatible
with python3.
2019-12-18 00:25:39 +01:00
Lars Kruse
73f885e382 flake8 configuration: allow whitespace around colons 2019-12-18 00:23:09 +01:00
Kenyon Ralph
6abc523a58 add plugin for Technicolor TC8715D cable modem stats 2019-12-16 01:02:04 +01:00
Hannes Erven
1fc177ce9a multi_tcp_ping: enable service_check by default
By default, Net::Ping will report a good attempt even when the remote end returns "connection refused". By enabling service_check, the connection must have been established.
See https://perldoc.perl.org/Net/Ping.html#Functions
2019-12-16 00:58:38 +01:00
Alban
1357b8189e Update mongo_lag 2019-12-16 00:56:20 +01:00
Alban
923e134dd0 Update mongo_lag 2019-12-16 00:56:20 +01:00
Alban
8fc3d29dd6 Update mongo_lag
Fix mongo_lag plugin and add auth feature
2019-12-16 00:56:20 +01:00
Sascha Schade (strongly-typed)
ac28508095 arris-tg3442: Remove newlines from cookie 2019-11-10 03:10:37 +01:00
Lars Kruse
f003e1bb64 Remove plugin "arp"
The "arp_" plugin is probably a better alternative: it uses modern linux
tools (iproute2) instead of the "arp" tool.

Closes: #1024
2019-10-29 03:58:44 +01:00
Lars Kruse
bf83802da3 Remove obsolete bebox plugins
The plugins beboxsync, beboxstats and beboxstats.expect are obsolete.
The ISP that sold the Bebox [Be*] was acquired by another provider
more than five years ago so it is very unlikely that anybody is using
these plugins any more.

The plugin tg585v7_ is a suitable replacement as the Bebox and TG585
are both made by Technicolor [formerly Thompson] and run on the same
platform. tg585v7_ also seems to be much more comprehensive than the
bebox plugins.

Closes: #1023
Thanks, troffasky
2019-10-27 23:38:28 +01:00
Olivier Mehani
f8801b87a0 [hostdenied] Reverse order of series so new entries are on top
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-23 23:09:34 +02:00
Olivier Mehani
6a47ad0aed [fresh-backups] Reverse order of series so new entries are on top
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-23 23:09:34 +02:00
Olivier Mehani
6ad466b10e [network/upnpc_] Add missing vlabel
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
3abb60e3e7 [debsecan] Don't include suite in main title
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
5587f77cf5 [sickbeard] Add perldoc header
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
95ebf419fe [fresh-backups] Show backup counts as stacked areas by age
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
b97762097b [sickbeard] Add multigraph plugin doing both shows and episodes
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
118457fa44 [sickbeard_] Show counts as stacked areas
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
6ca9f65af9 [transmission] Show counts as stacked areas
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
cfe070ea38 [network/hostsdeny] Refactor to support any blocked service
The HostDenied field is renamed to ssh. To preserve existing data,

	# cd /var/lib/munin/example.net
	# mv hostname-hostsdeny-HostsDenied-g.rrd hostname-hostsdeny-sshd-g.rrd

This refactor incidentally also fixes a bug where empty or commented-out
lines where also counted.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani
e926acaf5f Fix titles of similar plugins so they are better grouped in category views
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Lars Kruse
3716783a4b test-exception-wrapper: mention removal of a file from the list of expected failures 2019-10-03 17:36:04 +02:00
Lars Kruse
374cdde941 Remove "upnpc_" from list of expected code style test failures
It was probably fixed around 81bf32a5.
2019-10-03 17:34:07 +02:00
Olivier Mehani
196051d341 [isp/internode] Cache initial API response
The API tends to be unstable and often fail with a 500,
which makes the plugin disappear. Keeping a cache allows
to prevent some flickering of the graph.

This allows us to further split config data-fetching from live
data-fetching, thus removing the need to support DIRTYCONFIG.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
0893243421 [backup/fresh-backups] Rework limits
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
cfa5206e99 [backup/fresh-backups] move from system/
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
cf74793230 [router/upnpc] Fix autoconf
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
a8f1eaf388 [isp/internode_usage] Make titles more groupable
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00