https://github.com/leen15/nanopi-mon-server
A nodejs app for store on a Clickhouse DB hardware info about aarch64 NanoPI boards
https://github.com/leen15/nanopi-mon-server
agent clickhouse docker logging nodejs
Last synced: about 2 months ago
JSON representation
A nodejs app for store on a Clickhouse DB hardware info about aarch64 NanoPI boards
- Host: GitHub
- URL: https://github.com/leen15/nanopi-mon-server
- Owner: Leen15
- Created: 2019-07-10T12:00:57.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-10T19:28:57.000Z (almost 7 years ago)
- Last Synced: 2025-03-14T18:21:24.685Z (over 1 year ago)
- Topics: agent, clickhouse, docker, logging, nodejs
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nanopi Monitoring Server
## What's up?
A nodejs app for store on a Clickhouse DB hardware info about aarch64 NanoPI boards (NEO2 and NEO-Plus-2 100% tested).
it saves:
- mac_address
- hostname
- local ip
- vpn ip
- uptime
- load
- temperature
- aditional data from external resource
it also read from an external resource (metabase in our case) additional data based on the mac address of the agent.
It works in combination with the [nanopi-mon-agent](https://github.com/Leen15/nanopi-mon-agent).
## Environment Variables
You have to set these environment variables:
`CH_URL`: Clickhouse URL in the format http://clickhouse.url
`CH_PORT`: Clickhouse HTTP listing interface PORT in the format `8123`
`METABASE_CUBE_URL`: a metabase public url that allow to pass a `cube_mac_address` parameter