1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 14:16:00 +00:00
Commit graph

3630 commits

Author SHA1 Message Date
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
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
Martin Schobert
c84659ad22 Cosmetic fix for s/pflogsum/pflogsumm/ - not functional in autoconf section 2019-08-31 03:38:58 +02:00
Martin Schobert
efff247575 This typo ensures that you understand the script before using it :-) 2019-08-31 03:38:58 +02:00
Lars Kruse
a040cb5abe Merge branch 'lxc-multigraph'
Many contributions from Marc Schaefer and Lars Kruse.
2019-08-19 19:05:54 +02:00
Marc SCHAEFER
748cf3b4ee - grep -EF is invalid
- SYSFS: buster has an existing /sys/fs/cgroup/systemd/lxc/$guest_name/tasks,
         which does not contain anything useful, so checking
         /sys/fs/cgroup/cpuacct/lxc/$guest_name/tasks first.
- spurious blank space for lxc_net and lxc_ram in here document
2019-08-19 15:07:16 +02:00
rantal
735689d47a btrfs_subvol_usage: fix "btrfs qgroup show" output format
Switch "btrfs qgroup show" for raw output format, because by default it's human readable form and can't be read by scripts.
2019-08-17 01:58:40 +02:00
d0m84
4ee40c8227 Update ntp_packets 2019-08-14 23:04:55 +02:00
d0m84
d0139a588d Update ntp_packets
With Debian 10 the command "ntpq -c iostats -c sysstats" produces one empty line.
The additional if condition tackles this.

Traceback (most recent call last):
  File "/etc/munin/plugins/ntp_packets", line 91, in <module>
    stats[line.split(':')[0]] = int(line.split(':')[1])
