initial commit; version 22.5.12042

This commit is contained in:
2022-12-12 23:28:25 -05:00
commit af1b03d79f
17653 changed files with 22692970 additions and 0 deletions

27
scripts/agent-local/unbound Executable file
View File

@ -0,0 +1,27 @@
#!/bin/sh
# Unbound statistics
# (c) 2012, Tom Laermans for Observium (www.observium.org)
# Required server configuration:
#
# statistics-cumulative: yes
# extended-statistics: yes
if [[ -x '/usr/sbin/unbound-control' ]];
then
unboundctl='/usr/sbin/unbound-control'
elif [[ -x '/usr/local/sbin/unbound-control' ]];
then
unboundctl='/usr/local/sbin/unbound-control'
else
unboundctl=`which unbound-control`
fi
if [ $? -eq 0 ]
then
echo '<<<app-unbound>>>'
$unboundctl stats
fi