Source code of https://xmr.ditatompel.com, a website that helps you monitor your favourite Monero remote nodes.
Find a file
2024-05-06 21:45:33 +07:00
cmd Process submitted job from prober 2024-05-05 01:42:47 +07:00
frontend Simple display probe logs 2024-05-06 17:19:17 +07:00
handler Simple display probe logs 2024-05-06 17:19:17 +07:00
internal Delete old probe logs task 2024-05-06 18:40:09 +07:00
tools Adding systemd service and timer for prober 2024-05-06 21:45:33 +07:00
.air.toml Copying my other project structure to this project 2024-05-04 00:11:56 +07:00
.editorconfig Copying my other project structure to this project 2024-05-04 00:11:56 +07:00
.env.example Probe (client) check remote node 2024-05-04 22:36:57 +07:00
.gitattributes Initial commit 2024-05-04 00:10:33 +07:00
.gitignore Adding GeoIP support 2024-05-05 02:20:54 +07:00
go.mod Adding GeoIP support 2024-05-05 02:20:54 +07:00
go.sum Adding GeoIP support 2024-05-05 02:20:54 +07:00
LICENSE Initial commit 2024-05-04 00:10:33 +07:00
main.go Copying my other project structure to this project 2024-05-04 00:11:56 +07:00
Makefile Adding ansible example deploy server 2024-05-06 20:51:44 +07:00
README.md Adding systemd service and timer for prober 2024-05-06 21:45:33 +07:00

XMR Nodes

Requirements

Installation

For initial server setup:

  1. Create database structure and import tbl_cron data from ./tools/resources/database.
  2. Download GeoIP Database and place it to ./assets/geoip. (see ./internal/repo/geoip.go).
  3. Copy .env.example to .env and edit it to match with server environment.
  4. Build the binary with make build.
  5. Run the service with ./bin/xmr-nodes-static-linux-<YOUR_CPU_ARCH> serve.

To create admin user (for creating prober API key from Web-UI, execute ./bin/xmr-nodes-static-linux-<YOUR_CPU_ARCH> admin create).

Systemd example: ./tools/resources/init/xmr-nodes-server.service.

For initial prober setup:

  1. Create API key for prober
  2. Copy .env.example to .env and edit it to match with prober environment.
  3. Build the binary with make build.
  4. Run the service with ./bin/xmr-nodes-static-linux-<YOUR_CPU_ARCH> prober.

Systemd example: xmr-nodes-prober.service and xmr-nodes-prober.timer.