amonapp / amon

Amon is a modern server monitoring platform.
https://docs.amon.cx
GNU Affero General Public License v3.0
1.33k stars 108 forks source link

ArmHF support? #187

Open Xalior opened 6 years ago

Xalior commented 6 years ago

Is Arm hardware float supported at this time, I've tried two different servers and (basically) get the same error -- which I've included below.


root@tina:#  uname -a
Linux tina 4.9.2-armada375 #1 SMP Mon Jan 23 16:52:54 CET 2017 armv7l armv7l armv7l GNU/Linux

root@tina:# API_KEY=|KEY| bash -c "$(curl -L https://|SERVER|/install/)" 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4479  100  4479    0     0   4058      0  0:00:01  0:00:01 --:--:--  4060

* Adding Repositories ...

Executing: /tmp/tmp.gDiCaCWMfp/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv
AD53961F
gpg: requesting key AD53961F from hkp server keyserver.ubuntu.com
gpg: key AD53961F: "Amon Release Key <martin@amon.cx>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Hit:2 http://ports.ubuntu.com/ubuntu-ports xenial InRelease
Hit:3 http://ppa.launchpad.net/deluge-team/ppa/ubuntu xenial InRelease
Get:4 http://last.public.ovh.hdaas.snap.mirrors.ovh.net/ubuntu xenial InRelease [2695 B]
Hit:1 https://packages.amon.cx/repo amon InRelease
Fetched 2695 B in 2s (1106 B/s)
Reading package lists...
Your OS or distribution are not supported by this install script.
            Please follow the instructions on the Agent setup page:

        https://amon.cx/docs#monitoring ```
martinrusev commented 6 years ago

Hi @Xalior, there is an ARM support, just not included in the install script:

https://github.com/amonapp/amonagent/releases

Look for the amonagent-arm binary. This one should go in to /etc/opt/amonagent/amonagent

Xalior commented 6 years ago

Wonderful! it is supported! :D

Manually wrangling 14 armhf nodes into submission is a pain in the bum however... will there be a arm DPKG repo coming on line any time soon (or any way one can help in getting one online? ;-) ) so the auto-installer can use it? :)

-Dx

martinrusev commented 6 years ago

@Xalior Will make it work as soon as I can. The current issue is that 32bit and ARM binaries are compiled on release, but not packaged in the DEB/RPM repositories yet - both of those are generic no-arch.

martinrusev commented 6 years ago

@Xalior One more update on the issue. I started working on a proper package building script, once it is done, will push deb/rpm packages for i386, amd64, arm64 and armhf to github and also in the repository

https://github.com/amonapp/amonagent/blob/master/build.py

Xalior commented 6 years ago

@martinrusev That's wondeful! Please let me know if there is anything I can do to help in any way...

-Dx

martinrusev commented 6 years ago

@Xalior Can you try the compiled arm package from this page: https://github.com/amonapp/amonagent/releases

I will update the official repositories and the install script in the next few days.