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

4246 commits

Author SHA1 Message Date
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
Olivier Mehani
0b4725d69d [ssl/ssl-certificate-expiry] Fix unset starttls parameter
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
282b32b0e5 [network/upnpc_] Add support for host_name
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
01edaf0086 [network/upnpc] Add hostname in graph titles
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
076545b5f6 [network/upnpc_] Add multigraph support
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
3212af2eed [network/upnpc_traffic] Show max bitrate
Deprecate bitrate mode in suggest, but keep support for it so as not to
break existing installations.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
5382722fdb [network/upnpc_] Add dirtyconfig support
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
81bf32a5a5 [network/upnpc_] Cleanup shell code and centralise call to upnpc
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
f6c627bd56 [isp/internode] Fix (some) issues with DIRTYCONFIG
We need to set the date for all plugins, otherwise the lagging `daily`
one is assumed for all, and confuses spoolfetch and other time-based
sanity checks.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
e5af569b4f [isp/internode_usage] Add support for host_name
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani
c49207419e [isp/internode_usage] Code cleanup
Also make the daily graph more flexible, by always reporting the second
last value (presumably the previous, but sometimes the API lags a bit,
and actively requesting by date result in never reporting some late
data).

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
ruliane
3aa213d497 Add support for StartTLS in ssl-certificate-expiry (#1018)
* Add support for StartTLS in ssl-certificate-expiry

Added support for StartTLS in ssl-certificate-expiry
Use env.services foo.example.net_25_smtp to enable StartTLS on a SMTP server.
2019-09-17 19:37:37 +02:00
Christopher Eagan
7fff067ffa Add Missing Bracket
Adds the missing bracket `[` to ensure that brackets show up after groups when hosts are grouped together.
2019-09-08 15:02:59 +02:00
root
3cd15a8220 improved ext2, ext3, ext4 filesystems search 2019-09-05 23:32:56 +02:00
RenWal
4e7c45fdc9 Fix typos in certificate_file_expiry
Typos broke the sample configuration
2019-09-02 23:07:45 +02:00