logdna / logdna-agent

LogDNA Agent streams from log files to your LogDNA account. Works with Linux, Windows, and macOS Servers
https://logdna.com
MIT License
137 stars 55 forks source link

ARM release #28

Open shengwu opened 6 years ago

shengwu commented 6 years ago

I've been attempting to install the agent on a raspberry pi, following the instructions for Debian on the LogDNA website:

echo "deb http://repo.logdna.com stable main" | sudo tee /etc/apt/sources.list.d/logdna.list
wget -O- https://s3.amazonaws.com/repo.logdna.com/logdna.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get install logdna-agent < "/dev/null" # this line needed for copy/paste

However, when it gets to the sudo apt-get update step, the command fails with this message:

W: Failed to fetch http://repo.logdna.com/dists/stable/Release  Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

Would it be possible to get an ARM release to avoid the overhead of downloading nodejs and installing from source?

ronniereid commented 6 years ago

+1 :-)

leeliu commented 6 years ago

Sorry for the super late reply. Yeah we've wanted to do an ARM build for awhile. We have this planned for after we migrate to a proper CI environment for the agent/cli. I'll update this when we have more info.

nlamirault commented 6 years ago

Hi, any news on this feature ? It would be interesting to have an ARM version of the agent to collect logs from a Kubernetes cluster on Raspberry PI. Thanks.

joshughes commented 5 years ago

@leeliu we have been using our own build process for an arm64 logdna agent. It has worked well for us, so I figured I would sanitize it a bit and maybe this will be helpful to your team.

https://github.com/joshughes/arm-logdna-agent

We have to do this for other software as well and follow the process laid out here .

jaredallard commented 4 years ago

I'm also providing up-to-date logdna-agent docker images here: https://github.com/jaredallard-home/multiarch-images

@smusali Your team is welcome to take my Dockerfile and... just use it instead of the current one. It's really that easy to get ARM support.