Implement Monlet MVP stack and UI updates
This commit is contained in:
3
deploy/showcase/checks/exit_0.sh
Executable file
3
deploy/showcase/checks/exit_0.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
echo "ok: $(date -u +%FT%TZ)"
|
||||
exit 0
|
||||
3
deploy/showcase/checks/exit_1.sh
Executable file
3
deploy/showcase/checks/exit_1.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
echo "warning: degraded"
|
||||
exit 1
|
||||
3
deploy/showcase/checks/exit_2.sh
Executable file
3
deploy/showcase/checks/exit_2.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
echo "critical: probe failed"
|
||||
exit 2
|
||||
3
deploy/showcase/checks/exit_3.sh
Executable file
3
deploy/showcase/checks/exit_3.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
echo "unknown: probe returned unexpected exit code"
|
||||
exit 3
|
||||
8
deploy/showcase/checks/flapping.sh
Executable file
8
deploy/showcase/checks/flapping.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# critical until /state/resolve.flag exists, then ok.
|
||||
if [ -f /state/resolve.flag ]; then
|
||||
echo "ok: resolve flag present"
|
||||
exit 0
|
||||
fi
|
||||
echo "critical: waiting for resolve flag"
|
||||
exit 2
|
||||
3
deploy/showcase/checks/replay_check.sh
Executable file
3
deploy/showcase/checks/replay_check.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
echo "ok: replay tick"
|
||||
exit 0
|
||||
Reference in New Issue
Block a user