1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00
Commit graph

4332 commits

Author SHA1 Message Date
Rowan Wookey
9e2b918229 Added env to exclude containers from cpu/memory docker graphs
It maybe desirable to not generate stats for ephemeral containers.
This commit adds an env variable EXCLUDE_CONTAINER_NAME which is a regex, if it matches
then the container is excluded from the cpu and memory graphs.
2020-08-14 22:24:56 +02:00
zivillian
ca2484b357 extend workaround for multiple dashes 2020-08-14 01:11:08 +02:00
zivillian
58e371308a extend workaround for multiple dashes 2020-08-14 01:11:08 +02:00
Lars Kruse
21379f5841 Add plugin "rsnapshot_duration"
The plugin monitors the duration of rsnapshot backups for each single
backup source.

The duration is parsed from rsnapshot's log file.  The rsnapshot
configuration setting "loglevel 3" is required.
2020-08-07 02:47:10 +02:00
Anton Shestakov
ce29a0f7ae hwmon: recognize frequencies
Discovered thanks to an RX 570, which can show sclk and mclk via /sys/class/hwmon.
2020-07-19 18:08:28 +02:00
Lars Kruse
bd1302c3f2 Plugin unifi_api: handle missing error fields in response
It seems to be possible, that the response lacks the values for
`rx_errors` and `tx_errors`.  This should not result in warnings due to
undefined values.

Thanks, kboenke!

Closes: #1095
2020-07-12 19:16:31 +02:00
Olivier Mehani
83737c4fe0 [plugins/solar/fronius] Monitor Solar Inverters using the Fronius Solar API
This includes caching of the inverter info with a 12h TTL, so the graph
still renders when the inverter has gone to sleep at night.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>

squash! [plugins/solar/fronius] Monitor Solar Inverters using the Fronius Solar API

Use generic caching function to also cache real-time data. This allows
to avoid N/As overnight, which don't aggregate nicely on the yearly
graph.
2020-07-12 18:30:04 +02:00
Olivier Mehani
a731424cf0 [plugins/weather/wunderground] Add plugin to query station data from Weather Underground
It's a bit backwards, but works a treat when you don't own the station
but want the data in a better format.

Includes warnings on UV and heat indices, and visible lines for wind
direction and indices.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-07-12 18:28:14 +02:00
Gunnsteinn Þórisson
7dc76c873f Replace split with explode
`split` was deprecated in PHP 5.3.0 and removed in PHP 7.0.0, `explode`
is a drop-in replacement.
2020-07-08 21:34:22 +02:00
Rowan Wookey
54c9563274 Modified http_request_time to allow specifying a user agent
Similar to other settings for this plugin, there is a new
env.urlN_agent setting which allows specifying a user agent
2020-07-08 21:23:15 +02:00
Lars Kruse
31f64337b6 Plugin sabnzbd_*: fix compatbility with SABnzbd 3.x
The change is probably compatible with SABnzbd 2.x, as well.

Thanks, waywit for the change proposal.

Closes: #1082
2020-05-16 17:05:00 +02:00
Doctor
24f4883777 Change regex to match "prepend" pattern 2020-04-29 18:00:24 +02:00
Rowan Wookey
8939111823 Fixed autoconf on http_request_time
Previously it would error since the $url variable is
the array key isn't the url to check it's a santized version
2020-04-27 20:02:43 +02:00
Alejandro Suarez
699158fd17 Requirements workaround due to #1073 2020-04-25 05:55:08 +02:00
Alejandro Suarez
475fe56df2 Removed requirement
Some routers doesn't have temperature sensors
2020-04-25 05:55:08 +02:00
Alejandro Suarez
3032db4890 Added monitoring of router temperature 2020-04-25 05:55:08 +02:00
Romain MAZIERE
0cfcf2ccbf Fix geowebcache-bandwidth 2020-04-25 05:33:53 +02:00
Romain MAZIERE
46f383f92c Fix geowebcache-blankitems 2020-04-25 05:33:31 +02:00
Romain MAZIERE
5a37346602 Fix geowebcache-cache-hits-ratio 2020-04-25 05:25:17 +02:00
Lars Kruse
f6738f415e Plugin apache_memory: fix title description formatting
The plugin gallery and "munin-run" relies on a space after the hyphen.
2020-04-21 20:14:04 +02:00
Lars Kruse
dbaeb0253c Plugins apache_tmemory and apache_servers: multiple changes
* use base SI units for memory consumption
  (breaks graph values compared to older version)
