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

4142 commits

Author SHA1 Message Date
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
e5abdeeb12 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
with the expectation (based on the file being listed in the above file).

This allows to test all new plugins, while ignoring all known failures.
2019-08-13 05:16:13 +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
Lars Kruse
5b1099fb83
Merge pull request #1010 from mafri27/master
create icinga plugin to monitor check results
2019-08-12 13:59:27 +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
3a4266336c Merge branch 'travis-test'
Fix remaining issues of the test environment.
2019-08-12 06:09:13 +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
9695f9d635 travis: update packages to Ubuntu Bionic 2019-08-12 06:04:02 +02:00
Lars Kruse
64c755a053 travis: add more missing packages 2019-08-12 06:04:02 +02:00
Lars Kruse
a00fb19c8f travis: install requirements via apt 2019-08-12 06:03:56 +02:00
Gabriel Filion
0e0de01136 asterisk: the confbridge graph is in the wrong category
This was a copy/paste error that slipped by unnoticed :\
2019-08-11 18:41:57 +02:00
Lars Kruse
550ba544a6
Merge pull request #1007 from lelutin/replace_meetme_with_confbridge
* replace meetme with confbridge
* unify whitespace
2019-08-11 04:47:59 +02:00
Gabriel Filion
e14659d02c asterisk: use eq instead of == for comparing a variable to a string
sumpfralle suggested this change on github, since the comparisons are
meant to be string comparisons.
2019-08-10 21:58:24 -04:00
Gabriel Filion
b8eba4d75c asterisk: rename options for enabling/disabling graphs
With this "enable_" prefix, it will be clearer to users that those
options are boolean flags.
2019-08-10 21:58:24 -04:00
Gabriel Filion
5fff12db96 asterisk: change tabs for spaces for indentation
the plugin currently has inconsistencies with how lines are indented:
some lines only use tab characters while all other lines use spaces.
Let's make the coding style more uniform by using spaces everywhere.
2019-08-10 21:58:24 -04:00
Gabriel Filion
f7ebe6833d asterisk: turn output into debug-only lines
I apparently forgot to clear out two lines of debugging output from the
script before submitting a pull request.

Those lines of output are super useful for debugging whenever things are
not working as expected (e.g. asterisk has changed its output). So it'll
be more productive to keep them around but only output them if
MUNIN_DEBUG is set.
2019-08-10 21:38:36 +02:00
Gabriel Filion
7492865044 asterisk: Add configuration options to disable conference graphs
Since the MeetMe application is not available anymore on Debian, it
makes no sense to keep the graph around. We do however want to keep code
around for parsing stats from MeetMe. So we'll add two "binary" flags
that'll let users which of these two graphs they want.

The default values will favor getting information from ConfBridge which
is the suggested replacement for MeetMe.

An added bonus of this is that some users might decide to disable both
graphs if they use neither applications, which was impossible before.
2019-08-10 14:16:34 -04:00
Gabriel Filion
46b5f4bd13 asterisk: add graph for confbridge
The MeetMe Asterisk application has been deprecated since Asterisk 1.8.
Debian has also stopped distributing the module with version 11.5.1.
Users now need to migrate to using the ConfBridge application.

Since the application still exists, and some ppl in other Linux distros
probably still use it, we'll keep the code for parsing meetme info for
some time.
2019-08-10 14:16:33 -04:00
Lars Kruse
0ca0e78b9d
Merge pull request #1005 from lelutin/fix_asterisk_ami_parsing
Fix asterisk ami parsing
2019-08-10 14:17:36 +02:00
Gabriel Filion
38a921912b asterisk: another typo in config prevents graphs from showing up
This typo causes the following error during munin-update:

asterisk_codecs.graphs_title Asterisk channels per codec' : Parse error in /var/lib/munin/datafile for asterisk_codecs.graphs_title:

This error completely prevents munin-update from creating graphs for the
asterisk plugin.
2019-08-10 02:34:27 -04:00
Gabriel Filion
700b30e124 asterisk: fix typoes in multi-graph configuration 2019-08-09 17:00:50 -04:00
Gabriel Filion
d66fef2dc6 asterisk: command replies are now embedded in server responses
Asterisk now replies to "Action: command" with the response embedded,
e.g. with "Response: Success" instead of "Response: Follows".

We need to adjust how we parse the server response otherwise we can't
grab any data at all from the AMI.

Closes: #887
2019-08-09 16:59:09 -04:00
Steve Schnepp
b526aee0c0 Revert "Plugin pacman_pending_updates: switch to /bin/sh; update version"
This reverts commit c9cc2f27f6.

Actually, it depends on a bashism at line 53:
  if hash checkupdates >/dev/null 2>&1; then
2019-07-31 20:48:00 +02:00
Steve Schnepp
2124a49d57 travis: add Graphics::ColorNames::Windows 2019-07-31 20:46:42 +02:00
Steve Schnepp
a975706fff plugins: another round of defined(@array) fixing 2019-07-31 20:46:42 +02:00
Lars Kruse
c9cc2f27f6 Plugin pacman_pending_updates: switch to /bin/sh; update version
The plugin does not use any bash-specific features.  Thus it is not
necessary to depend on bash.
2019-07-31 03:36:39 +02:00
Lars Kruse
72f0546b04 Plugin pacman_pending_updates: fix and clarify conditionals
The "checkupdates" compound statement (" ... || ... && ...") did not
work due to the equal precendence of both operators (introduced in
6cb5c9e104).

Closes: #1004

Thanks to Ken-ichi Mito for reporting this issue.
2019-07-31 03:33:13 +02:00