Prometheus node exporter for Zyxel NAS540

intzero
intzero Posts: 2  Freshman Member

Hi!

I've exported the "node_exporter" tool from prometheus to the NAS540. You can find the tool in the official repositories: https://github.com/prometheus/node_exporter.

The cross-compiling it's very simple, just by typing: "env GOOS=linux GOARCH=arm make" you get an stand-alone binary that can be copied and executed in the NAS. After that you can monitor the NAS with Prometheus and grafana.

The only issue with this is that you need to re-launch the process after a reboot. This is my question: do you have a SDK to create "homebrew" packages? or could you create a installable package with the node_exporter to allow professional monitoring of the NAS.

I attach an example about monitoring read/write rate during a few hours 😁

graph_example.png

Thanks in advance!

All Replies

  • Mijzelf
    Mijzelf Posts: 2,923  Guru Member
    250 Answers 2500 Comments Friend Collector Seventh Anniversary

    AFAIK there is no SDK. I wrote some (reverse engineered) documentation some years ago. And I have a script somewhere I used to generate my packages, which I can provide if you have some patience.

    The firmware cannot handle packages from another source than ZyXEL's. To bypass that I have written MetaRepository.

Consumer Product Help Center