JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q89967F
  • License MIT

A complete server monitoring system with agents, server and dashboard

Package Exports

  • @hadesz/monitor
  • @hadesz/monitor/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@hadesz/monitor) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Server Monitor System

A complete server monitoring system with agents, monitoring server, and dashboard.

Installation

npm install -g @hadesz/monitor

Usage

# Server Side
monitor-server

# Agent Side
monitor-agent -i my-server-name --host monitor.example.com --interval 5000

Options

Agent Options

  • --id <id>: Agent ID (default: hostname)
  • --host <host>: Monitor server host (required)
  • --http-port <port>: Monitor server HTTP port (default: 3100)
  • --udp-port <port>: Monitor server UDP port (default: 41234)
  • --interval <ms>: Collection interval in milliseconds (default: 10000)
  • --verbose: Enable verbose logging

Server Options

  • --mongo-uri <uri>: MongoDB connection URI (default: mongodb://localhost:27017/monitoring)
  • --http-port <port>: HTTP receiver port (default: 3100)
  • --udp-port <port>: UDP receiver port (default: 41234)
  • --dashboard-port <port>: Dashboard port (default: 4000)
  • --no-dashboard: Disable dashboard
  • --verbose: Enable verbose logging