Commit Graph

360 Commits

Author SHA1 Message Date
Kim B. Heino f7a437dfa3 network/nft_counter: add plugin to graph nftables named counters 2024-04-27 21:05:13 +03: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
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
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
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
Robert Kulyassa 2a12025ee5 Remove old "transmission" plugin
It doesn't work (looks like calling outdated python lib) and had the same
    funcionality than the newer transmission_ plugin. It is quite confusing now
    they are in the same directory, but the documentation (README) mentions
    only the other one.
2023-01-31 21:49:43 -08:00
Kenyon Ralph 5d028e8aec
consolidate location of transmission plugins 2023-01-13 21:42:00 -08:00
Kenyon Ralph 479e88f750
move transmission_ratios to the network directory
So that it's next to the other transmission plugin.
2023-01-13 21:34:21 -08:00
Andreas Perhab a620b1a507 smtp_hello_: reformat metadata 2022-05-30 19:09:40 +02:00
Andreas Perhab f676ff11e9 smtp_hello_: enable monitoring multiple ports at once 2022-05-30 19:09:40 +02:00
Andreas Perhab 9bf3b9a299 smtp_hello_: improve compatibility
* support systems without time executable
  (if we can use bash time keyword)
* use curl as smtp client if available
* enable specifying different ports from 25
* enable specifying other test commands than "HELO localhost"
  (e.g. HELP, QUIT can also be used to test connections)
2022-05-30 19:09:40 +02:00
Lars Kruse eba742cea2 Plugin olsrd: port to python3 and support micropython without micropython-lib
The code was python3-compatible before, thus it was just a matter of
changing "python" to "python3".

The micropython approach previously relied on micropython-lib being
installed.  Now the basic micropython package (on OpenWrt) is
sufficient.
2022-04-13 05:11:57 +02:00
Michael Grote f3c8d9519f Expanded Docs for dnsresponse_ 2022-01-23 13:53:12 +01:00
Olivier Mehani 02451d8f6e [whois] Allow to specificy whois server per domain
Also, clean up some old code that pre-dates multi-domain handling

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-12-31 03:13:12 +01:00
Olivier Mehani f018bada38 [upnpc_] loan from other graphs in root
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2021-07-19 13:26:35 +02:00
Lars Kruse 2c9121708a Fix some spelling mistakes
Thanks, codespell!
2021-04-05 23:24:50 +02:00
ruliane 7046ba801c typo 2021-02-05 21:53:37 +01:00
ruliane 63505c5060 Add support for multi-domain check 2021-02-05 21:53:37 +01:00
ruliane f2261ed9d4 Rename whois_ to whois 2021-02-05 21:53:37 +01:00
ruliane f06ee36a05
Use an environment variable for CACHE_EXPIRY (#1169)
Use an environment variable for CACHE_EXPIRY in whois plugin.
2021-01-31 16:56:43 +01:00
Olivier Mehani b289ff1f47 [plugins/transmission] Update shebang to use python3
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-11-28 14:07:03 +01:00
Olivier Mehani d25a9e9428 [plugins/transmission] Python3 compat
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-11-28 14:07:03 +01:00
Olivier Mehani 0ab1e127a2 [plugins/whois_] stop EXTRACT_RE after the first match
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-11-26 15:05:52 +01:00
Lars Kruse 4a6d44a42c Update shebang of Python3-compatible plugins to Python3 2020-11-26 02:38:34 +01:00
Lars Kruse a7139bcaee Unify shebang for python scripts 2020-10-28 23:38:41 +01:00
Lars Kruse 09b88141b3 Improve documantion of many plugins
Specifically the configuration examples are now indented properly.
2020-10-24 17:29:08 +02:00
Lars Kruse 94888223ff Plugin ipt_basic_: convert documentation to perlpod format 2020-10-05 04:05:50 +02:00
Lars Kruse cd05363876 Plugin brc_rssi: convert documentation to perldoc header 2020-10-04 05:31:15 +02:00
Lars Kruse d7f54f3ed2 Fix utf8 encoding of author names 2020-09-23 22:22:54 +02:00
Olivier Mehani 4ce9e74251 [whois_] Plugin to monitor domain registration expiries
This plugin only monitors one domain per instance, but should be easily
extensible to monitor several at once if need be.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-09-11 01:16:01 +02:00
Lars Kruse 81bdedaf42
Merge pull request #1086 from shtrom/transmission-consistency-fixups
[plugins/transmission] Fixups for consistency
2020-09-06 21:56:39 +02:00
Olivier Mehani 92483a045b [plugins/transmission] Lint
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-08-31 12:56:14 +10:00
Olivier Mehani 897de1bbba squash! [plugins/transmission] Fixups for consistency
Only show host in title when not localhost
2020-08-31 12:55:40 +10:00
Lars Kruse 809639ab65 Ruby plugins: apply code changes as suggested by "rubocop --auto-correct" 2020-08-25 17:44:17 +02:00
Lars Kruse b0b39b018e Ruby plugins: apply style changes as suggested by "rubocop --fix-layout" 2020-08-25 17:44:17 +02:00
Lars Kruse 3bc9396918 Unify file encodings to UTF8 2020-08-25 17:44:17 +02:00
Lars Kruse 3674882662 Fix spelling mistakes 2020-08-25 17:44:17 +02:00
Olivier Mehani e254623ba1 [plugins/transmission] Fixups for consistency
Use standard colours for the transmission_activity plot (but keep a
darker one for paused torrents).

Also, remove the ${host} from the graph_title, and add it in the
graph_info, for better groupability.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2020-05-27 18:02:28 +10:00
Lars Kruse f776b7e04f Fix spelling mistakes in variable names
Thanks, codespell!
2020-03-26 04:23:21 +01:00
Lars Kruse 8713eb3722 Fix spelling mistakes in comments and descriptions
Thanks, codespell!
2020-03-26 04:23:21 +01:00
corbolais 561da1a3f1 typo: retransmited -> retransmitted
Signed-off-by: corbolais <corbolais@gmail.com>
2020-02-29 00:33:15 +01:00
Olivier Mehani 6ad466b10e [network/upnpc_] Add missing vlabel
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani 6ca9f65af9 [transmission] Show counts as stacked areas
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani cfe070ea38 [network/hostsdeny] Refactor to support any blocked service
The HostDenied field is renamed to ssh. To preserve existing data,

	# cd /var/lib/munin/example.net
	# mv hostname-hostsdeny-HostsDenied-g.rrd hostname-hostsdeny-sshd-g.rrd

This refactor incidentally also fixes a bug where empty or commented-out
lines where also counted.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani e926acaf5f Fix titles of similar plugins so they are better grouped in category views
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Olivier Mehani cf74793230 [router/upnpc] Fix autoconf
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani 282b32b0e5 [network/upnpc_] Add support for host_name
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani 01edaf0086 [network/upnpc] Add hostname in graph titles
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani 076545b5f6 [network/upnpc_] Add multigraph support
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00
Olivier Mehani 3212af2eed [network/upnpc_traffic] Show max bitrate
Deprecate bitrate mode in suggest, but keep support for it so as not to
break existing installations.

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-03 17:28:04 +02:00