This commit is contained in:
2023-07-04 23:53:30 -05:00
parent 792646e7df
commit b9bbad8e7b
2 changed files with 16 additions and 17 deletions

View File

@@ -5,6 +5,15 @@ VERS=2.2.15-07042023
DS_FOLDER=/opt/idssys/dsmon
DS_CRONTAB_FOLDER=/opt/idssys/nodemgmt/crontabs
if [ "$(CHECK_HOST 10.10.10.50)" != "false" ]; then
nmip=10.10.10.50
mysqlip=10.10.1.50
elif [ "$(CHECK_HOST 100.100.55.1)" != "false" ]; then
nmip=100.100.55.1
mysqlip=100.100.5.2
else
nmip=
fi
SENDNOTICE(){
[ "${PUSHOVER_APP_TOKEN}" != "" ] && PUSH_TO_MOBILE "${2}