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

4275 commits

Author SHA1 Message Date
Tim Connors
a1e013892e tasmota: add switch and dimmer state reading capability 2023-12-23 21:09:20 +11:00
Tim Connors
9f2b0adec7 tasmota_: scan for beken devices as well 2023-12-23 21:06:47 +11:00
Tim Connors
f2080448e1
Tasmota voltmeter (#1397)
* added millivolts to tasmota_ to get ANALOG/Range value

* allow to print_thresholds in tasmota plugin

* Experimented with different graph settings to obtain best axis labels

If voltage limits were eg 11 and 14 volts, the labels and limits
default terribly to 10 to 20, and if you fix limits, then labels read
"11, 11, 11, 12, 12, 12, 13, ...".  alt-y-grid and alt-autoscale seem
to improve this a lot

* get_value -> get_status to better reflect what it's doing

* millivolts() forgot to account for invalid value "U"

---------

Co-authored-by: Tim Connors <tconnors@rather.puzzling.org>
2023-11-15 10:02:19 -08:00
Kenyon Ralph
15670c8e6d
Merge pull request #1329 from shtrom/plugin-freebox-url
[router/freebox] Allow to override the default base URL
2023-10-26 12:26:51 -07:00
Tim Connors
891c19b60f documentation fix for critical threshold for nutups2_ plugin 2023-10-19 00:30:18 +11:00
Tim Connors
c66f50b2e0
Nutups2 multiplier (#1313)
* add multiplier_fetch that's much like common_fetch

* moved multiplier_fetch functionality to common_fetch

* power_emulated_multiplier env var added and Documented

---------

Co-authored-by: Tim Connors <tconnors@rather.puzzling.org>
2023-10-16 10:39:47 -07:00
Kenyon Ralph
89bd7114e1
Merge pull request #1393 from spacelama/ceph_updates
Cater for newer OS dependencies - python and ceph updates
2023-10-16 10:34:22 -07:00
Kenyon Ralph
e27c47b426
Merge pull request #1394 from spacelama/zfs_labels
fix munin-update logs filling up with some values not having labels
2023-10-16 10:33:10 -07:00
Kenyon Ralph
4c1a92ec28
Merge pull request #1392 from kimheino/master
systemd_status: add support to monitor user services
2023-10-16 10:32:36 -07:00
Kenyon Ralph
c428d15a3f
Merge pull request #1312 from spacelama/tasmota
Created tasmota plugin that reads power monitoring devices such as ta…
2023-10-16 10:30:17 -07:00
Tim Connors
c8bbf97e30 fix munin-node logs filling up with some values not having labels 2023-10-16 23:04:41 +11:00
Tim Connors
5b1300aebf Cater for newer OS dependencies - python and ceph updates
system default python is now usually python3 - better make our code
compliant with it

`ceph` CLI itself has some slightly different usage and outputs

jq used instead of cut in a few places, because was easier to work out
what the original commands were intending to grab, now that those
outputs have moved location.  Yes, jq is a new dependency for some of
the plugins, but it was already implicitly depended upon in ceph_osd
plugin
2023-10-16 22:55:52 +11:00
Kim B. Heino
d93503664b systemd_status: add support to monitor user services
Also add support to ignore specific services.
2023-10-16 11:54:14 +03:00
Tim Connors
e182f5d37c add SCD40 and PMS5003 pollution monitors 2023-10-16 17:03:07 +11:00
Tim Connors
33b1b80361 Fix issues detected in munin-monitoring!PR 1312
Consistent tabbing
perldoc style comment
detect curl and jq prereqs
shellcheck linting
error handling
jq parsing
2023-10-16 17:00:02 +11:00
Tim Connors
cdd731d0ae add DS18B20temp and rename SWITCH->DEVICE 2023-10-16 13:46:14 +11:00
Tim Connors
96250b3764 updated comment per PR suggestion 2023-10-16 13:45:06 +11:00
Tim Connors
693509563c use jq instead of sed 2023-10-16 13:28:09 +11:00
Kim B. Heino
eb3e032d1f knot: add support for mod-cookies and mod-rrl statistics
Plugin will graph these optional Knot modules only if they are enabled.
2023-10-09 10:26:04 +03:00
Dominik
f4e0fc95fe
add support for ntpsec 2023-10-01 17:33:42 +02:00
Kim B. Heino
3555ad873d nginx_vts: add missing AUTHOR tag 2023-09-04 20:26:58 +03:00
Doctor
785540f6f4 Fix varnish plugin for varnishstat output
- Fix get_values() json
- Remove SMF
- Remove SMS
- Remove backend_toolate
- Replace sess_drop by sess_dropped
- Replace sess_pipe_overflow by sc_pipe_overflow
2023-08-10 15:33:43 +02:00
HaseHarald
b76f630440 fix(weather_temp_): Better match temperature and dew point
For whatever reason, sometimes linebreaks are only denoted as \n in the
querry-result. This lead to the temperature RegEx matching the dew point. This
caused the temperature to be reported the same as the dew point. These changes
should make the RegEx more specific and work consistently, no matter if
linebreaks are actual linebreaks or just \n.
2023-07-23 15:10:29 +02:00
HaseHarald
0e4dd7d1fb feat(weather_hum_): Add a humidity plugin for US NOAA weather
This adds a plugin for relative humidity, based on the weather_press_ and
weather_temp_ plugins. It's basically a copy of these two plugins with only
minor adjustments.
2023-07-23 15:10:29 +02:00
HaseHarald
d8b4732c4a fix(weather_press_/temp_): Use https
In 2023, it should be the default to use an encrypted connection, which
totally is supported by the data-source.
2023-07-23 15:10:29 +02:00
HaseHarald
05d820334a fix(weather_press_/temp_): Cast url-read object to string
The read function on an urllib urlopen object returns an object as a response.
Regular expressions using re can't be used on such objects. This causes
the following error:

```
Traceback (most recent call last):
  File "/tmp/weather/./weather_press_LOWW", line 43, in <module>
    hpa = re_hpa.findall(txt)[0]
TypeError: cannot use a string pattern on a bytes-like object
```

This can be easily fixed, because said object can simply be cast to string.
Which is, what this patch does for both the US NOAA based plugins.
2023-07-23 15:10:29 +02:00
Andreas Perhab
eb257a9c3c dnsresponse_: enable verifying responses
add option verify to enable graphing the number of successful responses.
if verify is enabled (default it is not) then a warning is emitted when
we do not get a response for all queries and critical if no query
succeeded.

add option timeout to be able to limit the time the plugin takes for
unresponsive servers. old max time was 75 seconds times 20 (25minutes).
new default max is 30 seconds timeout times 20 (10 minutes). with
setting a timeout of a few seconds this can now be reduced even more.

added warnings if average and or mean get close to the timeout.
2023-07-19 12:37:14 +02:00
Andreas Perhab
698cf1e2fb nvme: fix for nvme-cli > 2 2023-06-28 14:59:27 +02:00
Simon Josefsson
5627c096fc
nvme: Prefix 'NVME' to spare graph title for consistency. 2023-06-25 10:26:56 +02:00
Michael Grote
c05b5417da
add new plugin: docker_volumesize (#1377)
* first try

* indentation

* whitespaces

* check bc

* move sed

* typo

* docs

* shellcheck

* fix bytes

* areastack

* typo

* heading

* areastack

* fix calculation

* base

* cutoff

* comments
2023-06-19 20:29:37 -07:00
Kenyon Ralph
72990c251f
Merge pull request #1324 from codeurimpulsif/rabbitmq_messages
[rabbitmq_messages*] Fix rabbitmqctl output filter
2023-05-31 12:08:16 -07:00
Kenyon Ralph
db3e5a2a94
Merge pull request #1323 from codeurimpulsif/rabbitmq_consumers
[rabbitmq_consumers] Fix rabbitmqctl output filter
2023-05-31 12:07:51 -07:00
Kenyon Ralph
bb6c0e0b18
Merge pull request #1322 from codeurimpulsif/exodus_warning_critical
[exodus_] Add warning and critical configurations
2023-05-31 12:06:36 -07:00
Doctor
4b9a11c854 make gunicorn_memory_status and gunicorn_status python3 compatible 2023-05-31 18:30:12 +02:00
Kim B. Heino
f8b31590b6 dhcp/kea: add plugin to monitor Kea DHCP server
Kea is ISC's recommended DHCP server, old dhcpd is not maintained anymore.

See https://www.isc.org/kea/ for more information.
2023-05-23 11:22:21 +03:00
Kenyon Ralph
38f2647dd0
Merge pull request #1372 from trollagit/trollagit-patch-1
Update md_iostat_ for '--write-mostly' drives
2023-05-03 12:29:58 -07:00
trollagit
ba6595ff2b
Update md_iostat_ for '--write-mostly' drives
Doesn't work with '--write-mostly' drives like sde1 in : 
     md94 : active raid1 sde1[1](W)(S) sdd1[2]
I assume to remove everything behind the opening bracket
2023-05-03 16:59:45 +02:00
brknkfr
46a483ed36
lxc_guests: Enhanced and fixed lxc_guests plugin (#1371)
* lxc_guests2: Enhanced and fixed lxc_guests plugin

- Working with systemd and cgroup version 2 (tested on debian bullseye and debian booksworm)
- Fixed processes (with cgroup version 2)
- Simplified labels
- Simplified memory usage graph
- Added CPU usage in percent (using systemd-cgtop)
- Added Tasks
- No cgrouppath guessing

* Rename lxc_guests2 to lxc_guests to replace old plugin

---------

Co-authored-by: Sebastian L <sl@momou.ch>
2023-04-29 10:38:44 -07:00
Sebastian L
c09e9461ab [onlyoffice] Add plugin for onlyoffice
Plugin that monitors editing and viewing connections of an onlyoffice instance
2023-04-26 08:43:03 +02:00
Kenyon Ralph
112ea7d02c
Merge pull request #1317 from quotengrote/header_ksm
Fix formatting for Munin Plugin Gallery
2023-04-21 14:11:51 -07:00
Kenyon Ralph
5b9b75e5b0
Merge pull request #1369 from codeurimpulsif/icecast2_stats_
[icecast2_stats_] Fix sources parsing if there is only one source
2023-04-20 14:02:46 -07:00
Doctor
706e181358 fix sources parsing if there is only one source 2023-04-19 18:44:09 +02:00
Michael Grote
4791449ef4
typo
warn --> warning; sry
2023-04-18 14:40:56 +02:00
Michael Grote
549c127d7d
add plugin: drone (#1367)
* add drone-cicd plugin

* optimize loops

* silencing curl

* docs

* housekeeping

* add count

* add links

* fix if

* add link

* areastack

* shellcheck
2023-04-17 10:18:02 -07:00
Michael Grote
a49e70566f
add new plugin: gitea_commit_time_diff (#1366)
* add new plugin: gitea_commit_time_diff

* Typo

* better explanation
2023-04-17 10:12:27 -07:00
Andreas Perhab
a928b81374 docker_memory: add total memory used 2023-04-14 10:41:46 +02:00
Kenyon Ralph
e5f366d3d1
Merge pull request #1361 from quotengrote/quotengrote-patch-2
zfs_pool_dataset_count: Integers
2023-04-10 09:29:56 -07:00
Kenyon Ralph
e2c256a7e5
Merge pull request #1364 from quotengrote/deye_apikey
Deye/Solarman: remove AppId variable
2023-04-10 09:17:08 -07:00
Kenyon Ralph
7d5d8aed8c
Merge pull request #1363 from quotengrote/zfs_list
zfs_list: set better labels
2023-04-10 09:14:55 -07:00
Michael Grote
69d890ee11 zfs_list: set better labels 2023-04-10 10:28:31 +02:00