bind 9.18
Agent configured per:
But none of the statistics work. Every parameter is returned as "null".
# zabbix_get -k bind.queries.jq[cache,A,http://127.0.0.1:8053/json] -s dnsserver
null
No error in agent log.
If we break down an item...
UserParameter=bind.queries.jq[*],curl $3 2>/dev/null | jq ".$1.$2"
Test on server:
# curl http://127.0.0.1:8053/json 2>/dev/null | jq ".cache.A"
null
So agent returns exactly what command outputs. Fine.
So command must be wrong. What is the correct command?
Comment