Update dsmon.sh
This commit is contained in:
1 parent
369c1fe7f1
commit
ae2ad2a5a5
1 file changed
+1
-1
@@ -73,7 +73,7 @@ RUN(){
|
||||
done
|
||||
|
||||
QRY="USE servermonitor; UPDATE hosts SET ip='${SERVERIPS// /}',hostname='${SERVERHOSTNAME}',limits='${thresholdlog[@]}' WHERE id='${SERVERMON_ID}';"
|
||||
mysql -h mysqldb.scity.us -P 3306 --user=sysmoninsert --password=sysmoninsert -e "${QRY}"
|
||||
MYSQL_PWD="sysmoninsert" mysql -h mysqldb.scity.us -P 3306 -u sysmoninsert -e "${QRY}"
|
||||
|
||||
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user