Xitoring Document
Home
FAQ
Support
Register
Home
FAQ
Support
Register
  • Xitoring

    • Introduction
    • Release Notes
    • Xitoring Release Notes
    • Linux Xitogent Release Notes
    • Windows Xitogent Release Notes
    • Xitoring Mobile App Release Notes
    • Account Management
    • API Access & Automation
    • Team Management & Collaboration
    • Billing & Subscription Management
  • Getting Started

    • Getting Started with Xitoring
    • Workflows & Guides
    • Monitor Your First Server
    • Import / Migration
    • Migrate from UptimeRobot to Xitoring
    • Migrate from Pingdom to Xitoring
    • Migrate from Uptime.com to Xitoring
    • Migrate from BetterStack to Xitoring
  • Help & Support

    • FAQ & Troubleshooting
    • Glossary
  • Server Monitoring

    • Server Monitoring
    • Graphs
    • Live Statistics
    • Monitor Services
    • Auto-Triggers
  • Xitogent on Linux

    • Install Xitogent on Linux
    • Update Xitogent on Linux
    • Uninstall Xitogent on Linux
  • Xitogent on Windows

    • Install Xitogent on Windows
    • Uninstall Xitogent on Windows
    • Xitogent Service
    • Update Xitogent on Windows
    • Disk Performance (I/O)
  • Xitogent on Azure

    • Xitogent on Azure
    • Monitor Azure Linux VM
    • Monitor Azure Windows VM
  • Xitogent CLI

    • Xitogent CLI
    • Xitogent Pause/Unpause
    • Xitogent Status
    • Xitogent debug
    • Xitogent Diagnosis
    • Which data we collect
  • Xitoring CLI

    • Xitoring CLI
  • Uptime Monitoring

    • What is Uptime Monitoring
    • Monitoring Nodes (Geographic Locations)
    • What is Check
    • Auto-Discovery
    • Auto Fault Tolerance
    • Heartbeat Check
    • Ping Check
    • HTTP(S) Check
    • DNS Check
    • FTP Check
    • SMTP Check
    • IMAP Check
    • POP3 Check
    • TCP Check
    • UDP Check
  • SSL Monitoring

    • SSL Monitoring
  • Incidents

    • Incidents
    • Incident's Root Cause
    • Incidents Notification
    • Incident Notes
    • Resolving Incidents Manually
    • Incident Policy
  • Maintenance Schedule

    • Maintenance Schedule
  • Email Reports

    • Email Reports
  • Integrations

    • Integrations
    • Apache Integration
    • CoreDNS Integration
    • CouchDB Integration
    • Disk Health Integration
    • Docker Integration
    • Dovecot Integration
    • Exim Integration
    • HAProxy Integration
    • IIS Integration
    • InfluxDB Integration
    • Kafka Integration
    • KeyDB Integration
    • LiteSpeed Integration
    • MongoDB Integration
    • MySQL Integration
    • Netstat Integration
    • Nginx Integration
    • OpenLiteSpeed Integration
    • OpenVPN Integration
    • PHP-FPM Integration
    • Postfix Integration
    • PostgreSQL Integration
    • RabbitMQ integration
    • Redis Integration
    • MS SQL Server Integration
    • Supervisor Integration
    • Varnish Integration
    • Wireguard Integration
  • Notifications

    • Notifications
    • Creating Notification Roles
    • Email Integration
    • Mobile Push Notifications
    • SMS Integration
    • Phone call Integration
    • Webhook Integration
    • Integration for Slack
    • Telegram Integration
    • WhatsApp Integration
    • Mattermost Integration
    • Discord Integration
    • Google Chat Integration
    • Microsoft Teams Integration
    • Atlassian Opsgenie Integration
    • Splunk On-Call Integration
    • Pushover Integration
    • Pushbullet Integration
    • Gotify Integration
    • Ntfy Integration
    • Spike.sh Integration
    • PagerDuty Integration
    • Zapier Integration
    • AlertOps Integration
  • Status Page

    • Status page
  • 3rd Party Status Pages

    • Using 3rd party Status Pages
    • Atlassian Status Page Integration with Xitoring
    • Status.io Integration with Xitoring
    • Statuspal Integration with Xitoring
    • Instatus Integration with Xitoring
  • Dashboards

    • Main Dashboard
    • Custom Dashboards
  • Metrics

    • Metrics
  • MCP Server

    • Setup & Tool Reference

Xitoring CLI

Xitoring CLI is a Node.js command-line interface (CLI) tool for interacting with Xitoring's services.
It works on Windows, macOS, and Linux.


Installation

npm install -g xitoring-cli

This installs the xitoring-cli tool globally. After installation, you can run it using:

xitoring

More information can be found on npmjs.com.


Requirements

A Xitoring account is required to use the CLI.


Getting Started

  1. Install xitoring-cli using npm (or any package manager).
  2. Authenticate with your Xitoring account:
    xitoring login
    
    This provides a browser link to log in and obtain an API key.
  3. Start using commands to interact with your account.

