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

16 Commits

Author SHA1 Message Date
Lars Kruse
8e37e4802a add example graphs for sshd_log plugin
Contributed by Niluge-KiWi:
  https://github.com/munin-monitoring/contrib/pull/770/files
2018-05-28 10:58:15 +02:00
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
Lars Kruse
4b2fcbf8b9 replace hard-coded paths (e.g. '/var/lib/munin/plugin-state') with '$MUNIN_PLUGSTATE'
see http://guide.munin-monitoring.org/en/latest/plugin/env.html
2017-04-18 23:32:55 +02:00
dmzkrsk
ca7cbd717a Use $MUNIN_PLUGSTATE instead of hardcoded path 2017-04-18 15:19:11 +07: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
dipohl
6aa977b250 Category Tree: Reduce number of categories
rackspace -> cloud (rackspace)
openvpn -> network (openvpn)
rethinkdb -> db (rethinkdb)
glance -> cloud (glance)
2017-02-23 17:08:02 +01:00
Diego Elio Pettenò
e5ce74926d More housekeeping. 2012-08-06 22:20:20 -07:00
Steve Schnepp
08346aac58 - have some dirs 2012-02-13 18:24:46 +01:00