JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q63843F
  • License ISC

SDK for Telex Server Monitor - A lightweight agent that collects and reports server CPU metrics to the Telex monitoring platform

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.

Version License: ISC

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

  1. In your Telex channel, run:
/setup-monitoring
  1. Copy the installation command provided by Telex and run it on your server:
curl -sSL https://telex.example.com/install/<unique-token> | sudo bash

The 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-monitor

Configuration

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 logs
  • error.log: Error logs only

Architecture

┌─────────────┐         ┌─────────────┐         ┌─────────────┐
│   Your      │         │ Integration │         │   Telex     │
│   Server    │◄───────►│   Server    │◄───────►│  Platform   │
│             │   ZMQ   │             │   HTTP  │             │
└─────────────┘         └─────────────┘         └─────────────┘

Troubleshooting

Common issues and solutions:

  1. Installation Failed

    • Ensure you have root/sudo access
    • Check your network connection
    • Verify the installation token is valid
  2. 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

License

ISC © JC-Coder

Support