]> git.za3k.com Git - za3k.git/commitdiff
Add analog
authorZachary Vance <vanceza@gmail.com>
Thu, 8 Oct 2015 05:29:30 +0000 (22:29 -0700)
committerZachary Vance <vanceza@gmail.com>
Thu, 8 Oct 2015 05:29:30 +0000 (22:29 -0700)
cgi-bin/service.status.d/logging - analog [new file with mode: 0644]

diff --git a/cgi-bin/service.status.d/logging - analog b/cgi-bin/service.status.d/logging - analog
new file mode 100644 (file)
index 0000000..09420d7
--- /dev/null
@@ -0,0 +1,7 @@
+./up? http://za3k.com/~logs/analog.html || exit 1
+&& {
+SIZE=$(curl -s http://za3k.com/~logs/analog.html | wc -c)
+if [ "${SIZE}" -lt 20000 ]; then
+    echo "http://za3k.com/~logs/analog.html is too short, probably failing"
+    exit 1
+fi