Commit Graph

3419 Commits

Author SHA1 Message Date
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
Xavier Serrano 273f69f553 Execute 'ceph -s' only once to get data 2018-07-25 11:32:41 +02:00
Xavier Serrano 4ac9c7ba2e
Use JSON format to obtain data from 'ceph -s'
'ceph -s' text output format strongly depends upon ceph version. Using JSON format to obtain data works across different ceph versions.
2018-07-25 10:49:58 +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
Sledge Sulaweyo 143a9543c4 switch default API to current 2018-07-15 15:14:39 +02:00
Lars Kruse 14436e808e Plugin multibandwidth: fix 'applicable systems' documentation hint 2018-07-11 20:42:03 +02:00
Lars Kruse ecc6e30d55 Plugin multibandwidth: unify whitespace 2018-07-11 20:42:03 +02:00
Lars Kruse 5fb2e02eab Plugin multibandwidth: explicit handling of configuration variables 2018-07-11 20:40:31 +02:00
Lars Kruse 580a39ed41 Plugin multibandwidth: rename environment setting for limiting the valid range 2018-07-11 20:40:31 +02:00
Lars Kruse ade6f5f228 Plugin multibandwidth: proper handling of invalid values 2018-07-11 20:40:31 +02:00
Lars Kruse 49aecf4e0e Plugin multibandwidth: simplify speed calculation 2018-07-11 20:40:31 +02:00
Jose Manuel Febrer Cortés 1ae4ac09da Update multibandwidth
I will update more changes in the next days
2018-07-11 20:40:31 +02:00
Jose Manuel Febrer Cortés a1cc26f2d3 Update multibandwidth
bing have some random spikes. Added a variable that is used to indicate the maximum value of mbps that can be recorded (in bps).
2018-07-11 20:40:31 +02:00
Lars Kruse 651f6ac056 Plugin minecraft-users-ram_: return "U" if no value can be retrieved 2018-07-11 19:35:32 +02:00
Lars Kruse f6a8f2beb1 Plugin minecraft-users-ram_: reduce scope of LC_LANG override 2018-07-11 19:35:32 +02:00
Lars Kruse 00149864b2 Plugin minecraft-users-ram_: more precise netstat output filtering 2018-07-11 19:35:32 +02:00
Lars Kruse 94f46d392b Plugin minecraft-users-ram_: simplify calculation; do not reduce accuracy 2018-07-11 19:35:32 +02:00
Lars Kruse 51e91e9354 Plugin minecraft-users-ram_: more quoting, simpler output 2018-07-11 19:35:32 +02:00
Lars Kruse fed6ff1079 Plugin minecraft-users-ram_: add documentation header 2018-07-11 19:35:32 +02:00
Leandro Späth 99a5c384b0 fixed CPU percent calculation 2018-07-11 19:35:32 +02:00
Leandro Späth 353c0fc063 Added rough CPU usage reading
Also translated strings to english
2018-07-11 19:35:32 +02:00
Lars Kruse 7a37bfb1d8 Plugins: unify shebang for ruby scripts 2018-07-11 19:35:32 +02:00
Sledge Sulaweyo 348776e66b fix category to be the same on all 2018-07-11 17:21:38 +02:00
Sledge Sulaweyo 51927e79f3 again formating 2018-07-10 17:04:22 +02:00
Sledge Sulaweyo 121448e72d fix indentation, rename lagacy to pre09 2018-07-10 16:58:28 +02:00
Sledge Sulaweyo 8bfb81806d drop seperate files and make api version configureable 2018-07-06 16:41:11 +02:00
Sledge Sulaweyo 91fc3e72c2
Update rtom_allsessions_097_vol
fix version
2018-07-02 21:03:01 +02:00
Sledge Sulaweyo 592876ea1a
Update rtom_allsessions_097_peers
fix version
2018-07-02 21:02:45 +02:00
Sledge Sulaweyo 74692d0d90
Create rtom_allsessions_097_vol
Add 0.9.7 compatible version
2018-07-02 21:01:09 +02:00
Sledge Sulaweyo 3be6c4f8a5
Create rtom_allsessions_097_peers
Add 0.9.7 compatible version
2018-07-02 21:00:35 +02:00
Sledge Sulaweyo ea77d6f358
Create rtom_allsessions_097_mem
Add 0.9.7 compatible version
2018-07-02 20:59:40 +02:00
Sledge Sulaweyo 791e47a3a4
Create rtom_allsessions_097_spdd
Add 0.9.7 compatible version
2018-07-02 20:58:53 +02:00
Wanpeng Qian 8ccf6e8ef4 change dependency from gawk to awk 2018-06-13 12:01:04 +09:00
Lars Kruse e0b74c69d7 kvm_net: add technical details to 'graph_info' 2018-06-10 22:04:39 +02:00
Lars Kruse e0df6aa788 kvm_net: improve the network interface name parser and admit its limits
The network interface parser of this plugin was overly specific before.
It relied on a specific format of the arguments handed over to kvm while
starting the VM.  For example the following format was usable:

  ... -netdev tap,ifname=foo,...

But kvm/qemu support a variety of ways for configuring network
interfaces via the commandline.  E.g. libvirt does not use the "ifname"
parameter above.  Thus VMs running on a host controlled via libvirt
cannot be tracked with this plugin.

