Commit Graph

4973 Commits

Author SHA1 Message Date
Kenyon Ralph b1c1d2bce2
Merge pull request #1381 from HaseHarald/fix_weather-noaa-plugins_cast-to-string
[weather_press/temp/hum_]: Bugfixes in noaa based plugins and add humidity
2023-07-23 11:40:14 -07: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
Kenyon Ralph 885708a826
Merge pull request #1380 from ap-wtioit/master-improve_dnsresponse_github
dnsresponse_: enable verifying responses
2023-07-19 13:37:07 -07: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
Kenyon Ralph 5b65e13798
Merge pull request #1379 from ap-wtioit/master-fix_nvme_github
nvme: fix for nvme-cli > 2
2023-06-28 11:04:00 -07:00
Andreas Perhab 698cf1e2fb nvme: fix for nvme-cli > 2 2023-06-28 14:59:27 +02:00
Kenyon Ralph b794cbaa6e
Merge pull request #1378 from jas4711/jas/nvme-fix
nvme: Prefix 'NVME' to spare graph title for consistency.
2023-06-25 10:14:51 -07: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
Kenyon Ralph 75b0763e29
Merge pull request #1376 from codeurimpulsif/gunicorn-python3
[gunicorn_*] make gunicorn_memory_status and gunicorn_status python3 compatible
2023-05-31 12:06:07 -07:00
Doctor 4b9a11c854 make gunicorn_memory_status and gunicorn_status python3 compatible 2023-05-31 18:30:12 +02:00
Kenyon Ralph 5b7d70510f
Merge pull request #1375 from kimheino/master
dhcp/kea: add plugin to monitor Kea DHCP server
2023-05-23 10:06:41 -07: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
Kenyon Ralph 181e964c49
Merge pull request #1370 from brknkfr/onlyoffice
[onlyoffice] Add plugin for onlyoffice
2023-04-26 11:01:03 -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
Kenyon Ralph 31dd87f7b8
Merge pull request #1368 from quotengrote/fix
drone: Typo
2023-04-18 10:23:20 -07: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
Kenyon Ralph 541c7d76b0
Merge pull request #1365 from ap-wtioit/master-fix_docker_memory_github
docker_memory: add total memory used
2023-04-14 11:45:28 -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
Michael Grote b62bee5f09 Deye/Solarman: remove AppId variable 2023-04-09 10:56:01 +02:00
Kenyon Ralph 59e9a31272
Merge pull request #1362 from ap-wtioit/master-fix_docker_memory_cgroup2
docker_memory: handle cgroup v2
2023-03-30 12:07:15 -07:00
Andreas Perhab 0e24b3c935 docker_memory: handle cgroup v2 2023-03-30 14:49:12 +02:00
Michael Grote cf5f375b8b
zfs_pool_dataset_count: Integers 2023-03-28 21:24:49 +02:00
Kenyon Ralph 3148cec2cb
Merge pull request #1360 from quotengrote/quotengrote-patch-1
proxmox_vm_count: Integers
2023-03-24 13:36:00 -07:00
Michael Grote e21dfc07fb
Values as Integers 2023-03-24 14:08:46 +01:00
Michael Grote f140a08c16
Deye/Solarman (#1359)
* deye: fix production calculation

* solarman: add new plugins

* fix labels

* move api check

* Typo

* deye: quoting

* unfiy labels

* Typo

* Test, set Value to zero if api does not find device

* dont show errors

* Revert "dont show errors"

This reverts commit dc71783f93.

* Revert "Test, set Value to zero if api does not find device"

This reverts commit fa1853955c.

* dependency check

* remove exports

* send 0 instead of U

* dependency check

* remove exports

* check dependency removed

* send U when API isnt reachable

* add AC graphs

* Typo

* Typo

* Get all Panels

* remove var

* Typo

* Typo

* Typo

* packe Logik in Funktionen; Frage Daten im Fehlerfall mehrfach ab

* Zähler umgebaut

* Remove Panel Plugin

* deactivate panel 3+4

* api reachable check

* unknown limits

* warnings

* area

* deye: printf http://munin-monitoring.org/faq#q-why-does-my-users-plugin-report-floating-point-numbers

* deaktiviere graph scaling

* setze base

* schreibe retries

* graph opts

* statefile

* deye statefile

* x

* Info
2023-03-16 09:17:53 -07:00
Kenyon Ralph 2815f944a3
Merge pull request #1358 from ap-wtioit/master-fix_docker_cpu_cgroup2
docker_cpu: handle cgroup v2
2023-03-16 09:12:12 -07:00
Andreas Perhab 3b4acf90df docker_cpu: handle cgroup v2 2023-03-16 11:19:57 +01:00
Kenyon Ralph 5ca6f09fb7
Merge pull request #1357 from kimheino/master
nginx_vts: plugin to monitor nginx statistics with nginx-module-vts
2023-03-09 13:25:57 -08:00
Kim B. Heino 8c30611df5 nginx_vts: plugin to monitor nginx statistics with nginx-module-vts
This plugin requires https://github.com/vozlt/nginx-module-vts module
to be loaded. It provides lot of statistics.
2023-03-09 12:40:34 +02:00
Kenyon Ralph 05487ba694
Merge pull request #1356 from kimheino/master
disk/storagebox_df: monitor Hetzner Storagebox disk free
2023-03-07 09:41:34 -08:00
Kim B. Heino b52691ad66 disk/storagebox_df: monitor Hetzner Storagebox disk free
This plugin is similar to df plugin, but monitors Storagebox disk instead.
It requires config and ssh keys to access Storagebox.
2023-03-07 11:08:37 +02:00