Files
pxmon/docs/INSTALL.md
T
2026-06-16 21:52:10 +04:00

774 B

Install and Build

Prerequisites

  • Go 1.25+
  • Git
  • SSH client access to managed hosts

Clone and build

git clone https://git.datacoria.com/endssh/pxmon.git
cd pxmon
go mod tidy
go test ./...
go build -o bin/pxmon ./cmd/pxmon
go build -o bin/pxmon-agent ./cmd/pxmon-agent

Run

./bin/pxmon

Build with explicit agent version metadata

pxmon-agent exposes build-time version in API responses.

go build -ldflags "-X pxmon/internal/agent.Version=v0.2.0" -o bin/pxmon-agent ./cmd/pxmon-agent

Optional install to PATH

install -m 0755 bin/pxmon /usr/local/bin/pxmon
install -m 0755 bin/pxmon-agent /usr/local/bin/pxmon-agent

Verify

pxmon cluster help
pxmon bot telegram --help
pxmon config --help