Update install-dsmon.sh

This commit is contained in:
2022-03-11 19:14:12 -06:00
parent b7bd24dfbc
commit 779b8bbf5a

View File

@@ -57,8 +57,9 @@ if [ "${SET_SERVERMONID}" = "new" ]; then
QRY="USE servermonitor; SELECT id FROM hosts WHERE host='${ADD_SERVERNAME}';"
SET_SERVERMONID=`mysql -h mysqldb.scity.us -P 6033 --user=sysmoninsert --password=sysmoninsert -e "${QRY}"`
echo -e "${idsCL[LightGreen]}Server successfully added, it was given ID# ${SET_SERVERMONID//id
/}${idsCL[Default]}"
echo -en "${idsCL[LightGreen]}Server successfully added, it was given ID# "
echo -e ${SET_SERVERMONID//id
/}${idsCL[Default]}
echo ""
fi