mirror of
https://github.com/bsmithio/OPNsense-Dashboard.git
synced 2026-02-16 14:14:16 +00:00
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"
|