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

4408 commits

Author SHA1 Message Date
shakemid
b8d47c6626 add graph_args --lower-limit --upper-limit 2024-03-15 22:38:34 +09:00
Cyril Brulebois
e02cf4445a feat: add ipsec plugin
This makes it possible to monitor IPsec security associations (up and
connecting).
2024-03-07 06:19:04 +01:00
Kenyon Ralph
83f4e970c4
Merge pull request #1418 from pimlie/feat-add-wireguard-plugin
feat: add wireguard plugin
2024-03-03 09:51:16 -08:00
pimlie
4b9f15f5a6 feat: add wireguard plugin 2024-03-03 16:00:54 +01:00
Sebastian L.
5e36b8b8b5 Fix for checking installed and updateable apps (after nextcloud version 28) 2024-03-03 14:07:51 +01:00
Kenyon Ralph
14bca93e46
Merge pull request #1416 from rwky/issue-1405
Fixed issue where the value was empty for extinfo if no containers matched the state closes #1405
2024-03-02 14:47:28 -08:00
Kenyon Ralph
294837506e
Merge pull request #1415 from Philippe23/fix-sscanf-warnings
network: Fix sscanf format warnings
2024-03-02 14:42:05 -08:00
Rowan Wookey
8c2b0fa3c4 Fixed issue where the value was empty for extinfo if no containers matched the state closes #1405 2024-03-02 22:40:50 +00:00
Kenyon Ralph
bb42d5cabb
Merge pull request #1414 from wvogel/patch-2
Update pdns_queries add missing configuration for additional values
2024-03-02 14:37:55 -08:00
Philippe 'Peep' Chaintreuil
7d40cdaf44 network: Fix sscanf format warnings
Compilers warn that "%llu" doesn't match the uint_fast64_t type for all
machines.

These are just being sscanf()'ed to be sprintf()'ed a few lines later,
there's no need for performance.  These can just be vanilla "unsigned
long long"'s to match the existing format specifiers.

Closes: https://github.com/munin-monitoring/contrib/pull/1415
2024-03-02 15:31:58 -05:00
Wolf Vogel
3b61c54b12
Update pdns_queries add missing configuration for additional values
Update the plugin's configuration part to describe the values that got added to "/usr/bin/pdns_control list" since creation of the plugin
2024-03-02 14:09:14 +01:00
Wolf Vogel
a477dd629e
Fix pdns_rel to always have correct output
Fix the condition to not return any values when there were no queries to the server since the last call. Return a 0 as cache hit rate in that case.
2024-03-02 09:07:03 +01:00
Kenyon Ralph
40a5f3f834
Merge pull request #1412 from brknkfr/adguardhome-fix
[adguardhome_dns] Add doq (DNS-over-QUIC), fix getting empty values when logfile is empty
2024-02-09 11:21:05 -08:00
Sebastian L.
0f08bce55a [adguardhome_dns] Add doq (DNS-over-QUIC), fix getting U when logfile is empty
- Print U values when logfile is not here
- Print 0 values when logfile is there but no values are found
- Add support for DNS-over-QUIC
2024-02-09 09:10:55 +01:00
Kenyon Ralph
6556171943
Merge pull request #1411 from brknkfr/synapse
[synapse_] Added bots to graph
2024-02-08 11:37:58 -08:00
Sebastian L.
d45777ce6e [synapse_] Added bots to graph 2024-02-08 08:11:25 +01:00
Kenyon Ralph
b43ce1211f
Merge pull request #1410 from brknkfr/synapse
[synapse_]: A simple wildcard plugin for synapse matrix homeserver
2024-02-07 10:54:16 -08:00
Sebastian L.
cf9a6da4df [synapse_]: A simple wildcard plugin for synapse matrix homeserver
Y
2024-02-06 15:51:33 +01:00
Kenyon Ralph
7c3ae4afaa
Merge pull request #1409 from zebastian/master
asterisk: enable pjsip call channel support and more default codecs
2024-02-01 10:35:43 -08:00
Sebastian Jennen
4fbb0d3fc0
asterisk: enable pjsip call channel support and more default codecs
- add pjsip channel retrieval through ami command "pjsip show channelstats"
- also add more common codecs g723 and g729 to default list

- tested against:
  - an asterisk 18.19.0 with pjsip calls running, which now includes the pjsip channels
  - an old asterisk 16.6.2 running sip calls
2024-02-01 14:45:45 +01:00
Kim B. Heino
08361c2178 chrony_status: cleanup: use f-strings and fix/ignore pylint warnings 2024-02-01 14:38:24 +02:00
Kenyon Ralph
4b733228d6
Merge pull request #1407 from brknkfr/qstat_
[qstat]: Some enhancements (ShellCheck fixes, script fixes, bot_prefix variable, nicer graph with AREASTACK)
2024-01-21 13:55:42 -08:00
Sebastian L.
427294d87f [qstat] Some enhancements (ShellCheck, script fixes, bot_prefix variable, nicer graph with AREASTACK)
- Check script with ShellCheck
- Check for valid $ip and $port (and not only $gametype) before collecting stats
- Add variable bot_prefix to enable counting bots by prefix (and not only 0ms ping time). This is especially needed for source engine games (i.e. cstrike)
- Draw nicer graph with AREASTACK (and not LINE). Aareas are a better way to represent slots filled by actual players or bots.
- Split counting of bots and players (Bots were part of playervalue before)
2024-01-21 14:59:42 +01:00
Kenyon Ralph
b963a960d3
Merge pull request #1406 from spacelama/master
Add switch and dimmer state capability for tasmota plugin
2023-12-23 13:12:11 -08:00
Tim Connors
dde29e9982 tasmota: refactor to remove all the duplicated code in switch&dimmer 2023-12-23 21:19:56 +11:00
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
Kim B. Heino
24f0fee044 chrony_status: fix reboot-workaround, value is str not int
After reboot stratum is 0, convert it to U. Include unknown_limit to
config to not send warning email.

I finally found a server where this workaround was needed.
2023-12-12 23:21:29 +02:00
Kim B. Heino
e4cdd6d0c4 process_group: fix bug caused by auto-indent
Plugin printed wrong values if multiple groups were defined.
2023-12-12 11:28:43 +02:00
Kim B. Heino
e43e882527 process_group: monitor process group age, cpu, memory and count
Generic plugin to monitor configured processes. Multiple process
groups can be configured with regexps.
2023-12-11 11:50:40 +02:00
Kenyon Ralph
48c4275851
Merge pull request #1401 from shakemid/add_switchbotmeter_multi
add switchbotmeter_multi
2023-12-06 09:07:12 -08:00
shakemid
2a21fb8420 add switchbotmeter_multi 2023-12-06 22:28:30 +09:00
Kim B. Heino
295325eb80 kea: fix autoconf, it always returned "yes"
I changed read_data's return value after testing autoconf. Oops...
2023-12-04 15:51:25 +02:00
Kim B. Heino
c9cd3469b4 keepalived: plugin to monitor keepalived status and state
Currently this plugin monitors state of VRRP sync groups and
instances. More features, like IPVS, will be added soon.
2023-12-01 14:42:06 +02: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