summaryrefslogtreecommitdiffstats
path: root/sampleApp/sdnc.monitor
diff options
context:
space:
mode:
authorTschaen, Brendan (bptschaen) <bt054f@att.com>2018-05-25 16:01:18 -0400
committerTschaen, Brendan (bptschaen) <bt054f@att.com>2018-05-25 16:01:18 -0400
commit4adfe22e6cc067dea88f6468efb74c3208e909bb (patch)
tree6e3a81c6b7b440f17a887583672d3b3602003da2 /sampleApp/sdnc.monitor
parent660d3c95610fd80aef58e5c9637971efe5af22b9 (diff)
Initial code commit
Change-Id: I9e82864d57a0633aeb6e0107084a80ab926bede8 Issue-ID: MUSIC-77 Signed-off-by: Tschaen, Brendan (bt054f) <bt054f@att.com> Signed-off-by: Tschaen, Brendan (bptschaen) <bt054f@att.com>
Diffstat (limited to 'sampleApp/sdnc.monitor')
-rwxr-xr-xsampleApp/sdnc.monitor10
1 files changed, 10 insertions, 0 deletions
diff --git a/sampleApp/sdnc.monitor b/sampleApp/sdnc.monitor
new file mode 100755
index 0000000..bc3b73b
--- /dev/null
+++ b/sampleApp/sdnc.monitor
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# SDNC Resiliency project
+# SHELL script to query status of the SDNC cluster
+#
+# return values:
+# HEALTHY - the cluster health is determined to be able to successfully process requests
+# FAILURE - the cluster is in unhealthy state, the execution of failover is required
+#
+echo "HEALTHY"