mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 02:18:08 +00:00
Whitespace cleanup
* remove trailing whitespace * remove empty lines at the end of files
This commit is contained in:
parent
ef851f0c34
commit
17f784270a
604 changed files with 2927 additions and 2945 deletions
|
@ -11,8 +11,8 @@
|
|||
#
|
||||
|
||||
mktempfile () {
|
||||
mktemp -t
|
||||
}
|
||||
mktemp -t
|
||||
}
|
||||
|
||||
AUTH_LOG=${logfile:-/var/log/auth.log}
|
||||
STATEFILE=$MUNIN_PLUGSTATE/sshd.offset
|
||||
|
@ -59,7 +59,7 @@ then
|
|||
$LOGTAIL ${AUTH_LOG} $STATEFILE | grep 'sshd' > ${TEMP_FILE}
|
||||
|
||||
refused=`grep -ic 'refused' ${TEMP_FILE}`
|
||||
accepted=`grep -ic 'accepted' ${TEMP_FILE}`
|
||||
accepted=`grep -ic 'accepted' ${TEMP_FILE}`
|
||||
invalid=`grep -ic 'invalid user' ${TEMP_FILE}`
|
||||
failed=`grep -ic 'failed password' ${TEMP_FILE}`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue