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
Global Installation (Recommended)
npm install -g @hadesz/monitor
Usage
# Server Side
monitor-server
# Agent Side
monitor-agent -i my-server-name --host monitor.example.com --interval 5000Options
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