* fix quoting for regular expressions
* use common defaults for configuration settings
2020-04-21 20:11:27 +02:00
Lars Kruse
16ab1d10e1 Plugin apache_memory: fix spelling and mark as clean 2020-04-21 20:02:04 +02:00
Lars Kruse
991d0ab573 Merge branch 'plugins-apache-memory' 2020-04-21 19:52:48 +02:00
Lars Kruse
62ff5981d2 Rename plugin "apache_memmory" to "apache_memory"
The original name was misspelled.
2020-04-21 19:51:52 +02:00
Lars Kruse
e7fbfe0b8b Plugin apache_memory: use base SI units for result
Munin will take care for proper units dynamically.

This breaks previously existing graphs.
2020-04-21 19:51:02 +02:00
Lars Kruse
d8fd604e8f Plugin apache_memory: improve title 2020-04-21 19:46:34 +02:00
Lars Kruse
1ac5fbdfe0 Plugin apache_memory: fix quoting 2020-04-21 19:46:34 +02:00
Lars Kruse
dd41152cdd Plugin apache_memory: properly quote patterns and simplify calculation
Previously the calculation had some issues:
* patterns with whitespace caused errors
* the number of processes could change between the steps for
  counting and averaging
* handle "no match" properly (returning "U" - unknown - instead of an
  error)
* avoid calculation based on unsafe "eval"
2020-04-21 19:46:34 +02:00
Lars Kruse
b087127c04 Plugin apache_memory: unify whitespace 2020-04-21 19:46:32 +02:00
Lars Kruse
edb4e1e81b Plugin apache_memory: specify common default values
Previously the plugin did not work without configuration.
Now it should work on many systems out of the box.
2020-04-21 19:40:04 +02:00
Pierre-Alain TORET
71f9280576 change Python iteritems by items 2020-04-21 19:23:18 +02:00
Pierre-Alain TORET
168f6f924f display units for tor_traffic 2020-04-21 19:23:18 +02:00
Vincas Dargis
9a2a81381c bitcoind_: return support for older Bitcoin Core versions
Refactor to take Bitcoin Core minor version into consideration,
and use that to implement legacy version support.
2020-04-21 18:55:25 +02:00
Vincas Dargis
15f1055e2c bitcoind_: update for Bitcoin Core v0.19.0 release
* Use new RPC calls to get relevant statistics, as some calls are either
deprecated or completely removed.

* Fix response printing when MUNIN_DEBUG is set.

* Remove "fees" graph as there is no sane way to implement that.

* Add missing success return.
2020-04-21 18:55:25 +02:00
Lars Kruse
642b48a4f7 Plugin postgres_queries3: fix documentation
Thanks, Romain Maziere

Closes: #1067
2020-04-21 11:03:41 +02:00
Rowan Wookey
fcd2af7b07 Improved docker_ performance when getting CPU/Memory stats
Added parallel processing using python's muliprocessing module
to fork a new process each for each docker container when gathering
stats.

This vastly improves performance since using a for loop the script
blocks until the stats are returned.
2020-04-18 15:43:07 +02:00
Rowan Wookey
5392e84b8a Fixed warnings generated by total_by_process_
Fixed the following:

* Argument "config" isn't numeric in numeric eq (==) at line 89.
* Use of uninitialized value $ARGV[1] in string eq at line 35
2020-04-18 04:17:55 +02:00
Olivier Mehani
90ccaf4b06 [router/freebox] fix vlabel
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-04-17 13:42:35 +02:00
Sebastian L
667ee02b67 Small fix for nextcloud_apps_multigraph 2020-04-15 16:42:04 +02:00
Sebastian L
33af56af2a Simple multigraph plugin for nextcloud 2020-04-15 16:42:04 +02:00
Sebastian L
3ee9de82dc Split videostreams in separate graph for better readability 2020-04-12 21:40:14 +02:00
Younes Ichiche
3693adb343 fix multicall arg 2020-04-05 21:13:39 +02:00
Younes Ichiche
34c2bc57bc extra arg for multicall2 was missing in _vol 2020-04-05 21:13:39 +02:00
Younes Ichiche
439c0a20b4 fix argument for socket version get 2020-04-05 21:13:39 +02:00
Younes Ichiche
bf2eff5c6c fix function name 2020-04-05 21:13:39 +02:00
Younes Ichiche
3886860089 loop over every socket/port to get the version and use it afterwards as cache 2020-04-05 21:13:39 +02:00
Younes Ichiche
9534979768 get the version from rtorrent out of the loop and cache it already to avoid SOCK to be overwritten 2020-04-05 21:13:39 +02:00
Younes Ichiche
54ad1ad4d5 discovering the version of rtorrent, and depending on that, using the correct functions in the xmlrpc call 2020-04-05 21:13:39 +02:00
Younes Ichiche
3cb7002287 Aligning rtorrent rtrom_ modules same way as rtom_allsessions_ 2020-04-05 21:13:39 +02:00
Sebastian L
0af7f4386f Rename plugin folder, check for json 2020-04-05 00:05:10 +02:00