We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 742eba7 commit 7d08a3aCopy full SHA for 7d08a3a
bin/v-update-sys-rrd-mysql
@@ -37,9 +37,7 @@ fi
37
38
# Parsing db hosts
39
conf="$VESTA/conf/mysql.conf"
40
-fields='$HOST'
41
-nohead=1
42
-hosts=$(shell_list)
+hosts=$(grep HOST $conf |awk '{print $1}' |cut -f 2 -d \')
43
check_row=$(echo "$hosts" |wc -l)
44
if [ 0 -eq "$check_row" ]; then
45
exit
bin/v-update-sys-rrd-pgsql
conf="$VESTA/conf/pgsql.conf"
0 commit comments