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

3323 commits

Author SHA1 Message Date
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
Lars Kruse
23811e3490 Plugin etherscan_balance_: fix style issues; change to python3 2018-03-27 04:59:57 +02:00
Lars Kruse
86692d7021 Plugin sockstat-via-procfs: fix style issues 2018-03-27 04:56:30 +02:00
Lars Kruse
7f3ce96632 Plugin monit_parser: fix style issues 2018-03-27 04:55:14 +02:00
Lars Kruse
417bebc316 Plugin weather_press_: fix style issues 2018-03-27 04:53:05 +02:00
Lars Kruse
e8dd273047 Plugin bacula_sd: fix type issues 2018-03-27 04:53:05 +02:00
Lars Kruse
9810644390 Plugin prosody_: fix style issues 2018-03-27 04:53:05 +02:00
Lars Kruse
585f6f1539 various plugins: fixed small style issues 2018-03-27 04:53:05 +02:00
Lars Kruse
47a97d56fa Plugin glance_size_: fixed style issues 2018-03-27 04:30:53 +02:00
Lars Kruse
e216f1be01 Plugin: weather_temp_: fix style issues 2018-03-27 04:21:46 +02:00
Lars Kruse
34840ad9db Plugin weather_: fixes style issues 2018-03-27 04:21:34 +02:00
Lars Kruse
a4a9e755b5 Plugin sphindex_: fix style issues 2018-03-27 04:14:26 +02:00
Lars Kruse
fa896dffaa Plugin bacula_job: various improvements, flake8-clean
* avoid hiding builtins with variable names (input, bytes, str)
* return exitcode=0 for autoconf "no"
* unify indentation
* fix all issues reported by flake8
2018-03-27 04:02:37 +02:00
Lars Kruse
3533998c5b remove executable permissions from example graphs 2018-03-27 00:49:24 +02:00
Pierre-Alain TORET
ba2640da34 Fix shellcheck warnings in strelaysrv_
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-24 20:40:37 +01:00
Pierre-Alain TORET
ccee75e1eb Change variables names to more readable ones in strelaysrv_
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-24 20:40:22 +01:00
Pierre-Alain TORET
cc24efff2d Add strelaysrv plugin
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-24 20:39:59 +01:00
Pierre-Alain TORET
f1afd73f71 Fix shellcheck warnings in syncthing_
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-24 20:39:47 +01:00
Pierre-Alain TORET
5d5651ca09 Change variables names to more readable ones in syncthing_
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
2018-03-24 20:38:33 +01:00
Lars Kruse
6c42d08476 rpi_temp: remove unused variables (causing shellcheck failure) 2018-03-24 16:29:44 +01:00
Lars Kruse
f360f189fd rpi_temp: remove dependency on 'bc' 2018-03-24 16:28:06 +01:00
Lars Kruse
82f76ceafb multicpu1sec: move back to proper location; fix example graph filenames 2018-03-24 06:11:31 +01:00
Lars Kruse
989f09e66c rename plugin example graphs for plugin gallery visualization
Some example graphs did not follow the naming convention required by the
plugin gallery.
2018-03-24 04:03:08 +01:00
Pascal Seeland
051ee8eae7 Add Munin ILIAS plugin 2018-03-19 11:48:00 +01:00