From 83dc62bdab8fc06867c3e70b54e60f4198184297 Mon Sep 17 00:00:00 2001 From: Zachary Vance Date: Wed, 7 Oct 2015 22:29:30 -0700 Subject: [PATCH] Add analog --- cgi-bin/service.status.d/logging - analog | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cgi-bin/service.status.d/logging - analog diff --git a/cgi-bin/service.status.d/logging - analog b/cgi-bin/service.status.d/logging - analog new file mode 100644 index 0000000..09420d7 --- /dev/null +++ b/cgi-bin/service.status.d/logging - analog @@ -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 -- 2.47.3