Lars Kruse
0236ec69e2
Update changelog for previous release (v2.0.1)
2020-10-08 14:23:12 +02:00
Lars Kruse
b7ecc5699b
Update documentation
2020-10-08 14:23:11 +02:00
Lars Kruse
c4044f749b
Document the new configuration file /etc/munin/muninlite.conf
...
Also mention Kim B. Heino as an author due to significant contributions.
2020-10-08 14:22:47 +02:00
Kim B. Heino
389c22a0de
muninlite: add support for minimal runtime configuration file ( #10 )
...
It's executed as shell script. For example, you can remove unwanted
plugin by adding following line to /etc/munin/muninlite.conf:
PLUGINS=${PLUGINS/ swap/}
It could also be used to add more plugins (with runtime on/off detection!),
although pluginsdir is the preferred way to do it.
It can also be used to override other hardcoded settings, like NTP_PEER or
DF_IGNORE_FILESYSTEM_REGEX.
2020-10-08 14:02:37 +02:00
Lars Kruse
00cfedfd92
Merge pull request #7 from kimheino/wireless
...
wireless: add new plugin to get info about OpenWRT's APs
2020-10-08 13:28:46 +02:00
Kim B. Heino
1f6d07e52a
wireless: cleanup interfaces-variable usage
2020-10-08 07:31:36 +03:00
Kim B. Heino
5206847aa1
df: fix "config" vs "fetch" mismatches ( #9 )
...
Two fixes:
1) Use same regexp to skip df partitions in "config" and "fetch".
2) Use same function (was two different sed) to cleanup partition name.
This fixes bug #5 .
2020-10-07 19:11:11 +02:00
Kim B. Heino
ebd0cca326
muninlite: do not crash if empty line is received ( #8 )
...
Trivial fix for the following error:
root@naru:~# echo "" | ./muninlite
./muninlite: line 696: do_: not found
root@naru:~#
2020-10-07 19:08:49 +02:00
Kim B. Heino
e6f5722a04
plugins/if: include "Interface" to graph_title for better grouping
...
Nowadays network interfaces have names like docker0, team0, ip_vti0, eno,
wlp61s0 and so on. Including word "Interface" in beginning of
graph_title groups these graphs together in web interface, not randomly
before/after other network-graphs (ipconntrack, firewall, ...).
See commit 70711831c44 in munin repository for similar change.
2020-10-07 18:41:47 +02:00
Kim B. Heino
d889349332
wireless: fix shellcheck warnings
...
Shellcheck warned about "dash doesn't support x". This plugin runs
only on OpenWRT and there is no dash...
2020-10-07 13:50:48 +03:00
Kim B. Heino
4bc2b62610
wireless: add new plugin to get info about OpenWRT's APs
...
Following info is returned, per AP:
- Signal strength (dBm)
- Number of associated clients
2020-10-07 13:20:00 +03:00
Lars Kruse
8046268893
if_: handle "Unknown" emitted by ethtool
...
Previously error messages were emitted due to this non-numeric value.
Closes : #3
2020-08-22 20:28:09 +02:00
Lars Kruse
710334b615
Remove handling of "lrrd"
...
The "lrrd" service seems to be some historical cruft, that is no longer
in use. It is still an alias for the "munin" service (port 4949) in
/etc/services, but probably not in use anymore.
2020-07-19 15:44:50 +02:00
Lars Kruse
670a871835
Use /usr/local/bin/muninlite consistently in examples
...
Packagers (e.g. for OpenWrt) usually pick a different path (e.g.
/usr/bin/muninlite or /usr/sbin/muninlite), but a native installation
from source should point to /usr/local/... by default.
The change affects only examples, thus it should do no harm.
2020-07-19 15:41:53 +02:00
Lars Kruse
9d596643cc
Release 2.0.1
2020-04-12 17:50:27 +02:00
Lars Kruse
a0c555c2bd
Makefile: create gzipped release archive
...
Previously it just looked like a tar.gz file, but it was a plain tar
archive.
2020-04-12 17:49:36 +02:00
Lars Kruse
1b43f16454
Network interface names: tolerate more than one hyphen
...
Previously the handling of network interface names allowed something
like "foo-bar", but failed over "foo-bar-baz".
Thanks to Kai-Uwe Eckhardt.
2020-04-12 15:53:48 +02:00
B. van Berkum
aad298f892
Fixed category for uptime graph.
2020-02-12 04:38:07 +01:00
Lars Kruse
884fea3ed1
Describe the purpose of the muninlite.conf file
2020-02-12 03:25:29 +01:00
Lars Kruse
bf738ea913
Makefile: sign the release archive instead of the checksum
...
Additionally the gnupg key identified by the commit's author's email
address is used by default. It can be overridden by a make variable.
2020-02-12 03:23:12 +01:00
Lars Kruse
216c6ebd04
Release 2.0.0
2020-02-12 03:01:27 +01:00
Lars Kruse
2ab81cd929
Change formatting of changelog to markdown
...
The style is based on https://keepachangelog.com/en/1.0.0/ .
2020-02-12 02:45:12 +01:00
Lars Kruse
4e857e0a96
README: improve wording
2020-02-11 06:32:00 +01:00
Lars Kruse
4b484f6f99
Tolerate plugin filenames containing special characters
...
We may only allow characters allowed in shell function names.
2020-02-09 02:21:17 +01:00
Lars Kruse
b039f7c1c8
Fix remaining spelling errors
2020-02-09 02:10:41 +01:00
Lars Kruse
6d05b016d3
Makefile: really ignore excluded directory names
2020-02-09 02:08:24 +01:00
Lars Kruse
53bc47cc13
README: improve formatting
2020-02-09 02:00:39 +01:00
Lars Kruse
f6adc90820
Add documentation for the release process
2020-02-09 01:58:22 +01:00
Lars Kruse
648f3c15d4
README: rephrase overview
2020-02-09 00:57:57 +01:00
Lars Kruse
c63baf0461
README: restructure sections
2020-02-09 00:54:36 +01:00
Lars Kruse
0b06f673ab
README: move license and copyright to the bottom
2020-02-09 00:50:47 +01:00
Lars Kruse
069a3ecb4d
Makefile: replace "tgz" target with "dist"
...
The new target also creates a signed checksum of the archive.
2020-02-09 00:48:34 +01:00
Lars Kruse
2503aa737b
README: describe scope of the project and unwanted features
2020-02-09 00:48:34 +01:00
Lars Kruse
7eebaa7f62
README: remove list of integrated plugins and runtime requirements
2020-02-09 00:48:34 +01:00
Lars Kruse
8e433d9a38
README: clarify title for munin configuration section
2020-02-09 00:48:34 +01:00
Lars Kruse
a85fc3cb82
README: mention external plugins
2020-02-09 00:48:34 +01:00
Lars Kruse
829f230b9b
CHange default plugin directory to /etc/munin/plugins
...
This path is also used by the official `munin-node` implementation.
2020-02-09 00:45:59 +01:00
Lars Kruse
fe4c587c27
Remove outdated documentation
2020-02-09 00:45:59 +01:00
Lars Kruse
a4bb625812
Makefile: skip comments with leading whitespace
2020-02-08 23:41:48 +01:00
Lars Kruse
e3103bdb6e
Plugin df: ignore read-only and virtual filesystem types
...
The set of filesystems is based on the list of excluded filesystems in
munin's "df" plugin for Linux.
2020-02-08 23:39:44 +01:00
Lars Kruse
44d1c8dc3a
Plugin if_: do not expose errors from ethtool
...
ethtool prints the error message "Cannot get device settings: No such
device" for VLAN devices. This error message should not be exposed via
the munin protocol.
2020-02-08 23:39:44 +01:00
Lars Kruse
9cca1e479a
Change encoding of main script to UTF-8
2020-02-08 23:39:44 +01:00
Lars Kruse
a0d4d74f8d
hostname: fall back to /proc/sys/kernel/hostname (linux) if "hostname" is missing
...
This provides a usable alternative on OpenWrt.
2020-02-08 23:39:44 +01:00
Lars Kruse
0662cfc7e8
Enable "exit-on-error" and "error-on-unset" for shell execution
2020-02-08 23:39:44 +01:00
Lars Kruse
6b09d74c9a
Remove tabs from plugins
2020-02-08 23:39:44 +01:00
Lars Kruse
b5d8f7931b
Plugin if_ and if_err_: use explicit variable for interface name
2020-02-08 23:39:44 +01:00
Lars Kruse
60b16f4121
Plugin netstat: adjust filter to newer netstat version
...
Newer versions of netstat use "active connection openings" instead of
"active connections".
2020-02-08 23:39:44 +01:00
Lars Kruse
e439fd79a1
Use "read" without escaping
2020-02-08 23:39:44 +01:00
Lars Kruse
974b07a1af
Remove unnecessary "cat" operations
2020-02-08 23:39:44 +01:00
Lars Kruse
0600bbf113
Simplify grep-based conditionals
...
The "-q" argument avoids the requirement for output redirections.
2020-02-08 23:39:44 +01:00