Commit Graph

26 Commits

Author SHA1 Message Date
HaseHarald 6f70cfc6f8 [sshd_log] Allow for configuration of warning and critical levels
Allows for configuring either general or specific warning or critical
levels, or any combination of that.

This should be backwards compatible, since it doesn't change a thing to
the output, unless specific variables are specified.
2021-11-26 20:54:19 +01:00
Lars Kruse aa3ee6dc01 Clarify a few copyright statements 2020-10-04 05:31:15 +02:00
Lars Kruse 809639ab65 Ruby plugins: apply code changes as suggested by "rubocop --auto-correct" 2020-08-25 17:44:17 +02:00
Lars Kruse b0b39b018e Ruby plugins: apply style changes as suggested by "rubocop --fix-layout" 2020-08-25 17:44:17 +02:00
Lars Kruse 8713eb3722 Fix spelling mistakes in comments and descriptions
Thanks, codespell!
2020-03-26 04:23:21 +01:00
Olivier Mehani f8801b87a0 [hostdenied] Reverse order of series so new entries are on top
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-23 23:09:34 +02:00
Olivier Mehani e926acaf5f Fix titles of similar plugins so they are better grouped in category views
Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2019-10-13 16:59:03 +02:00
Lars Kruse e4cd049b01 Fix trivial instances of wrong autoconf exitcodes 2018-09-16 04:03:31 +02:00
Lars Kruse 17f784270a Whitespace cleanup
* remove trailing whitespace
* remove empty lines at the end of files
2018-08-02 02:33:25 +02:00
Lars Kruse 7a37bfb1d8 Plugins: unify shebang for ruby scripts 2018-07-11 19:35:32 +02:00
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