mirror of
https://github.com/librenms/librenms-agent.git
synced 2024-05-09 09:54:52 +00:00
Merge pull request #50 from OpcaoTelecom/unbound
Added unbound stats script
This commit is contained in:
8
agent-local/unbound.sh
Executable file
8
agent-local/unbound.sh
Executable file
@@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
unboundctl=`which unbound-control`
|
||||||
|
if [ "$?" != "0" ]; then
|
||||||
|
#Unbound control executable doesn't exist
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
echo '<<<app-unbound>>>'
|
||||||
|
$unboundctl stats
|
||||||
Reference in New Issue
Block a user