Update dsmon.sh
This commit is contained in:
2
dsmon.sh
2
dsmon.sh
@@ -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