2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
Commit Graph

3891 Commits

Author SHA1 Message Date
Wanpeng Qian
8ccf6e8ef4 change dependency from gawk to awk 2018-06-13 12:01:04 +09:00
Lars Kruse
7b46292cb4 Merge branch 'plugin-kvm_net'
Closes: #916
2018-06-10 22:05:03 +02: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
db211fc72f Merge branch 'lxc_ram-cleanup' 2018-06-10 14:55:01 +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
3cb684a549 Merge branch 'postgresql_transactions-cleanup'
Various small improvements of this trivial plugin.
2018-06-10 14:09:42 +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
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
Thomas Riccardi
bc1e78ae5a sshd_log: remove env.category: it should not be configurable 2018-04-29 01:49:43 +02:00
Thomas Riccardi
26181ead33 sshd_log: POD style documentation 2018-04-29 01:49:43 +02:00
Thomas Riccardi
ff68f64155 sshd_log: cleanup autoconf
* always return 0
* add details on autoconf failure
2018-04-29 01:49:43 +02:00
Thomas Riccardi
c04acf95ac sshd_log: fix shellcheck warnings 2018-04-29 01:49:43 +02:00
Thomas Riccardi
e6a18b5a5b sshd_log: use DERIVE datatype and support logs from journald too
Now shows the number of events per time unit, instead of a counter
always increasing until logrotate.

To use journald, set env.logfile to special value 'journald': It will
read the sshd logs from journalctl _COMM=sshd.
To configure the source of journald, set env.journalctlarg:
Example: "env.journalctlarg --unit=sshd.service"
2018-04-29 01:49:43 +02:00
sumpfralle
bd174786d6
Merge pull request #911 from pawohl/master
Add ILIAS plugin
2018-04-23 20:36:48 +02:00
Felix Pahlow (private)
890e971c2c ILIAS plugin v2: Use bash+CLI and combine graphs
Combine multiple graphs into one as suggested by
@sumpfralle.
2018-04-23 11:32:07 +02:00
Lars Kruse
b745a75ced plugin ipset: add support for DIRTYCONFIG capability 2018-04-18 04:06:44 +02:00
Lars Kruse
4b9fcc0bcc plugin ipset: use "set -eu" 2018-04-18 04:05:06 +02:00
Lars Kruse
919991eef3 plugin ipset: fix shellcheck issues 2018-04-18 04:04:15 +02:00