uptimectl: A command-line interface for interacting with Better Uptime
Overview
uptimectl is a command-line tool designed to interact seamlessly with the Better Uptime API. It supports various functionalities such as managing incidents, monitors, and monitor groups.
Features
- Incident Management: List and manage incidents.
- Monitor Management: View and control monitors and monitor groups.
- On-Call Management: Show on-call contacts.
Installation
Homebrew
brew install uptime-cli/cli/uptimectl
Download
Download the latest binary from GitHub releases.
Documentation
See docs
Usage
Authenticate using an API Token (see uptime docs for how to get an token):
❯ uptimectl auth login --token <TOKEN>
List recent incidents for your team:
❯ uptimectl incidents ls -a
Show on-call contacts:
❯ uptimectl on-call
View monitors and their status:
❯ uptimectl monitors ls