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

active check configuration update from [myhostname.com:10051] started to fail (gethostbyname() failed for 'myhostname.com: [3] Unknown server error)

XMLWordPrintable

    • Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021)
    • 1

      Virt-guest is OVA deployed where vendor has "hardened".  Looks like "gethostbyname()" libraries required by "nsswitch.conf" are not installed.   Looks like Zabbix agent uses the "gethostbyname()" C function.   This is obsolete; use getaddrinfo() instead.

      I also found the start-up systemd service startup for the Zabbix agent fails as the default "zabbix" userid cannot be found with the "hardened" environment.   I'm working with the vendor to get the appropriate libraries added.   

      However, is there any plan to update the Zabbix Agent code to use non-obsolete functions. 

       

            wiper Andris Zeila
            BrianB Brian Bumpass
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: