Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21926

zabbix-agent2 & /etc/resolv.conf comments

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 6.0.10
    • Agent (G)
    • None

      Steps to reproduce:

      1. create the following check on Linux host:
        1. Type: Zabbix agent (active_
        2. Key: net.dns,[www.google.com,A]/]
        3. Type of information: Numeric (unsigned)
      2. modify /etc/resolv.conf file on the Linux host like this

       

      # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
      #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
      
      nameserver 10.10.10.10 #local
      nameserver 208.67.222.222 #opendns

       

      Result:
      In UI: Invalid IP address, 10.10.10.10 #local. 

      In zabbix_agent2.log

      17:41:38.001062 check 'net.dns[,www.google.com,A]' is not supported: Invalid IP address, 10.10.10.10 #local

      Expected:
      proper 

            zabbix.dev Zabbix Development Team
            dreik Sergey Kolesnik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: