This commit is contained in:
2023-07-06 19:37:45 -05:00
parent 01d507ebb9
commit 359c4dfc3b
2 changed files with 3 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ RUN(){
done
QRY="USE servermonitor; INSERT INTO sysinfo (\`host\`, \`entry\`, \`value\`) VALUES ('${SERVERMON_ID}','hdd','${DRIVE_INFO[@]}');"
echo $QRY
# echo $QRY
MYSQL_PWD="sysmoninsert" mysql -h ${mysqlip} -P 3306 -u sysmoninsert -e "${QRY}"
elif [ "${1}" = "sys" ]; then