Prometheus node exporter for Zyxel NAS540


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 😁
Thanks in advance!
All Replies
-
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
.0
Categories
- All Categories
- 431 Beta Program
- 2.6K Nebula
- 169 Nebula Ideas
- 114 Nebula Status and Incidents
- 6K Security
- 382 USG FLEX H Series
- 294 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.7K Consumer Product
- 267 Service & License
- 412 News and Release
- 87 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.9K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 83 Security Highlight