Package Exports
- telex-server-monitor-sdk
- telex-server-monitor-sdk/dist/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 (telex-server-monitor-sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Telex Server Monitor
A server monitoring integration that helps system administrators track server health, detect anomalies, and receive alerts via the Telex platform. The integration consists of an agent installed on your server that collects and reports key metrics to Telex.
Features
Version 1.0
- Telex Integration: Seamless registration within your Telex organization
- Agent Installation: Simple installation via Telex-generated script
- CPU Usage Tracking: Real-time monitoring of total CPU usage
- Default Threshold Alerts: Automatic alerts when CPU usage exceeds 85%
Prerequisites
- Linux, macOS, or other Unix-like operating system
- Root/sudo access (for installation)
- Minimum 512MB RAM
- 100MB free disk space
Installation
Quick Install (Recommended)
- In your Telex channel, run:
/setup-monitoring- Copy the installation command provided by Telex and run it on your server:
curl -sSL https://telex.example.com/install/<unique-token> | sudo bashThe installation script will:
- Download and install the monitoring agent
- Configure authentication automatically
- Set up initial monitoring settings
- Start the monitoring service
Usage
Service Management
# Check monitoring status
sudo systemctl status telex-monitor
# Stop monitoring
sudo systemctl stop telex-monitor
# Start monitoring
sudo systemctl start telex-monitor
# Restart monitoring
sudo systemctl restart telex-monitorConfiguration
All configuration is managed through the Telex platform:
- CPU usage threshold (default: 85%)
- Alert channel settings
- Monitoring status (on/off)
Logs
Logs are stored in /var/log/telex-monitor/:
telex-monitor.log: General logserror.log: Error logs only
Architecture
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Your │ │ Integration │ │ Telex │
│ Server │◄───────►│ Server │◄───────►│ Platform │
│ │ ZMQ │ │ HTTP │ │
└─────────────┘ └─────────────┘ └─────────────┘Troubleshooting
Common issues and solutions:
Installation Failed
- Ensure you have root/sudo access
- Check your network connection
- Verify the installation token is valid
Agent Not Reporting
- Check if the service is running:
sudo systemctl status telex-monitor - Verify network connectivity
- Check logs for errors:
tail -f /var/log/telex-monitor/error.log
- Check if the service is running:
License
ISC © JC-Coder
Support
- Issues: GitHub Issues
- Documentation: GitHub Wiki