IndexError: list index out of range
2019-08-14 23:04:55 +02:00
Lars Kruse
ee68a404b5 Plugin w1_: add executable flag and tolerate shellcheck failure
Hopefully the issue will be resolved via #1011.
2019-08-14 04:06:31 +02:00
Lars Kruse
fa3b9cdf26
Merge pull request #766 from webstoney/patch-1
w1_ plugin
2019-08-14 01:32:24 +02:00
Lars Kruse
c586f34d4b Plugin arris-tg3442: fix code style issues reported by flake8 2019-08-14 01:27:42 +02:00
Lars Kruse
69602b1bbf Plugin arris-tg3442: describe content of the base64 encoded cookie
The cookie content probably depends on the router model.
2019-08-14 01:23:32 +02:00
Lars Kruse
9b5dd9143a
Merge pull request #977 from heeplr/patch-1
DOCSIS status monitoring
2019-08-14 01:08:28 +02:00
Lars Kruse
5b8adb5844 Plugin lighttpd_: fix code style issues reported by flake8 2019-08-14 00:42:45 +02:00
Lars Kruse
8b24b64960 Plugin icecast2_all: fix code style issues reported by flake8 2019-08-14 00:36:00 +02:00
Lars Kruse
ab3a583756 Plugin icecast2_: fix code style issues reported by flake8 2019-08-14 00:29:57 +02:00
Lars Kruse
c466adc4d3 Plugin ethermine_hashrate_: fix code style issues reported by flake8 2019-08-14 00:29:25 +02:00
Lars Kruse
275c82f479 Plugin btcguild_hashrate_: fix code style issues reported by flake8 2019-08-14 00:28:44 +02:00
Lars Kruse
ba732fd7ec Plugin snmp__airport: fix code style issues reported by flake8 2019-08-14 00:09:29 +02:00
Lars Kruse
dacb55010a Plugin snmp__synology: fix code style issues reported by flake8 2019-08-14 00:02:40 +02:00
Lars Kruse
8b69c8a1fe Remove plugin solrmulticore
The plugin was introduced in 2011 and superseded by the solr4_ plugin
introduced in 2013.
2019-08-13 23:58:19 +02:00
Lars Kruse
a730d96a1f Remove plugin solr
The plugin saw only one substantial commit (its initial addition to the
repository).  This very first version of the plugin was already broken
(undefined variable "core1") and was never fixed.
Thus it feels sane to assume, that the plugin was never used.
2019-08-13 23:56:27 +02:00
Lars Kruse
be1dfde5da Plugin solr4_: fix code style issues reported by flake8 2019-08-13 23:56:27 +02:00
Lars Kruse
117c508716 Plugin solr4_: format perldoc header 2019-08-13 23:56:26 +02:00
Lars Kruse
a3319a6dc9 Plugin tor_: switch to python3 2019-08-13 23:47:39 +02:00
Lars Kruse
24ab44ca23 Plugin tor_: fix code style issues reported by flake8 2019-08-13 23:47:39 +02:00
Lars Kruse
ebdbf1a92c Plugins weather_*: specify regular expressions as raw strings
New versions of flake8 already complain about the non-raw nature of the
strings (respectively the improper escaping in the regular expression).
2019-08-13 23:03:07 +02:00
Lars Kruse
53860136a5 Plugin ejabberd_resources_: fix shellcheck issues 2019-08-13 05:16:13 +02:00
Lars Kruse
94434e4bd8 Plugin zfs-filesystem-graph: fix here-document 2019-08-13 05:16:13 +02:00
Lars Kruse
e68a0308fe Plugin zfs-filesystem-graph: fix autoconf and remove "suggest" 2019-08-13 05:16:13 +02:00
Lars Kruse
be192b5226 Fix multiple python code issues (detected by flake8) 2019-08-13 05:16:13 +02:00
Lars Kruse
7fed3b9765 Fix multiple shellcheck issues 2019-08-13 05:16:13 +02:00
mafri
bc2f7098e2 set execute to icinga_checks 2019-08-12 10:21:21 +02:00
mafri
5633f925bf
create icinga plugin to monitor check results 2019-08-12 09:51:48 +02:00
Lars Kruse
fe379b6f05 Plugin amr: fix regex issue
An unescpaed left brace is rejected by recent versions of perl.
2019-08-12 06:04:02 +02:00
Lars Kruse
6e452ac6dc Plugin lxc: remove fieldname compatibility attempt with double underscores
The attempt of compatibility (introduced in c0fe6dc3c) did not work,
since the previous implementation *replaced* the first character
(if it was invalid - e.g. a digit) instead of prepending an underscore.
2019-08-12 02:36:01 +02:00
Lars Kruse
858f3e3af4 Plugin lxc: rename to "lxc_guests"
The plugin handles details of LXC guests.  Thus we should leave the
remainder of the namespace to other plugins.
2019-08-12 02:36:01 +02:00
Lars Kruse
3ebcb8b550 Plugin lxc: remove reference to framagit repository
Plugins maintained within the contrib repository of munin should not
refer to other locations as their primary source.
(otherwise they should be maintained in that primary source and not in
the contrib repository)
2019-08-12 02:36:01 +02:00
Lars Kruse
2f1be9f908 Plugin lxc: update list of authors 2019-08-12 02:36:01 +02:00
Lars Kruse
f69587c28c Plugin lxc: move to category "virtualization"
See http://guide.munin-monitoring.org/en/latest/reference/graph-category.html#well-known-categories
2019-08-12 02:36:01 +02:00
Lars Kruse
3f8ef105ff Plugin lxc: enable "set -eu" for better error handling
The code should be suitable for "exit-on-error" and "error-on-unset".
2019-08-12 02:36:01 +02:00
Lars Kruse
856572ad9b Plugin lxc: verify the availability of "lxc-ls"
Previously "autoconf" only verified, that /var/lib/lxc exists.  But this
could be just a remainder of a formerly installed lxc package.
2019-08-12 02:36:01 +02:00
Lars Kruse
59cb851cf5 Plugin lxc: add support for MUNIN_CAP_DIRTYCONFIG 2019-08-12 02:36:01 +02:00
Lars Kruse
f00f28cf6f Plugin lxc: use functions for top-level activities
This clarifies the flow of control and allows to use
MUNIN_CAP_DIRTYCONFIG later.
2019-08-12 02:36:01 +02:00
Lars Kruse
4356a024a7 Plugin lxc: clarify name for function "active_guests"
Previously a variable and a function used the same name.
This was no problem, but it can cause confusion.
2019-08-12 02:36:01 +02:00
Lars Kruse
55b881878c Plugin lxc: change the plugin from "bash" to "sh"
No more bashisms were left.
2019-08-12 02:36:01 +02:00
Lars Kruse
6bb4719881 Plugin lxc: separate function for title beautification
This avoids a bashism.
2019-08-12 02:36:01 +02:00