Commands

Authentication

  • Login

    xitoring login
    

    Log in to your account and store your API key.

  • General Help

    xitoring help
    

    Show available commands and usage.


Servers

  • List Servers

    xitoring servers
    

    Display all servers and their metric data.

    xcli servers list
  • Examples with Flags

    # Show only selected columns
    xitoring servers --columns=OS,Label,CPU,Memory
    
    # Sort by CPU usage
    xitoring servers --sort=CPU
    
    # Filter by OS
    xitoring servers --os=linux
    
    # Filter by group
    xitoring servers --groups=Production
    
  • Available Flags

    --sort      : sort table by (CPU, Memory, OS, Label)
    --columns   : customize table columns by (OS, Label, Checks, CPU, Memory, IO read, IO write, Group)
    --groups    : filter by group name
    --os        : filter by OS (linux, windows)
    

Uptime

  • List Uptime Checks
    xitoring uptime
    
    Display all uptime and heartbeat checks with their real-time status.
xcli uptime list
  • Examples with Flags

    # Show only selected columns
    xitoring uptime --columns=Status,Label,Type,Host
    
    # Sort by uptime
    xitoring uptime --sort=Uptime
    
    # Filter by status
    xitoring uptime --status=down
    
    # Filter by check type
    xitoring uptime --type=http
    
    # Filter by period
    xitoring uptime --period=this_month
    
  • Available Flags

    --sort      : sort table by (Uptime, Label)
    --columns   : customize table columns by (Status, Type, Label, Group, Host, Uptime)
    --groups    : filter by group name
    --status    : filter by status (up, down, pause, maintenance)
    --period    : filter by period (today, this_week, this_month, last_month, this_year)
    --type      : filter by check type (ping, http, ...)
    

SSL

  • List SSL Endpoints

    xitoring ssl
    

    Display all SSL endpoints and their certificate status.

    xcli ssl list
  • Examples with Flags

    # Show only selected columns
    # Note: If your column names contain spaces (e.g., "Remaining Days"), wrap them in quotes.
    xitoring ssl --columns=Status,Label,Host,Port,Issuer,Grade
    
    # Sort by expiry
    xitoring ssl --sort=Expire
    
    # Filter by expire (e.g., expiring within 30 days)
    xitoring ssl --expire=30
    
    # Filter by group
    xitoring ssl --groups=Websites
    
  • Available Flags

    --sort      : sort table by (Expire, Label)
    --columns   : customize table columns by (Status, Label, Host, Port, Issuer, Group, Grade, Remaining Days)
    --groups    : filter by group name
    --expire    : filter by expire
    

Help Output Reference

For detailed filter options and usage, you can run the contextual help for each section:

xitoring help --servers

Usage: xitoring servers <flags>

     --sort    : sort table by (CPU , Memory , OS , Label)
     --columns : customize table columns by (OS , Label , Checks , CPU , Memory , IO read , IO write , Group)
     --groups  : filter by group name
     --os      : filter by os (linux , windows)
xitoring help --uptime

Usage: xitoring uptime <flags>

     --sort    : sort table by (Uptime , Label)
     --columns : customize table columns by (Status , Type , Label , Group , Host , Uptime)
     --groups  : filter by group name
     --status  : filter by status (up , down , pause , maintenance)
     --period  : filter by period (today , this_week , this_month , last_month , this_year)
     --type    : filter by check type (ping , http , ...)
xitoring help --ssl

Usage: xitoring ssl <flags>

     --sort    : sort table by (Expire , Label)
     --columns : customize table columns by (Status , Label , Host , Port , Issuer , Group , Grade , Remaining Days)
     --groups  : filter by group name
     --expire  : filter by expire

Tip: Use equals-sign syntax with comma-separated values for flags that accept lists.
Examples:

  • xitoring servers --columns=OS,Label,CPU,Memory
  • xitoring uptime --columns=Status,Label,Type,Host

Example Workflow

# Login
xitoring login

# List servers with selected columns
xitoring servers --columns=OS,Label,CPU,Memory

# Show uptime checks for HTTP only
xitoring uptime --type=http --columns=Status,Label,Host

# Show SSL endpoints expiring in less than 30 days
xitoring ssl --expire=30 --sort=Expire

Revoking CLI Access

Currently, the Xitoring CLI does not include a direct logout command.
To remove access, you need to manually revoke the CLI API key from your Xitoring account:

  1. Go to Xitoring Account Settings.
  2. Locate the API Keys section.
  3. Delete the API key that was generated for your CLI session.

This will immediately revoke access for the CLI on your system.


Notes

  • Use xitoring help for a full list of commands.
  • Use xitoring help --servers, xitoring help --uptime, and xitoring help --ssl to see available filters and options.
  • Commands can be combined with flags for advanced filtering and customization.
  • To log out, remove your API key from Xitoring Account Settings.
Last Updated: 9/8/25, 3:25 PM