mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
spelling fixes (2nd try)
This commit is contained in:
parent
e3169d5930
commit
8589c6df43
62 changed files with 82 additions and 72 deletions
|
@ -6,7 +6,7 @@
|
|||
# http://www.ziritione.org
|
||||
#
|
||||
# Installing: configure apache blackbox and set the logfile to /var/log/blackbox.log
|
||||
# or change the BLACKBOXLOG setting bellow.
|
||||
# or change the BLACKBOXLOG setting below.
|
||||
#
|
||||
# Dependencies: apache mod_logio, apache blackbox
|
||||
# http://www.devco.net/archives/2008/03/05/detailed_apache_stats.php
|
||||
|
|
|
@ -45,7 +45,7 @@ REGEX=$(LC_ALL=en_US date -d "5 minutes ago" "+\[%d\/%b\/%Y:%H: %M :[0-5][0-9] %
|
|||
# Analyse logfile
|
||||
while read REQUEST_ADDR REQUEST_USERNAME REQUEST_BYTES
|
||||
do
|
||||
# Name resolution for known adresses
|
||||
# Name resolution for known addresses
|
||||
REQUEST_DOMAIN=$( awk '/^'"$REQUEST_ADDR"'/ { print $2 }' /etc/hosts )
|
||||
REQUEST_ADDR=${REQUEST_DOMAIN:-$REQUEST_ADDR}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue