Ad Widget

Collapse

MacOS Agent package install fails on Monterey (latest version of MacOS)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ken.riggleman
    Junior Member
    • Jan 2022
    • 5

    #1

    MacOS Agent package install fails on Monterey (latest version of MacOS)

    Has anyone tried installing the Zabbix agent on MacOS running version 12.1 of MacOS?
    I attempted both a 4.2.8 and 5.0.19 install and both resulted in error below (the agent package install worked on Catalina):
    Note: On Catalina version of MacOS I got error that “can’t be opened because Apple cannot check it for malicious software.”

    However, I was able to open "macOS System Preferences > Security & Privacy > General" and approve it opening from there.
    I did the same on Monterey to get past malicious software check, but now the installation fails:

    sudo installer -pkg zabbix_agent-5.0.19-macos-amd64.pkg -target /
    Password:
    installer: Package name is Zabbix Agent
    installer: Installing at base path /
    installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “zabbix_agent-5.0.19-macos-amd64.pkg”.)

    Alternatively, I see there is an archive version of agent as well but I couldn't find any documentation on using archive to install the Zabbix agent. Which approach is recommended for MacOS 12?

    Am I missing some steps? Could this be a permission issue in some way? My biggest problem is there isn't anything in log file that I could find that clearly indicates where in the install script it is failing so I could get some clue on root cause.
  • ken.riggleman
    Junior Member
    • Jan 2022
    • 5

    #2
    Oh, dumb mistake on my part. I assumed my MacOS Agent install failure was due to Monterey since install worked in our other environments. I've realized now the failure is due to server running an M1 chip. Clearly, the amd64 package isn't going to work there and I don't see how to delete my original post. I saw one note that Rosetta might be used for compability with adm64 build. I'm not sure if that is a good way to go. I found doc on "Building Zabbix agent on MacOS" but I need to explore options before installing all the build tools on our production server. Unfortunately, it's the only M1 based device that we have.

    Comment

    • Dennis_W
      Junior Member
      • Sep 2022
      • 1

      #3
      The M1 is based on AMD architecture, so the AMD64 package would be a reasonable choice for running on Apple Silicon processors.

      Comment

      Working...