aboutsummaryrefslogtreecommitdiffstats
path: root/sampleApp/sdnc.monitor
diff options
context:
space:
mode:
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"