-
Problem report
-
Resolution: Won't fix
-
Trivial
-
None
-
7.0.3, 7.0.4
-
None
-
Debian GNU/Linux 12 (bookworm), AMD64
Steps to reproduce:
- Assignment in the 7th parameter of the net.dns.get key of several flags separated by commas according to the instructions causes an error.
- If only one flag is specified, it works as described in the instructions.
Multiple flags:
debian:~$ sudo /sbin/zabbix_agent2 -t net.dns.get[,198.51.100.1,PTR,,,,"cdflag,rdflag"] net.dns.get[,198.51.100.1,PTR,,,,cdflag,rdflag][m|ZBX_NOTSUPPORTED] [Too many parameters.]
Single flag:
debian:~$ sudo /sbin/zabbix_agent2 -t net.dns.get[,198.51.100.1,PTR,,,,"cdflag"] 2024/10/10 12:06:05.862264 [NetCheck] plugin "/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-netcheck" process exited {{net.dns.get[,198.51.100.1,PTR,,,,cdflag] [s|{"authority_section":[{"class":"IN","name":"100.51.198.in-addr.arpa.","rdata":{"expire":604800,"mbox":".","minttl":86400,"ns":"100.51.198.in-addr.arpa.","refresh":28800,"retry":7200,"serial":0},"rdlength":23,"ttl":900,"type":"SOA"}],"flags":["RD","RA","CD"],"query_time":"0.01","question_section":[{"qclass":"IN","qname":"1.100.51.198.in-addr.arpa.","qtype":"PTR"}],"response_code":"NXDOMAIN","zbx_error_code":0}]}}