new improved template scheme

This commit is contained in:
Serghey Rodin 2013-05-10 11:04:40 +03:00
commit fd4e68bb8c
96 changed files with 1395 additions and 1425 deletions

View file

@ -102,12 +102,12 @@ for period in $periods; do
$BIN/v-update-sys-rrd-ssh $period
# Updating web stats
if [ "$WEB_SYSTEM" = 'apache' ]; then
$BIN/v-update-sys-rrd-httpd $period
if [ ! -z "$WEB_SYSTEM" ]; then
$BIN/v-update-sys-rrd-$WEB_SYSTEM $period
fi
if [ "$PROXY_SYSTEM" = 'nginx' ]; then
$BIN/v-update-sys-rrd-nginx $period
if [ ! -z "$PROXY_SYSTEM" ]; then
$BIN/v-update-sys-rrd-$PROXY_SYSTEM $period
fi
# Updating ftp stats