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
Lars Kruse
5b2396a972
Merge pull request #929 from sumpfralle/plugin-postfix-rbl-blocked-mails
...
Plugin postfix-rbl-blocked-mails: various improvements
2018-08-04 12:02:41 +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
Lars Kruse
4d2d1fb94b
Plugins xen_*: fix 'autoconf' logic and exitcode
2018-08-01 23:51:50 +02:00
Lars Kruse
4b4a6a01e1
Plugins xen_*: fix shellcheck issues
2018-08-01 23:51:11 +02:00
Lars Kruse
0987cf33a2
Plugin virtualbox_*: fix shellcheck issues
2018-08-01 23:30:00 +02:00
Lars Kruse
1ed78789c1
Plugin zapchans: fix shellcheck issue
2018-08-01 23:25:07 +02:00
Lars Kruse
2f5a2a7913
Plugin radwho_cnt: fix shellcheck issues
2018-08-01 23:09:37 +02:00
Lars Kruse
c6c9e5b41e
Move 'update' plugin to munin directory
2018-08-01 23:05:51 +02:00
Lars Kruse
ade3b205bc
Move 'qstatcod4and5_' to quake directory
2018-08-01 23:05:10 +02:00
Lars Kruse
57367ce98c
Plugin qstatcod4and5_: fix shellcheck issues
2018-08-01 23:04:43 +02:00
Lars Kruse
eb9019d6ed
Move munin-related plugins to 'munin' directory
2018-08-01 22:46:05 +02:00
Lars Kruse
7c3074b5f0
Adjust categories for some mail-related plugins
2018-08-01 22:32:40 +02:00
Lars Kruse
01c2f1ca2d
Change category for plugins from 'network' to 'wireless'
2018-08-01 22:29:44 +02:00
Lars Kruse
c71c2ebb88
Add plugin 'wireless_channel_active_'
2018-08-01 22:22:20 +02:00
Lars Kruse
fdb2bb0d55
fix wrong example-graph filenames
2018-08-01 22:19:04 +02:00
Lars Kruse
d01aa273a7
Merge pull request #923 from smith153/master
...
Fix Odd number of elements in hash at linux_diskstat_ line 321
2018-07-24 01:54:38 +02:00
Lars Kruse
15d05f30c1
Revert "nginx_byprojects: use more compatible perl expression"
...
This reverts commit a836f07d56
.
Closes : #922
2018-07-23 02:35:54 +02:00
Neraud
a26b9e8db6
Added git_commit_behind
2018-07-20 12:13:56 +02:00
Samuel Smith
37b533a5c3
Fix Odd number of elements in hash at linux_diskstat_ line 321
...
Reading from /sys/block/*/stat does not provide the disk major and minor
numbers (versus reading from /proc/diskstats). When saving the disk data
back to a temp state file, these empty values for the disk major and
minor numbers get turned into undef values on state restore.
On the line: `my ( $prev_time, %prev_diskstat ) = restore_state();`
`%prev_diskstat` will 'slurp' up all returned values from the function
call (converting the list into key value pairs) but if one of last
values is from the major or minor number (which will be undef), the key
(major or minor) will be sent but the undef value will not be
sent. Hence this results in an attempted hash assignment where one of
the key values pairs is missing a value and thus the 'Odd number of
elements in hash assignment ' warning is thrown.
2018-07-18 13:22:27 -05:00
Lars Kruse
b35840c5d0
Plugin rtom_allsessions_*: mention the default API version
2018-07-15 17:23:44 +02:00
Lars Kruse
579548697c
Merge pull request #921 from sulaweyo/master
...
rtorrent version 0.9.7 compatible
2018-07-15 17:18:15 +02:00