Kael Shipman
eda5c9b4b4
Implemented minor changes as suggested by maintainer
2018-10-17 20:32:44 -05:00
Lars Kruse
e4e5d3631c
Accepted suggestion from maintainer
2018-10-17 20:28:04 -05:00
Kael Shipman
161f2bb534
Added print_{warning,critical} for greater flexibility
...
Updated to allow admin to set custom values for warning and critical levels for all `$state` fields.
2018-10-17 17:10:21 -05:00
Filippo Tessarotto
caf3b6c90f
Nginx error: log files may be empty
2018-10-17 08:44:02 +02:00
Lars Kruse
a2ebe02412
Merge pull request #952 from Neraud/debsecan
...
Improve documentation of debsecan_ plugin and add example graphs
2018-10-17 04:46:49 +02:00
Lars Kruse
39d6b73c5f
doc: change link for plugin example graphs to the guide
2018-10-17 03:08:25 +02:00
Neraud
3bc4979f3f
Fixed example graphs file names
...
Renamed from debsecan_pkg-FOO.png to debsecan_-FOO.png
2018-10-16 22:27:51 +02:00
Neraud
01e7e90dc5
Added example graphs for debsecan_pkg
2018-10-16 12:39:21 +02:00
Neraud
1eb83ab6e6
Fixed CONFIGURATION documentation
2018-10-16 12:38:42 +02:00
JTSage
556c536c26
Add a plugin for unifi (Ubiquity) gear
...
Plugins available:
* unifi_api - Providing the following graphs:
* unifi_clients_by_device - Count the number of clients connected on a per-device basis
* unifi_clients_by_network - Count the number of clients connected to each named network
* unifi_device_stats - Get basic stats from each unifi device - cpu, memory, load average, and uptime
* unifi_xfer_by_device - Transfer stats on a per-device basis
* unifi_xfer_by_network - Transfer stats on a per-network basis
* unifi_xfer_by_port - Transfer stats per switch port
* unifi_xfer_by_uplink - Overall transfer with speedtest stats
2018-10-14 13:11:37 -04:00
Mikkel Kirkgaard Nielsen
21c28638e3
Generate cache file if missing
...
Don't exit with error if cache file is missing, instead refrain from sending values and daemonize() in an attempt to generate one.
Invocation using 'config' before generation is successful will fail, as mentioned in #914 , but configuration will get picked up as soon as it is present.
2018-10-04 19:53:31 +02:00
Christopher Desjardins
a5ed119b6e
Add sort to the du command to keep things in order of size
2018-09-20 12:06:05 +02:00
Christopher Desjardins
725d904131
Add clean_path back, it got dropped when clean_fieldname was added
...
This allows you to tidy up your munin dir stats
2018-09-20 12:05:42 +02:00
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