logdna-agent icon indicating copy to clipboard operation
logdna-agent copied to clipboard

ARM release

Open shengwu opened this issue 6 years ago • 5 comments

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?

shengwu avatar Sep 18 '17 20:09 shengwu

+1 :-)

ronniereid avatar Oct 04 '17 23:10 ronniereid

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.

leeliu avatar Jan 10 '18 03:01 leeliu

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.

nlamirault avatar May 02 '18 08:05 nlamirault

@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 .

joshughes avatar Dec 03 '18 02:12 joshughes

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.

jaredallard avatar May 01 '20 23:05 jaredallard