2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
Thomas Riccardi
8f68d6e697 sshd_log: allow both types GAUGE and DERIVE, default to GAUGE
In fact for journald mode internally it really is type ABSOLUTE, because
we use journald cursor to get only new logs on each collect. It results
in the same value as with a plain log file and type DERIVE: it's the
rate of events.

type=DERIVE is best for servers with lots of ssh traffic.
2018-04-29 01:49:43 +02:00
Thomas Riccardi
cdb82255e9 sshd_log: allow multiple journalctl args
Useful for multiple filtering.
At the cost of not being able to pass spaces properly in args, but
that's uncommon.
2018-04-29 01:49:43 +02:00
Thomas Riccardi
e178be6432 sshd_log: fix label typo 2018-04-29 01:49:43 +02:00
Thomas Riccardi
bc1e78ae5a sshd_log: remove env.category: it should not be configurable 2018-04-29 01:49:43 +02:00
Thomas Riccardi
26181ead33 sshd_log: POD style documentation 2018-04-29 01:49:43 +02:00
Thomas Riccardi
ff68f64155 sshd_log: cleanup autoconf
* always return 0
* add details on autoconf failure
2018-04-29 01:49:43 +02:00
Thomas Riccardi
c04acf95ac sshd_log: fix shellcheck warnings 2018-04-29 01:49:43 +02:00
Thomas Riccardi
e6a18b5a5b sshd_log: use DERIVE datatype and support logs from journald too
Now shows the number of events per time unit, instead of a counter
always increasing until logrotate.

To use journald, set env.logfile to special value 'journald': It will
read the sshd logs from journalctl _COMM=sshd.
To configure the source of journald, set env.journalctlarg:
Example: "env.journalctlarg --unit=sshd.service"
2018-04-29 01:49:43 +02:00
dipohl
3a6fdce80f Plugin-Gallery: get better 2nd level structure 2017-02-24 01:35:47 +01:00
dipohl
c0568802bf Reduce number of categories, move "other" plugins 2017-02-23 21:14:01 +01:00