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

3346 Commits

Author SHA1 Message Date
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
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
Tomas Mudrunka
0bb9b58803 removed exit 2018-04-17 12:28:59 +02:00
Tomas Mudrunka
ccebcb7b4f Modified ipset according to #734 2018-04-17 01:17:57 +02:00
Tomas Mudrunka
616bbd931e Merge https://github.com/munin-monitoring/contrib 2018-04-17 00:56:31 +02:00
Steve Schnepp
a720b6c9dc p/multicpu1sec-c: fix stackoverflow in acquire()
When acquire() cannot open/create the cache file, it wrongly called
itself.

A fatal error is now thrown instead
2018-04-16 19:54:51 +02:00
Steve Schnepp
0a40358f9e p/*1sec-c: improve error handling 2018-04-16 19:48:06 +02:00
adrianp
8be3410942 Sample graph of traffic 2018-04-16 15:21:03 +03:00
adrianp
adbc670d0f Changed link speed graphs to area instead of line for better visibility 2018-04-13 14:29:13 +03:00
adrianp
38403565c4 Documentation for multiple instances and fake host, Link speed labels documented and drawn as different colors 2018-04-13 13:52:17 +03:00
adrianp
83a8cfc77d Cleaned-up documentation, added config option for number of ports, renamed switch ip to hostname, added optional TCP port, changed category from switch to network 2018-04-12 16:07:32 +03:00
adrianp
c043a89765 Renamed plugin name to allow a broader range of devices to reuse it 2018-04-12 15:51:08 +03:00
Steve Schnepp
52905275b8 p/multicpu1sec-c: use stdlib IO 2018-04-11 02:47:49 +02:00
Steve Schnepp
cc0b094938 p/if1sec-c: handle absence of state file 2018-04-10 22:26:15 +02:00
Lars Kruse
c81c20ab3b unify DIRTYCONFIG handling in shell and python plugins
The following issues were fixed:
* comparison too broad (e.g. "0" misinterpreted as "true")
* python: comparing string with number (is never equal in python)
* unwanted non-zero exitcode (compound command "&&" as last command in
  shell code block (e.g. "case" or "if" branch))
* access to unset variable (shell style issue)
2018-04-07 02:17:06 +02:00
Lars Kruse
270be2f59e add new plugin "wireless_signal_ranges_"
monitor an overview for an anonymous (and maybe varying) set of wireless peers
2018-04-04 05:40:13 +02:00
Lars Kruse
4bd1dd52e7 olsrd: add example graphs 2018-04-04 05:40:13 +02:00
Lars Kruse
04b9fc0463 olsrd: various improvements
* support dirty config
* add perldoc header
* flake8 and shellcheck clean
2018-04-04 05:40:13 +02:00
Lars Kruse
9a6d3e449f wireless_signal_noise_: add example graph 2018-04-04 05:40:13 +02:00
Lars Kruse
42f09647f2 wireless_signal_noise_: various improvements
* add perldoc header
* support dirty config
* support "arp" (tool) and /proc/net/arp
* fix autoconf handling
2018-04-04 05:40:13 +02:00
Lars Kruse
97a1b23287 rename wifi_signal_noise_ to wireless_signal_noise_ (upstream name) 2018-04-04 05:40:13 +02:00
Lars Kruse
8c05462d6e wireless_channel_occupation_: add example graph 2018-04-04 05:40:13 +02:00
Lars Kruse
c67420d8aa ath9k: add example graphs 2018-04-04 05:40:12 +02:00
Lars Kruse
127f42aa05 ath9k_: various improvements
* support DFS events
* support dirty config
* fix autoconf
* improve micropython usage
* add support for older kernel modules
2018-04-04 04:22:54 +02:00
Lars Kruse
b182abfd52 move "ath9k_" from network to wifi 2018-04-04 04:20:08 +02:00
Lars Kruse
495d96735a wireless_channel_active_: add example graphs 2018-04-04 04:18:51 +02:00
Lars Kruse
0fad0a30bb wireless_channel_occupation_: move from "network" to "wifi" 2018-04-04 04:17:08 +02:00
Lars Kruse
50dd7cc94e wireless_channel_occupation_: various improvements
* add documentation header
* support dirty config
* fix shellcheck issues
2018-04-04 04:09:41 +02:00
Nils
6a0a0c8d58 use json.loadS 2018-03-30 20:56:12 +02:00
Nils
6ff34af50e set U as default 2018-03-30 14:16:57 +02:00
Nils
8a72386a30 print magic value U if error 2018-03-30 09:58:14 +02:00
Lars Kruse
2b66ed321e plugin xen_cpu_v2: prevent "divide by zero"
Closes: #475
2018-03-30 04:10:14 +02:00
Lars Kruse
e7eb28869c plugins ssl_ and ssl-certificate-expiry: various improvements
* simplify date parsing: use "date" instead of awk's "mktime" (requires gawk)
* simplify structure
* use the same function (copy'n'paste) for both plugins

Closes: #893
2018-03-30 01:53:48 +02:00
sumpfralle
414955f94c
Merge pull request #885 from daftaupe/syncthing
Add syncthing plugin
2018-03-29 20:20:01 +02:00
Pierre-Alain TORET
e541294f9f Clarify the non-declared env variables
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-29 13:15:44 +02:00
Nils
e2db693c0d codecs.getreader ("utf-8") added again
without python3.4 fails
2018-03-29 08:50:21 +02:00
Nils
727fc7180d better except 2018-03-29 08:41:32 +02:00
Nils
d809d138b1 exit if api failed 2018-03-29 08:39:20 +02:00
Nils
f27fc67ccf reader removed 2018-03-29 08:37:53 +02:00
Nils
21341b5a00 python3 only 2018-03-29 08:11:59 +02:00
Lars Kruse
95e2c12485 plugin categories: fixed emc_vnx_file_ and opentracker_ 2018-03-29 02:54:31 +02:00
Lars Kruse
2449118cb7 plugin multiping_async: move to 'network'; fix filename 2018-03-29 02:14:50 +02:00
Lars Kruse
31ee164e76 plugin percona_: fix python style; python3 compatibility 2018-03-29 02:14:50 +02:00
Lars Kruse
63748dc665 plugin relayd: fix category spelling 2018-03-29 02:14:50 +02:00
Lars Kruse
6c59a8971b plugin snmp__juniper: change category from "system" to "fw" 2018-03-29 02:14:50 +02:00
Felix Pahlow
167c204db2 Munin ILIAS plugin: First release 2018-03-28 16:23:34 +02:00
Vincas Dargis
29dd82be36
Fix du-2 to use clean_fieldname()
Update du-2 to fix "No .label provided" error by using clean_fieldname().
2018-03-28 11:43:28 +00:00
Pierre-Alain TORET
44d57dcb7f Fix 2 forgotten backslashes
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-28 10:56:34 +02:00
Lars Kruse
87927d194c plugin apt_ubuntu: various improvements
* fix category parsing for plugin gallery
* python3 compatibility
* zero exitcodes for autoconf failures
* PEP8 clean
2018-03-28 05:57:02 +02:00
Lars Kruse
8e3f1d8865 plugin ksm_: various improvements
* category can be parsed by plugin gallery
* python3 compatible
* more precise autoconf messages
* PEP8 clean
2018-03-28 05:47:36 +02:00
Lars Kruse
62df69c566 plugin cpanp_o: change category from 'other' to 'security' 2018-03-28 04:55:01 +02:00
Lars Kruse
42221b85eb plugin approx: move from 'approx' to 'apt' 2018-03-28 04:50:56 +02:00
Lars Kruse
8d48cab125 plugin approx: various improvements
* python3 compatibility
* return zero autoconf exitcode
* avoid builtin names for variables
* remove cruft comments
* switch to space instead of tabs

All PEP8 issues are fixed now.
2018-03-28 04:45:41 +02:00
Lars Kruse
78d372adf4 Plugin backup: fix quoting 2018-03-28 04:35:49 +02:00
Lars Kruse
34eeebbe37 plugin categories: reorganize multiple plugins 2018-03-28 04:33:45 +02:00
Lars Kruse
5a45d49760 plugin categories: other -> htc (crypto currencies) 2018-03-28 04:31:16 +02:00
Lars Kruse
9995f46c4a plugin categories: other -> cloud 2018-03-28 04:30:14 +02:00
Lars Kruse
4e47cb5d85 plugin categories: other -> sensors 2018-03-28 04:29:25 +02:00
Lars Kruse
1ad3baeb09 plugin categories: other -> voip 2018-03-28 04:28:02 +02:00
Lars Kruse
e79604f7f7 nagios_multi_: fix categories according to well-known category list 2018-03-28 02:40:20 +02:00
Pierre-Alain TORET
e527db57a5 Improve plugins call to status and few other fixes
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-27 18:04:29 +02:00
Pierre-Alain TORET
c594a16484 Add strelay_ example graphs
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-27 16:58:10 +02:00
Nils
4d9a7e2cab Zcash Flypool Hashrate
Munin plugin to monitor your zcash.flypool.org hashrate.
2018-03-27 11:36:14 +02:00
Lars Kruse
6b42464ca7 Plugin deluge_: fix style issues 2018-03-27 05:04:12 +02:00
Lars Kruse
1e717d8901 Plugin swift-dispersion: fix style issues 2018-03-27 05:02:23 +02:00