https://github.com/goliatone/menagerie-rpi-agent
Menagerie RPi agent
https://github.com/goliatone/menagerie-rpi-agent
Last synced: 2 months ago
JSON representation
Menagerie RPi agent
- Host: GitHub
- URL: https://github.com/goliatone/menagerie-rpi-agent
- Owner: goliatone
- Created: 2016-03-04T23:36:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-07T18:58:06.000Z (over 9 years ago)
- Last Synced: 2025-02-13T19:18:23.942Z (4 months ago)
- Language: Go
- Size: 2.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## RPi Menagerie agent
Simple agent to register Raspberry Pi with Menagerie service### To build on a RPi
Follow the instructions here to install and compile `go` on your RPi. In addition to the steps shown there, you have to also add the following to `.bashrc`:```
#golang setup
export GOPATH=/root/CODE/GO/
export PATH=/usr/local/go/bin:$PATH
```Now you can build your binaries on a RPi.
---
Menagerie RPi Agent:
It should create an entry on Menagerie for a RPi, storing:
- IPs √
- serial number √
- MAC address(es) √It should not create an UUID. The board has a unique serial number. We can send that and let menagerie create a UUID. We can then send the same UUID.
It should boot with the RPi, @onboot.
It should create $HOSTIP env var.
It should ensure $HOSTNAME env var exists.It should provide a status and a health endpoint.