Ad Widget

Collapse

Zabbix Agent on MacOS High Sierra (aka 10.13.x) doesn't start.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Alchemist
    Junior Member
    • Apr 2020
    • 3

    #1

    Zabbix Agent on MacOS High Sierra (aka 10.13.x) doesn't start.

    Hi Guys,

    I want to do some testing with Zabbix monitoring the status of my FileMaker Server installations which is on both Windows and MacOS platforms. I have Zabbix running on a Ubuntu box and its happy monitoring my Windows 2016 and 2019 installations but I can't get the agent to work on my MacOS hosts.

    • I used the package version of the installer, downloaded from the Zabbix.com downloads page.
    • Installed on MacOS 10.13
    • The download page says that this installer is for 'Any' version of MacOS (but I have my doubts).

    The installer says it installed ok so I edited the config file with details of my server's FQDN and the hostname but the agent fails to start. My system log is full of entries like these ...

    Code:
    Apr 20 13:46:15 PacificStone-FMS-18 zabbix_agentd[3646]: dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
          Referenced from: /usr/local/sbin/zabbix_agentd (which was built for Mac OS X 10.15)
          Expected in: /usr/lib/libSystem.B.dylib
    
    Apr 20 13:46:15 PacificStone-FMS-18 zabbix_agentd[3646]: dyld: Symbol not found: ____chkstk_darwin
          Referenced from: /usr/local/sbin/zabbix_agentd (which was built for Mac OS X 10.15)
          Expected in: /usr/lib/libSystem.B.dylib
    
    Apr 20 13:46:15 PacificStone-FMS-18 com.apple.xpc.launchd[1] (com.zabbix.zabbix_agentd): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
    My MacOS hosts can't run MacOS 10.15 ... they are stuck at MacOS 10.13 which is just fine for FileMaker Server 18.

    Is there a way around this without updating to MacOS 10.15 (i.e. replacing the hardware)?

    If the Agent ONLY works with 10.15 why did the installer proceed?

    Is there a version which works on 10.13.x?

    Cheers, Malcolm
  • pcovello
    Junior Member
    • Dec 2019
    • 3

    #2
    I have run into a similar issue. The Zabbix Log shows it exits due to a child process dying with signal 6 after the listeners start up...



    2112:20220324:215644.648 IPv6 support: YES

    2112:20220324:215644.648 TLS support: YES

    2112:20220324:215644.648 **************************

    2112:20220324:215644.648 using configuration file: /usr/local/etc/zabbix/zabbix_agentd.conf

    2112:20220324:215644.648 agent #0 started [main process]

    2113:20220324:215644.649 agent #1 started [collector]

    2114:20220324:215644.650 agent #2 started[listener #1]

    2115:20220324:215644.651 agent #3 started[listener #2]

    2116:20220324:215644.652 agent #4 started[listener #3]

    2117:20220324:215644.653 agent #5 started [active checks #1]

    2112:20220324:215644.699 One child process died (PID:2117,exitcode/signal:6). Exiting ...

    2112:20220324:215644.700 Zabbix Agent stopped. Zabbix 6.0.2 (revision d726a4d916).
    Last edited by pcovello; 25-03-2022, 05:07. Reason: Older versions of the agent do not seem to have this issue (for example, version 4.2.8) but any agent newer does not seem to get along with High Sierra.

    Comment

    • pcovello
      Junior Member
      • Dec 2019
      • 3

      #3
      I was able to get Agent 6.0.2 to run on High Sierra. In order to accomplish this, you will have to build from source. During the config stage, you will run into a few errors due to missing libraries such as pcre2, gnutls, etc...

      I found it easier to install brew, then brew install the missing libraries.

      After installing each lib, run the config script again. Once you have everything it's looking for, the config will finish. You can then do a "make install". The agent ran fine after this.

      Hope this helps!

      Comment

      Working...