Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -309,7 +309,7 @@ GETCRONTABS(){
|
|||||||
fi
|
fi
|
||||||
done <<< $(MYSQL_PWD="sysmoninsert" mysql -h mysqldb.scity.us -P 3306 -u sysmoninsert -e "SELECT id,host,ip,limits FROM servermonitor.hosts WHERE disabled=0 ORDER BY host ASC")
|
done <<< $(MYSQL_PWD="sysmoninsert" mysql -h mysqldb.scity.us -P 3306 -u sysmoninsert -e "SELECT id,host,ip,limits FROM servermonitor.hosts WHERE disabled=0 ORDER BY host ASC")
|
||||||
|
|
||||||
read -p "Enter the password for the Root account on MySQL-Manager: " rtpsswd
|
read -p "Enter the password for the 'nm_crontab_user' account on MySQL-Manager: " rtpsswd
|
||||||
echo
|
echo
|
||||||
|
|
||||||
for hostid in "${!host_ip[@]}"; do
|
for hostid in "${!host_ip[@]}"; do
|
||||||
|
|||||||
Reference in New Issue
Block a user