Ad Widget

Collapse

missing 7.0 LTS Agent installation PKG for macOS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • d0d0
    Member
    • May 2023
    • 41

    #1

    missing 7.0 LTS Agent installation PKG for macOS

    Why is there not installation PKG for macOS Agent for 7.0? All other versions hat installation PKG files for download.

    There is a macOS binary archive available for download, but that is pretty much useless without detailed instruction on how to install the components manually. There are no instructions in the archive, not installer script, and not macOS specific instructions online.

    How are people supposed to update the macOS agents?

    I suggest to also provide PKG installer files for the 7.0 LTS for macOS.
  • markfree
    Senior Member
    • Apr 2019
    • 868

    #2
    As you noted, there is a MacOS binary available for the Zabbix Agent, and if you go to the download page, there's a link to the documentation with instructions on how to set it up.
    I've never installed a Zabbix Agent on a MacOS, but I guess the instructions fall under the Unix-like systems.

    Comment


    • d0d0
      d0d0 commented
      Editing a comment
      You response is not helpful. When you do not know enough about macOS, please do not make wrong suggestions.
  • skotty
    Junior Member
    • Oct 2023
    • 9

    #3
    From what I can see there is an archive file to be downloaded but no information in the manual on how to install it. In the manual for 7 there is an instruction on how to install the PKG-file but there is no PKG-file.
    Is there perhaps something that's been missed?
    The only alternative in the manual seems to be to build it from source.

    Comment

    • markfree
      Senior Member
      • Apr 2019
      • 868

      #4
      Originally posted by skotty
      From what I can see there is an archive file to be downloaded but no information in the manual on how to install it. In the manual for 7 there is an instruction on how to install the PKG-file but there is no PKG-file.
      Is there perhaps something that's been missed?
      The only alternative in the manual seems to be to build it from source.
      I guess there's room for improvement in the documentation.
      Try to read a bit further in the "Start up manually" and "Options" sections.
      After downloading the MacOS binary, I think you can start the Zabbix Agent manually.

      Comment

      • d0d0
        Member
        • May 2023
        • 41

        #5
        could be there are people responding who are not administering any macOS machines?
        macOS is a BSD, not a Linux and regarding service management very different from FreeBSD or Linux.
        There is clearly a reason what you don't want to manually start the agent. And why woudl everyone have to create the service files on their own? I just don't see how this is a reasonable approach. For past versions there was a PKG file provided for macOS, and there is not apparent reason why this wouldn't be useful for Zabbix 7.

        In absence of a pkg file there is a need for clear and concise description on how to install the binary and register it as a service - under macOS. This is missing from the manual, it also never was there before version 7.

        Comment

        • d0d0
          Member
          • May 2023
          • 41

          #6
          could be there are people responding who are not administering any macOS machines?
          macOS is a BSD, not a Linux and regarding service management very different from FreeBSD or Linux.
          There is clearly a reason what you don't want to manually start the agent. And why woudl everyone have to create the service files on their own? I just don't see how this is a reasonable approach. For past versions there was a PKG file provided for macOS, and there is not apparent reason why this wouldn't be useful for Zabbix 7.

          In absence of a pkg file there is a need for clear and concise description on how to install the binary and register it as a service - under macOS. This is missing from the manual, it also never was there before version 7.

          Comment

          • markfree
            Senior Member
            • Apr 2019
            • 868

            #7
            Maybe MacOS has little demand...
            You could try to open a request at Zabbix Support.

            Comment

            • dbird@iqx.co.uk
              Junior Member
              • Apr 2024
              • 9

              #8
              Originally posted by d0d0
              could be there are people responding who are not administering any macOS machines?
              macOS is a BSD, not a Linux and regarding service management very different from FreeBSD or Linux.
              There is clearly a reason what you don't want to manually start the agent. And why woudl everyone have to create the service files on their own? I just don't see how this is a reasonable approach. For past versions there was a PKG file provided for macOS, and there is not apparent reason why this wouldn't be useful for Zabbix 7.

              In absence of a pkg file there is a need for clear and concise description on how to install the binary and register it as a service - under macOS. This is missing from the manual, it also never was there before version 7.
              Did you get anywhere with this and get 7.0 installed at all? I am still struggling with this myself, all my agents are up to date (7.0.6) except for MacOS which is still sitting on 6.4. I do not have enough MacOS knowledge to start copying the files over and try to update.

              Comment


              • d0d0
                d0d0 commented
                Editing a comment
                No. macOS still sitting on 6.4. It is a shame.
            • MichuST
              Junior Member
              • Dec 2024
              • 1

              #9
              I managed to run zabbix agent 7.2.1 on an macOS Sequoia host.
              Not so easy as installing a pkg but at the end it works fine.
              and bit of unix knowhow is helpfull, because at the end macOS is a BSD based OS

              First:
              install the last 6.4 package and get it running and identified in Zabbix

              Second:
              download latest binaries to the macOS host (in my case 7.2.1 tar)
              unarchive it (e.g. default Archive Tool)
              you will find a "zabbix_agent-7.2.1-macos-amd64" folder (as the time of writing this reply) containing a ./bin, ./etc, ./sbin folder

              now open terminal and become root ("sudo su" if you have already admin rights)
              stop the running agent "systemctl stop ..."
              killall running zabbix processes

              Third:
              copy the new zabbix_agentd from the ./sbin folder to /usr/local/sbin/
              copy the new zabbix_get and zabbix_sender form the ./bin folder to /usr/local/bin
              xattr -c all 3 binaries if you see the "@" for extended attributes (macOS put mine to quarantine... )
              copy (cp -R ...) the new config files to /usr/local/etc (!!! the current config will be overwritten)

              Fourth:
              don't forget to adapt at least the server in zabbix_agentd.conf to you needs
              start the agent "systemctl start ..."

              Check Zabbix server for the running agent (give zabbix 1..2 min)

              Finally:
              I am not sure if it helps because I see no difference to the 6.4, but I started using zabbix with 7.2.1 for about a week.
              Due to missing items and different naming conventions in items it seems not possible to have linux and macOS hosts on the same dashboard (e.g. Top hosts by CPU utilization) without changing and adapting items), but again I just started

              Comment

              • svaughan17
                Junior Member
                • Jul 2025
                • 1

                #10
                MichuST
                I needed more information, so I had it better cleaned up to help: [B]

                Comment

                Working...