Commit 35dcc2c4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes

parent 7351a4f0
......@@ -57,7 +57,7 @@ function checkEterhostNS() {
function checkEterhostNetmask() {
if [ $# -ne 2 ]; then FatalError "wrong number of arguments"; fi
netmask=$(echo "$2" | sed "s/\(.*\)\/\(.*\)/\2/g")
netmask=$(echo "$2" | sed "s/\(.*\)\/\(.*\)/\2/g") #"
if [ "$(ipcalc "$1/$netmask" | grep Network: | awk '{print $2}')" != "$2" ] #"
then
......
#!/bin/sh
FILE=/var/log/nginx/*access.log
FILE=/var/log/nginx/*-access.log
test -z "$1" || FILE="$1"
echo "=== Requests which took most of the time (from $FILE) ===" > url_report.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment