From 9cd81f1b930e2ed777ecf3bf6c7deff65df6e564 Mon Sep 17 00:00:00 2001 From: Alan Gregory Date: Wed, 17 Aug 2016 09:36:39 -0300 Subject: [PATCH] Added unbound stats script --- agent-local/unbound.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 agent-local/unbound.sh diff --git a/agent-local/unbound.sh b/agent-local/unbound.sh new file mode 100755 index 0000000..d9b3788 --- /dev/null +++ b/agent-local/unbound.sh @@ -0,0 +1,8 @@ +#!/bin/bash +unboundctl=`which unbound-control` +if [ "$?" != "0" ]; then +#Unbound control executable doesn't exist +exit +fi +echo '<<>>' +$unboundctl stats