]> granicus.if.org Git - icinga2/commitdiff
contrib: add flap.sh
authorMichael Friedrich <michael.friedrich@netways.de>
Tue, 30 Jul 2013 11:09:26 +0000 (13:09 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Tue, 30 Jul 2013 11:09:26 +0000 (13:09 +0200)
contrib/flap.sh [new file with mode: 0755]

diff --git a/contrib/flap.sh b/contrib/flap.sh
new file mode 100755 (executable)
index 0000000..01fc9d5
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+foo=$(shuf -i 0-3 -n 1)
+echo "flapme: $foo"
+exit $foo