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

4113 commits

Author SHA1 Message Date
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
Andreas Perhab
d6d5fa80be Added plugins for certificates
* plugin to monitor certificiate lifetime
* plugin to monitor letsencrypt certificate issue limit
2019-07-31 03:13:21 +02:00
Lars Kruse
400fe6a39d
Merge pull request #1003 from shtrom/freebox-errors-derive
[router/freebox] Use DERIVE for error correction subgraph
2019-07-28 21:10:16 +02:00
Olivier Mehani
b8002a6ce7
[router/freebox] Update errors example graph
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-07-28 22:48:56 +10:00
Olivier Mehani
a207c6009b
[router/freebox] Use DERIVE for error correction
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-07-28 22:48:55 +10:00
Steve Schnepp
2fe1beccc2 Revert "travis: do not use sudo, but the apt plugin"
This reverts commit 34b55fe3b5.
2019-07-28 11:05:53 +02:00
Steve Schnepp
34b55fe3b5 travis: do not use sudo, but the apt plugin 2019-07-27 21:23:35 +02:00
Steve Schnepp
878e733430 t: fixing skip 2019-07-27 21:15:35 +02:00
Steve Schnepp
f42fdaa669 t: ignore empty files 2019-07-27 21:03:42 +02:00
Steve Schnepp
9cd0bba835 fix plugins for new rules 2019-07-27 20:50:08 +02:00
Steve Schnepp
58f0ab64f3 travis: remove the check for the nvidia plugin 2019-07-27 16:54:43 +02:00
Steve Schnepp
6c2a996879 travis: upgrade to an always current version of PHP 2019-07-27 16:37:42 +02:00
Steve Schnepp
36aa913ce9 travis: move to bionic 2019-07-27 16:30:43 +02:00
Steve Schnepp
77fb960536 travis: adding a dependency 2019-07-27 16:00:28 +02:00
Steve Schnepp
81f5e69599 Adding +x flag 2019-07-27 16:00:08 +02:00
Steve Schnepp
5967b5f152
Merge pull request #788 from steveschnepp/jmx-src
p/jmx: extract the source from the jar
2019-07-27 11:17:38 +02:00
Lars Kruse
95623db8d2
Merge pull request #997 from rantal/master
Update megaraid-controller-information to support "megacli" executable name
2019-07-26 01:44:58 +02:00
rantal
5bebfeea9e
Update megaraid-controller-information 2019-07-25 14:46:08 +03:00
rantal
4864783fca zpool_capacity: Added fragmentation % graph
Added fragmentation % graph
2019-07-25 03:41:01 +02:00
Lars Kruse
db7b2f28ab Plugin bitcoind_: unify error output 2019-07-24 13:56:11 +02:00
Lars Kruse
88e027bebd Plugin bitcoind_: demystify "autoconf" handling 2019-07-24 13:40:16 +02:00
Lars Kruse
fd45fe6c8e Plugin bitcoind_: unify exit behaviour 2019-07-24 13:32:42 +02:00
Lars Kruse
a0aa955a2d Plugin bitcoind_: improve style 2019-07-23 21:09:20 +02:00
Lars Kruse
ea051b7f3c Plugin bitcoind_: use defaults for missing environment variables
Previously undefined environment variables were treated as "None"
instead of using the supplied defaults (e.g. for "rpchost" or
"rpcport").
2019-07-23 21:09:20 +02:00
rantal
e5f7966dfb
Update megaraid-controller-information to support "megacli" name of tools executable 2019-07-23 18:03:33 +03:00
Lars Kruse
d2e8da4181
Merge pull request #996 from tsaavik/master
Added Redis lag graph for slave0 node replication
2019-07-23 01:45:50 +02:00