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
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.
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.
* 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)
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.
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>
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>
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>