Browse code

BM-15288 Fix: remove IPS check

Anthony Prades authored on 24/10/2019 09:29:39
Showing 2 changed files
1 1
deleted file mode 100644
... ...
@@ -1,24 +0,0 @@
1
-set username "admin0"
2
-set password [exec cat /etc/bm/bm-core.tok]
3
-
4
-log_user 0
5
-set timeout 5
6
-spawn telnet 127.0.0.1 144
7
-expect {
8
-    default {
9
-        send_user "\[ERROR\] Failed to get IPS banner\n"
10
-        exit 2
11
-    }
12
-    "* OK " {}
13
-}
14
-
15
-send "A1 LOGIN $username $password\n"
16
-expect {
17
-    default {
18
-        send_user "\[ERROR\] IPS authentication fail!\n"
19
-        exit 2
20
-    }
21
-    "A1 OK " {
22
-        exit 0
23
-    }
24
-}
25 0
deleted file mode 100755
... ...
@@ -1,26 +0,0 @@
1
-#!/bin/bash
2
-
3
-JAVA_APP="net.bluemind.ips.vertx.ips"
4
-APP_NAME="BlueMind IPS Server"
5
-
6
-WORKSPACE=`dirname $0`
7
-source ${WORKSPACE}"/check.lib"
8
-
9
-function check_ips {
10
-    if [ ! -e ${WORKSPACE}/check_ips.expect ]; then
11
-        echo "[ERROR] Missing expect script!"
12
-        exit 2
13
-    fi
14
-    expect -f ${WORKSPACE}/check_ips.expect
15
-
16
-        ret=$?
17
-        if [ ${ret} -ne 0 ]; then
18
-                exit ${ret}
19
-        fi
20
-}
21
-
22
-check_hprof
23
-check_networkport "" 144
24
-check_ips
25
-
26
-exit_ok