Quick Start
-
Configure and run License Monitor
Section titled “Configure and run License Monitor”Create
config.tomlon a monitored host:[command_mode]command = "lmstat -a"interval_seconds = 300parse_script = "parse.py"[api]enabled = truebind_address = "127.0.0.1"bind_port = 8080allow_public_bind = false[logs]log_file = "logs/license-monitor.log"log_level = "warn"parse_script = "parse.py"should point to the parser script from your internal/privatelicense-monitordeployment. If your deployment does not already include one at the runtime working path, create aparse.pythere and updateparse_scriptto match that file path. The parser should read raw license command output and emit normalized JSON that License Monitor can cache and serve through its API.[api]enabled = truebind_address = "0.0.0.0"bind_port = 8080allow_public_bind = trueRun:
Terminal window license-monitor --config ./config.toml --mode command -
Configure License Server Detail environment
Section titled “Configure License Server Detail environment”Set these minimum values in
license-server-detail(for example.env.local):Terminal window NEXT_PUBLIC_CONVEX_URL=https://your-convex-deployment.convex.cloudAUTH_OKTA_ID=your-okta-client-idAUTH_OKTA_SECRET=your-okta-client-secretAUTH_OKTA_ISSUER=https://your-org.okta.com/oauth2/defaultAUTH_SECRET=replace-with-long-random-secretNEXTAUTH_URL=http://localhost:3000Then run:
Start these in separate terminals because both processes are long-running:
Terminal 1:
Terminal window bun run convex:devTerminal 2:
Terminal window bun run dev -
Add server inventory
Section titled “Add server inventory”Populate Convex with monitored servers. If you are migrating existing static data, add those records as Convex
serversentries using Configuration: Convex server records.Each server record should point to a reachable License Monitor host/port (default port
8080). -
Verify from browser
Section titled “Verify from browser”- Open
http://localhost:3000 - Sign in via Okta
- Open the server list/dashboard
- Confirm health and license data are loading
- Open