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

Zabbix Server/Proxy ignores changes in resolv.conf with async dns in 7.0+

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 7.0.4rc1, 7.2.0alpha1
    • 7.0.2, 7.2.0alpha1
    • Proxy (P), Server (S)
    • None
    • Any OS/Zabbix server 7.0
    • S24-W34/35, S24-W36/37
    • 3

      Steps to reproduce:

      1. Start using Agent polling (passive checks) with DNS names as a host interface
      2. use some faulty dns settings (not working, not reachable, etc)
      3. fix DNS issues in resolv.conf
      4. check if DNS resolution started to work
      5. will not work until zabbix-server or zabbix-proxy restarted

      Result:
      Level 3 log will give:

      27041:20240805:101152.822 Zabbix agent item "vfs.fs.size[/nisaba/micvna,used]" on host "x5backup" failed: first network error, wait for 15 seconds
      27041:20240805:101152.831 Zabbix agent item "system.cpu.util[,interrupt]" on host "qc" failed: first network error, wait for 15 seconds
      27041:20240805:101153.115 Zabbix agent item "system.cpu.util[,iowait]" on host "mic-dicom-router-mercure" failed: first network error, wait for 15 seconds
      27041:20240805:101154.826 Zabbix agent item "system.cpu.util[,guest_nice]" on host "pluto" failed: first network error, wait for 15 seconds
      

      Higher log level will give:

      27041:20240809:131016.823 cannot resolve DNS name: nodename nor servname provided, or not known
      

      Expected:
      Automatic refresh/renew of the DNS settings, or at least an option to use runtime control, so DNS settings can be refreshed. Also should be documented, if no automatic solution is possible.

            sboidenko Sergejs Boidenko
            edgar.akhmetshin Edgar Akhmetshin
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1h
                1h