Hi all! Im new to the forum but I've been reading for a while now 
I am trying to put toghether DNS Bind Statistics along with Zabbix. Some of the topics here where pretty helpful, but I am strugling with something I cannot solve yet.
zabbix_agent.d/userparameters_dns.conf:
Test UserParameter Code:
zabbix_get:
But pretty oddly (at least to me) this is what I see in the GUI:

As you can see, it is grabbing anything but the output of the command.
I honestly am lost with this.. Dont know what else to check. I put server in debug=4 , but it seens to be receiving the data correctly.
Any ideas?
Thanks a lot in advance!

I am trying to put toghether DNS Bind Statistics along with Zabbix. Some of the topics here where pretty helpful, but I am strugling with something I cannot solve yet.
zabbix_agent.d/userparameters_dns.conf:
Code:
UserParameter=bind.queries.in[*],curl [url]http://localhost:8053/[/url] 2>/dev/null | xml2 | grep -A1 "/isc/bind/statistics/server/queries-in/rdtype/name=$1$" | tail -1 | cut -d= -f2 UserParameter=bind.queries.out[*],curl [url]http://localhost:8053/[/url] 2>/dev/null | xml2 | grep -A1 "/isc/bind/statistics/views/view/rdtype/name=$1$" | tail -1 | cut -d= -f2
Code:
[root@mars ~]# curl http://localhost:8053/ 2>/dev/null | xml2 | grep -A1 "/isc/bind/statistics/views/view/rdtype/name=AAAA$" | tail -1 | cut -d= -f2 8
Code:
[root@mars ~]# zabbix_get -s x.x.x.x -p 10050 -I x.x.x.x -k bind.queries.out[AAAA] 8

As you can see, it is grabbing anything but the output of the command.
I honestly am lost with this.. Dont know what else to check. I put server in debug=4 , but it seens to be receiving the data correctly.
Any ideas?
Thanks a lot in advance!