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

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 70 (Nov 2020), Sprint 71 (Dec 2020), Sprint 72 (Jan 2021)
    • Story Points:
      1

      Description

      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. 

       

        Attachments

          Activity

            People

            Assignee:
            wiper Andris Zeila
            Reporter:
            BrianB Brian Bumpass
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: