forked from Github/OPNsense-Dashboard
4 lines
203 B
Bash
Executable file
4 lines
203 B
Bash
Executable file
#!/bin/sh
|
|
HOSTNAME=$(hostname)
|
|
|
|
/usr/local/sbin/unbound-control -c /var/unbound/unbound.conf stats | grep -E 'total.num.cachemiss|total.num.cachehits'| xargs printf "unbound_lite,host=$HOSTNAME %s,%s\n"
|