Home

Awesome

AMTUI - Alertmanager Terminal User Interface

Go version Release Go Report Card License Discord


 █████╗ ███╗   ███╗████████╗██╗   ██╗██╗
██╔══██╗████╗ ████║╚══██╔══╝██║   ██║██║
███████║██╔████╔██║   ██║   ██║   ██║██║
██╔══██║██║╚██╔╝██║   ██║   ██║   ██║██║
██║  ██║██║ ╚═╝ ██║   ██║   ╚██████╔╝██║
╚═╝  ╚═╝╚═╝     ╚═╝   ╚═╝    ╚═════╝ ╚═╝
                             

AMTUI is a terminal-based user interface (TUI) application that allows you to interact with Prometheus Alertmanager using your terminal. It provides a convenient way to monitor alerts, view silences, and check the status of Alertmanager instances right from your command line.

<p align="center"> <img src="./static/demo.gif" alt="AMTUI Demo"/> </p>

Features

Installation

Using Homebrew

You can install AMTUI using the Homebrew package manager:

brew tap pehlicd/tap
brew install amtui

Using go install

You can install AMTUI using the go install command:

go install github.com/pehlicd/amtui@latest

From Releases

You can download the latest release of AMTUI from the GitHub releases page.

From Source

To use AMTUI, you'll need to have Go installed on your system. Then, you can install AMTUI using the following steps:

  1. Clone the repository:
git clone https://github.com/pehlicd/amtui.git
  1. Navigate to the project directory:
cd amtui
  1. Build the application:
go build
  1. Run the application:
./amtui

Usage

Once you've launched AMTUI, you can navigate through different sections using the following keyboard shortcuts:

Keyboard Shortcuts

Configuration

AMTUI uses a configuration file to connect to your Alertmanager instance. By default, the application will look for a configuration file at ~/.amtui.yaml. If the configuration file doesn't exist, AMTUI will guide you through creating it with the necessary connection details.

You can also specify connection details using command-line flags:

amtui --host 127.0.0.1 --port 9093 --scheme http

AMTUI also supports basic authentication. You can specify the username and password using the --username and --password flags:

amtui --host 127.0.0.1 --port 9093 --scheme http --username admin --password admin

Dependencies

AMTUI uses the following dependencies:

Contributing

If you'd like to contribute to AMTUI, feel free to submit pull requests or open issues on the GitHub repository. Your feedback and contributions are highly appreciated!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Stargazers over time

Stargazers over time


Developed by Furkan Pehlivan - Project Repository