Lars Kruse
6995742e59
Plugins tc_*: check existence of "tc" during autoconf
2018-09-18 03:07:05 +02:00
Lars Kruse
272220c61a
Merge branch 'fix-autoconf-exitcode'
...
Various plugins still followed the old (before 2009?) convention of using
a non-zero exitcode for indicating "no". Most of these (obvious) occasions
should be fixed now.
2018-09-16 15:18:01 +02:00
Lars Kruse
9cef55a3ed
Restructure incomplete or broken "autoconf" implementations
...
Some plugins with non-zero autoconf exitcodes (it must be zero instead)
deserved a bit of code cleanup for improved readability.
2018-09-16 15:17:14 +02:00
Lars Kruse
46e2de55de
Remove unused "autoconf" handling from plugins without this capability
...
Some plugins contained code for handling "autoconf" (always returning
"no") but did not announce the respective capability via the magic
marker.
2018-09-16 15:13:38 +02:00
Lars Kruse
2ec4e4c1f7
Improve incorrect or unspecific output for "autoconf"
...
Some plugins emit wrongly formatted "no" messages or lack the "yes"
message on success.
2018-09-16 15:13:38 +02:00
Lars Kruse
e4cd049b01
Fix trivial instances of wrong autoconf exitcodes
2018-09-16 04:03:31 +02:00
RubenKelevra
f3347821e5
network.tc*: add the ability to detect systemd based network device names
2018-09-10 20:03:22 +02:00
Lars Kruse
81833d05e8
Merge pull request #938 from Neraud/git_commit_behind_fixed_shell
...
Git commit behind fixed shell
2018-09-10 19:15:44 +02:00
Lars Kruse
99f6979f22
Merge pull request #934 from sumpfralle/jstat-plugins
...
jstat plugins: various improvements
2018-08-26 01:33:04 +02:00
Lars Kruse
0ddc7e2fec
Plugins jstat__*: add format examples
2018-08-26 01:31:20 +02:00
Lars Kruse
67f9783780
Plugins jstat__*: fix shellcheck issues; switch from bash to sh
2018-08-26 01:31:20 +02:00
Lars Kruse
f5e6d7ea17
Plugins jstat__*: add support for Java 1.8
2018-08-26 01:31:20 +02:00
Lars Kruse
3398ff3c0c
Plugins jstat__*: simplify handling of different JVM types
2018-08-26 01:31:20 +02:00
Lars Kruse
4c755fd4a7
Plugins jstat__*: mention 'graphtitle' setting in documentation
2018-08-26 01:26:43 +02:00
Lars Kruse
7a52b37509
Plugins jstat__*: improve detection of default JAVA_HOME
2018-08-26 01:26:43 +02:00
Lars Kruse
6af31ea318
Plugins jstat__*: simplify handling of environment settings
2018-08-26 01:26:43 +02:00
Lars Kruse
7e2f73be62
Merge pull request #933 from sumpfralle/plugin-feinstaubsensor
...
Add plugin "feinstaubsensor"
2018-08-24 22:29:05 +02:00
Lars Kruse
4becc789de
Plugin ceph_osd: improve style and documentation
2018-08-24 22:04:59 +02:00
Lars Kruse
cc015cccc1
Merge pull request #927 from LCAC/lcac-patch-ceph
...
Use JSON format to obtain data from 'ceph -s'
2018-08-24 21:59:07 +02:00
Lars Kruse
ab3d97fca9
Plugin asterisk: fix typos for "unknown" dataset
...
The "draw" configuration as well as the "value" were ignored.
2018-08-22 19:44:48 +02:00
Neraud
646a6c6985
Fixed user detection.
...
The USER environment variable is not populated when the plugin is executed. Switched to checking the effective user.
2018-08-22 18:34:02 +02:00
Neraud
d5caa85c06
Fixed error when using a user which doesn't have a default shell (like the default munin user on Debian/Ubuntu)
2018-08-22 15:37:43 +02:00
Lars Kruse
f7e6511f23
Merge pull request #924 from Neraud/git_commit_behind
...
Added git_commit_behind
2018-08-04 20:04:48 +02:00
Neraud
694226247b
Added example graphs
2018-08-04 18:08:34 +02:00
Neraud
e29c89c0fa
Removed the use of the DEBUG environmant variable, kept only MUNIN_DEBUG
2018-08-04 17:56:23 +02:00
Neraud
eb9681a7cc
Changed the graph_category to file_transfer
2018-08-04 17:37:33 +02:00
Neraud
0d5384516c
Improved CONFIGURATION comment to better describe the user property
2018-08-04 17:36:32 +02:00
Neraud
1027f5e57a
Fixed NOTES comment to better explain the fetch munin/cron modes
2018-08-04 17:35:59 +02:00
Neraud
81b129dd81
Renamed get_info to print_info
2018-08-04 17:31:20 +02:00
Neraud
d079f0fa95
Improved the update methods : added the munin mode
2018-08-03 16:40:16 +02:00
Neraud
61241b8082
Improved munin state file handling
2018-08-03 16:40:11 +02:00
Neraud
c169373f21
Improved shell command generation to protect the injected configuration values
2018-08-03 16:40:05 +02:00
Neraud
e0b243ba93
Improved how the statefile last modified date is updated
2018-08-03 16:40:01 +02:00
Neraud
7bc4d133d9
Improved configuration documentation
2018-08-03 16:39:55 +02:00
Neraud
397052a8e3
Misc code improvements
2018-08-03 16:39:49 +02:00
Lars Kruse
b115cb2b7c
Plugin postfix-rbl-blocked-mails: shellcheck cleanup; switch to /bin/sh
2018-08-03 13:08:18 +02:00
Lars Kruse
9e47c112b9
Plugin postfix-rbl-blocked-mails: count by top-level-domain
...
It looks like the spamhaus domain changed from sbl-xbl.spamhaus.org to
zen.spamhaus.org. The same may have happened for other RBL domains.
Thus we just filter by the top level domain (instead of the specific
sub-domain).
2018-08-03 13:05:42 +02:00
Lars Kruse
e77b778c91
Plugin postfix-rbl-blocked-mails: separate count function
2018-08-03 13:05:16 +02:00
Lars Kruse
f3525cfa4a
Plugin postfix-rbl-blocked-mails: unify whitespace
2018-08-03 13:00:34 +02:00
Lars Kruse
d4320aea82
Plugin postfix-rbl-blocked-mails: improve autoconf output
2018-08-03 12:59:16 +02:00
Lars Kruse
17f784270a
Whitespace cleanup
...
* remove trailing whitespace
* remove empty lines at the end of files
2018-08-02 02:33:25 +02:00
Lars Kruse
ef851f0c34
Plugin cpu-usage-by-process: fix shellcheck issues
2018-08-02 02:33:25 +02:00
Lars Kruse
b59ec071a5
Plugin cpu-usage-by-process: fix autoconf output
2018-08-02 02:33:25 +02:00
Lars Kruse
45290417ab
Plugins eoc_subscribers_count: fix shellcheck issues
2018-08-02 02:33:25 +02:00
Lars Kruse
9c1689fbef
Plugin proftpd_count: fix shellcheck issues
2018-08-02 02:33:25 +02:00
Lars Kruse
b925a10155
Plugin proftpd_bytes: fix shellcheck issues
2018-08-02 02:33:25 +02:00
Lars Kruse
e62a8e3142
Plugin proftpd_count: fix autoconf handling
2018-08-02 02:33:25 +02:00
Lars Kruse
68eddb5865
Plugin proftpd_bytes: fix autoconf handling
2018-08-02 00:06:14 +02:00
Lars Kruse
33e95e6ff9
Review and unify category assignments of plugins
2018-08-01 23:56:56 +02:00
Lars Kruse
c8df9ab4e9
Plguin xen_memory: change 'draw' style from lines to AREASTACK
2018-08-01 23:53:04 +02:00