ssl-certificate-expiry: add support for FreeBSD's "date"
Thanks to oz42
Closes: #1038
puppetdb: implement cert validation and client cert auth
It is very common for PuppetDB installs to run on a different host thanthe puppetmaster. In such cases, a certificate file is normally used toestablish an encrypted communication to the server.
The most common setup for this server certificate is to use a...
change category of puppet plugins to "other"
using the "devel" category is a bit weird. there's currently no goodcategory to place those into so let's use "other" instead.
create new plugin for graphing PuppetDB's usage of JVM Heapspace
PuppetDB requires a pretty high amount of memory allocated to it. If youdon't give enough memory space to the JVM, PuppetDB might crash when ithas fully used the available max memory. This plugin should be useful...
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.
Port some python2 plugins to python3
Fix python style issues reported by flake8
Additionally some python2-only "print" statements are now compatiblewith python3.
flake8 configuration: allow whitespace around colons
add plugin for Technicolor TC8715D cable modem stats
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
Update mongo_lag
Fix mongo_lag plugin and add auth feature
arris-tg3442: Remove newlines from cookie
Remove plugin "arp"
The "arp_" plugin is probably a better alternative: it uses modern linuxtools (iproute2) instead of the "arp" tool.
Closes: #1024
Remove obsolete bebox plugins
The plugins beboxsync, beboxstats and beboxstats.expect are obsolete.The ISP that sold the Bebox [Be*] was acquired by another providermore than five years ago so it is very unlikely that anybody is usingthese plugins any more....
[hostdenied] Reverse order of series so new entries are on top
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
[fresh-backups] Reverse order of series so new entries are on top
[network/upnpc_] Add missing vlabel
[debsecan] Don't include suite in main title
[sickbeard] Add perldoc header
[fresh-backups] Show backup counts as stacked areas by age
[sickbeard] Add multigraph plugin doing both shows and episodes
[sickbeard_] Show counts as stacked areas
[transmission] Show counts as stacked areas
[network/hostsdeny] Refactor to support any blocked service
The HostDenied field is renamed to ssh. To preserve existing data,
This refactor incidentally also fixes a bug where empty or commented-out...
Fix titles of similar plugins so they are better grouped in category views
test-exception-wrapper: mention removal of a file from the list of expected failures
Remove "upnpc_" from list of expected code style test failures
It was probably fixed around 81bf32a5.
[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 allowsto prevent some flickering of the graph.
This allows us to further split config data-fetching from live...
[backup/fresh-backups] Rework limits
[backup/fresh-backups] move from system/
[router/upnpc] Fix autoconf
[isp/internode_usage] Make titles more groupable
[ssl/ssl-certificate-expiry] Fix unset starttls parameter
[network/upnpc_] Add support for host_name
[network/upnpc] Add hostname in graph titles
[network/upnpc_] Add multigraph support
[network/upnpc_traffic] Show max bitrate
Deprecate bitrate mode in suggest, but keep support for it so as not tobreak existing installations.
[network/upnpc_] Add dirtyconfig support
[network/upnpc_] Cleanup shell code and centralise call to upnpc
[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-basedsanity checks.
[isp/internode_usage] Add support for host_name
[isp/internode_usage] Code cleanup
Also make the daily graph more flexible, by always reporting the secondlast value (presumably the previous, but sometimes the API lags a bit,and actively requesting by date result in never reporting some latedata).
Add support for StartTLS in ssl-certificate-expiry (#1018)
Added support for StartTLS in ssl-certificate-expiryUse env.services foo.example.net_25_smtp to enable StartTLS on a SMTP server.
Add Missing Bracket
Adds the missing bracket `[` to ensure that brackets show up after groups when hosts are grouped together.
improved ext2, ext3, ext4 filesystems search
Fix typos in certificate_file_expiry
Typos broke the sample configuration
Cosmetic fix for s/pflogsum/pflogsumm/ - not functional in autoconf section
This typo ensures that you understand the script before using it :-)
Merge branch 'lxc-multigraph'
Many contributions from Marc Schaefer and Lars Kruse.
- 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
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.
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])...
Plugin w1_: add executable flag and tolerate shellcheck failure
Hopefully the issue will be resolved via #1011.
Merge pull request #766 from webstoney/patch-1
w1_ plugin
Plugin arris-tg3442: fix code style issues reported by flake8
Plugin arris-tg3442: describe content of the base64 encoded cookie
The cookie content probably depends on the router model.
Merge pull request #977 from heeplr/patch-1
DOCSIS status monitoring
Plugin lighttpd_: fix code style issues reported by flake8
Plugin icecast2_all: fix code style issues reported by flake8
Plugin icecast2_: fix code style issues reported by flake8
Plugin ethermine_hashrate_: fix code style issues reported by flake8
Plugin btcguild_hashrate_: fix code style issues reported by flake8
Plugin snmp__airport: fix code style issues reported by flake8
Plugin snmp__synology: fix code style issues reported by flake8
Remove plugin solrmulticore
The plugin was introduced in 2011 and superseded by the solr4_ pluginintroduced in 2013.
Remove plugin solr
The plugin saw only one substantial commit (its initial addition to therepository). 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.
Plugin solr4_: fix code style issues reported by flake8
Plugin solr4_: format perldoc header
Plugin tor_: switch to python3
Plugin tor_: fix code style issues reported by flake8
Plugins weather_*: specify regular expressions as raw strings
New versions of flake8 already complain about the non-raw nature of thestrings (respectively the improper escaping in the regular expression).
tests: enable shellcheck for shell-based plugins and flake8 for python-based plugins
Many plugins are still failing these tests.These expected failures are listed in a file(t/test-exception-wrapper.expected-failures)A wrapper script is used for running the tests and comparing the result...
Plugin ejabberd_resources_: fix shellcheck issues
Plugin zfs-filesystem-graph: fix here-document
Plugin zfs-filesystem-graph: fix autoconf and remove "suggest"
Fix multiple python code issues (detected by flake8)
Fix multiple shellcheck issues
Merge pull request #1010 from mafri27/master
create icinga plugin to monitor check results
set execute to icinga_checks
Merge branch 'travis-test'
Fix remaining issues of the test environment.
Plugin amr: fix regex issue
An unescpaed left brace is rejected by recent versions of perl.
travis: update packages to Ubuntu Bionic
travis: add more missing packages
travis: install requirements via apt
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.
Plugin lxc: rename to "lxc_guests"
The plugin handles details of LXC guests. Thus we should leave theremainder of the namespace to other plugins.
Plugin lxc: remove reference to framagit repository
Plugins maintained within the contrib repository of munin should notrefer to other locations as their primary source.(otherwise they should be maintained in that primary source and not inthe contrib repository)
Plugin lxc: update list of authors
Plugin lxc: move to category "virtualization"
See http://guide.munin-monitoring.org/en/latest/reference/graph-category.html#well-known-categories
Plugin lxc: enable "set -eu" for better error handling
The code should be suitable for "exit-on-error" and "error-on-unset".
Plugin lxc: verify the availability of "lxc-ls"
Previously "autoconf" only verified, that /var/lib/lxc exists. But thiscould be just a remainder of a formerly installed lxc package.
Plugin lxc: add support for MUNIN_CAP_DIRTYCONFIG
Plugin lxc: use functions for top-level activities
This clarifies the flow of control and allows to useMUNIN_CAP_DIRTYCONFIG later.
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.
Plugin lxc: change the plugin from "bash" to "sh"
No more bashisms were left.
Plugin lxc: separate function for title beautification
This avoids a bashism.