This limititation is now clearly documented in the header of the plugin.
2018-06-10 22:04:39 +02:00
Lars Kruse b6c6a02efe kvm_net: update VM name parsing
The old parser seemed to rely on a simple "-name foo" argument format of
kvm/qemu. The changed parser also accepts the following formats:
* name,foo=bar,baz=bot
* guest=name,foo=bar
2018-06-10 22:04:39 +02:00
Lars Kruse 54330cc3e6 kvm_net: simplify argument handling 2018-06-10 22:04:39 +02:00
Lars Kruse 89e4dd6420 kvm_net: avoid shell when using Popen 2018-06-10 22:04:39 +02:00
Lars Kruse aa8f1a59c4 kvm_net: fix python code style issues 2018-06-10 22:04:39 +02:00
Lars Kruse a9059703a6 kvm_net: switch to perldoc documentation header 2018-06-10 22:04:39 +02:00
Lars Kruse 3267bbd0ef kvm_net: switch to python3 2018-06-10 22:04:39 +02:00
Lars Kruse 67cc769c87 kvm_net: use print function for python3-compatibility 2018-06-10 22:04:39 +02:00
Lars Kruse f6080f5f8e kvm_net: unify whitespace 2018-06-10 22:04:39 +02:00
Lars Kruse 7f98e21f2b kvm_net: unify quoting 2018-06-10 17:51:34 +02:00
Lars Kruse e87d3a6b3c kvm_net: remove unused function 'find_vms_tap' 2018-06-10 17:51:34 +02:00
Lars Kruse 196c057201 lxc_ram: simplify config with/without 'areastack' 2018-06-10 14:54:15 +02:00
Lars Kruse a0cafdcf1f lxc_ram: add support for DIRTYCONFIG 2018-06-10 14:50:32 +02:00
Lars Kruse 2ce1b3211a lxc_ram: use functions for actions 2018-06-10 14:49:53 +02:00
Lars Kruse 937ed37dae lxc_ram: unify whitespace 2018-06-10 14:47:00 +02:00
Lars Kruse a49b362e35 lxc_ram: change from bash to sh 2018-06-10 14:42:10 +02:00
Lars Kruse aaee069971 lxc_ram: fix shellcheck issues 2018-06-10 14:41:53 +02:00
Lars Kruse 8a5b34c9c8 lxc_ram: simplify quoting 2018-06-10 14:35:12 +02:00
sumpfralle 76ddb809a5
Merge pull request #738 from mittyorz/lxc
Ubuntu 14.04 support, new graph option
2018-06-10 14:29:33 +02:00
sumpfralle 8647618f95
Merge pull request #864 from adekock11/patch-1
Allow to specify database password
2018-06-10 14:16:33 +02:00
Lars Kruse e93a46bc76 postgresql_transactions: use perldoc documentation header 2018-06-10 14:06:48 +02:00
Lars Kruse 3c10c360cd postgresql_transactions: configurable host and user 2018-06-10 14:06:30 +02:00
Lars Kruse 154cef14c5 postgresql_transactions: add support for DIRTYCONFIG 2018-06-10 13:58:31 +02:00
Lars Kruse fdf6cea2b1 postgresql_transactions: change from bash to sh; fix shellcheck issues 2018-06-10 13:56:07 +02:00
Lars Kruse 93a567afbc postgresql_transactions: use DERIVE instead of COUNTER 2018-06-10 13:54:35 +02:00
André de Kock 97ab640be8 Change commit and rollback types to "COUNTER"
By doing this, munin knows to take the difference of each request, thereby showing you a true commit and rollback "per minute"
2018-06-10 13:50:34 +02:00
Lars Kruse d885345ecf fix location of example graph for 'tl_sg' 2018-06-10 12:25:58 +02:00
sumpfralle aa5fb255ea
Merge pull request #894 from mad-ady/master
Add support for monitoring packets and link status for TPLink SG108E …
2018-06-10 12:22:16 +02:00
sumpfralle c5774e62df
Merge pull request #913 from Cyclenerd/master
Plugin to get hashrate of Flypool Zcash mining pool
2018-06-10 12:08:30 +02:00
Lars Kruse 8e37e4802a add example graphs for sshd_log plugin
Contributed by Niluge-KiWi:
  https://github.com/munin-monitoring/contrib/pull/770/files
2018-05-28 10:58:15 +02:00
sumpfralle 63dd4ac877
Merge pull request #773 from Niluge-KiWi/sshd_log_journald_cursor
other/sshd_log: use DERIVE datatype and support logs from journald too (using cursors)
2018-05-28 01:51:02 +02:00
Lars Kruse ee3b1cba8c plugin's readme: fix broken sentence 2018-05-25 23:53:26 +02:00
Lars Kruse 1bd6a6411d add plugin "feinstaubsensor" 2018-05-10 14:55:04 +02:00
Thomas Riccardi 8f68d6e697 sshd_log: allow both types GAUGE and DERIVE, default to GAUGE
In fact for journald mode internally it really is type ABSOLUTE, because
we use journald cursor to get only new logs on each collect. It results
in the same value as with a plain log file and type DERIVE: it's the
rate of events.

type=DERIVE is best for servers with lots of ssh traffic.
2018-04-29 01:49:43 +02:00
Thomas Riccardi cdb82255e9 sshd_log: allow multiple journalctl args
Useful for multiple filtering.
At the cost of not being able to pass spaces properly in args, but
that's uncommon.
2018-04-29 01:49:43 +02:00
Thomas Riccardi e178be6432 sshd_log: fix label typo 2018-04-29 01:49:43 +02:00