Commit Graph

3419 Commits

Author SHA1 Message Date
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
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
Bert Peters bda54ebba2
Fix broken link in plugin README
Missing protocol caused it to link to a nonexistent place on github.
2018-03-15 10:48:41 +01:00
sumpfralle 0bc714aa29
Merge pull request #844 from mxjeff/missing_apiid
Add missing appid in URL
2018-03-14 00:25:14 +01:00
Lars Kruse e59e2d0151 move plugin documentation to separate README 2018-03-10 18:18:11 +01:00
Lars Kruse f08727035f solaris-memstat: fix shellcheck issue 2018-03-09 06:09:54 +01:00