the line length change doesn't make the world better... without pyflakes I already wondered, why there is an additional linebreak. now it needs two additional one to stay below 99
changes here are tested and work on Python 3.7.3 (debian buster).
in python3 filter returns an object, not an list. I think a list is required here? at least the plugin works as soon as list(...) is added.
need to change from pid to pid.decode, as pid is binary and not a string.
root privileges are not required for sending queries to the docker socket.
Instead the group "docker" should be sufficient.
Additionally replace /var/run with /run (following updates of FHS).
As per the zpool(8) man page:
> zpool list [-HgLpPv] [-o property[,property]...] [-T u|d] [pool]... [interval [count]]
> Lists the given pools along with a health status and space usage. If no pools are specified, all pools in the system are listed. When given an interval, the information is printed every
> interval seconds until ^C is pressed. If count is specified, the command exits after count reports are printed.
> [...]
> -p Display numbers in parsable (exact) values.
There is some trickery going on to not wakeup the disk when it's in standby
Note: this was aimed at munin-c, but was rejected since it uses a
subprocess that calls the `smartctl` tool.
In contrast to using http_responsecode and http_loadtime with the same
configuration, this plugin performs only one request per site and munin
run to gather its statistics.
systemctl calculates memory consumption quite differently than existing plugins, which usually query /proc/.
This plugin monitors what memory a service uses according to systemctl.
Different nc(1) implementations will use different flags, as highlighted
in #576. This environment variable allows one to pass any option to the
nc binary.
As of v0.21.4 version of the MPD command protocol, it seems that the
`version` command is not valid:
$ echo version | /bin/nc localhost 6600
OK MPD 0.21.4
ACK [5@0] {} unknown command "version"
Use `stats` instead.
https://www.musicpd.org/doc/html/protocol.html#querying-mpd-s-status