Improvements and new checks for elasticsearch

This commit is contained in:
Toni de la Fuente
2020-04-08 14:00:12 +02:00
parent 9c4e629647
commit 6ea37b05ca
7 changed files with 198 additions and 96 deletions

View File

@@ -12,9 +12,10 @@
# specific language governing permissions and limitations under the License.
# Functions to connection responses initially used for Elasticsearch related checks
# Function test_tcp_connectivity is in include/os_detector
httpStatus(){
# Functions to connection responses initially used for Elasticsearch related checks
httpStatus(){
case $1 in
000) SERVER_RESPONSE="000 Not responding" ;;
200) SERVER_RESPONSE="200 Successful" ;;