-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add release package for linux/arm64/v8 #267
Comments
Hey! I tried the same thing today on a RPI and got the the same error. However, looking in the Docker Hub page, I found that version 0.7.0 support arm64, although it is 2 years old now... Trying to run this version using the following at the end of a docker-compose results in the container exiting with code 2 :
Here are the returned logs :
Is it still possible to run this connector on arm64 devices or is this version now too old and the more recent ones incompatible ? |
@GoingtohellYT Got same error as you. I can't run |
@GoingtohellYT Besides, I downloaded the linux-arm64 package from release (0.13.0-2024-12-20 version) and it can successfully run on my RPI. However, there're only a limited number of metrics are supported. Important metrics like Here's the metrics I get:
But the log looks normal and no error shows up.
I'm wondering if it's also caused by issues from package or my nvme disk? |
@gongyisheng I couldn't get the exporter to work either, but I did find a workaround that works fine for me. Node-exporter, even though it does not scape SMART data, can read data from text files. Knowing this, you can create a bash script that puts the data returned by the
What the script does is basically the following :
The file ought to look something like this : However, I think that running this with multiple disks might lead to into an issue as you will have multiple lines with the same name... This way, you could identify each disk more easily. Once your script is all set up, you need to make it executable: Of course, for the data to be up to date, you need to run the script periodically, using a cron job : Lastly, you need to modify your Docker Compose file so that Node-exporter looks into that directory to retrieve the data. My Node-exporter configuration looks like this, feel free to modify it to your needs:
In my scenario, here are the metrics I can retrieve using this method:
With this you should be all set up and be able to retrieve the data in Prometheus. Note that Node-exporter will probably return an error in the logs if your scrape interval is smaller than the time between two executions of the Bash script. This is normal and sould not prevent you from using it. You can always increase the scrape interval in the That should do the trick, tell me if you need any further help/details. Hope it helps. PS: I use a SATA drive, so I don't know how that'll work with an NVME... |
@GoingtohellYT It works for me after changing making some small code changes, thanks |
I'm trying to run smartctl_exporter on my ubuntu linux machine with docker compose. However I found out that there's no matched release.
docker compose yaml:
error message:
The text was updated successfully, but these errors were encountered: