Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

leankoala-gmbh/360top

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

360top - Command Line Dashboard for 360 Monitoring

With the 360 Monitoring command line tool 360top you are able to see all major monitoring information for the current server.

The idea is that you do not have a context switch when you try to fix a problem.

You will need a 360 Monitoring account to use this command line tool. You can create it under app.360monitoring.com/signup.

Memory Metric

Installation

Download the latest version of our PHAR archive and give it afterwards rights to be executed. To run 360top you need PHP installed.

wget https://github.com/leankoala-gmbh/360top/releases/latest/download/360top.phar
chmod +x 360top.phar

Most likely, you want to put the 360top.phar into a directory on your PATH, so you can simply call forrest from any directory (global install), using for example:

sudo mv 360top.phar /usr/local/bin/360top

Initialization

After the installation you just have to call the init command by running:

360top init

There you have to enter your server ID (if the 360 agent is installed the tool will find the ID automatically) and the API token which you can create in the 360 Monitoring backend.

If you want to automate the initialization you can use our examples.

Usage

To run the 360top command line tool simply run

360top

Update

The CLI script can update itself by running the following command.

As this tool is pretty new we recommend to update more often at the moment.

360top update

Change Log

  • Version 1.2

    • New metric: Load Average
    • Auto refresh the graphs after 60 seconds
    • Clear screen on exit
    • Added user agent to cURL requests
    • Fix: Reset STTY settings on exit
    • Fix: Counter not refreshed when arrow pressed
  • Version 1.1

    • init now works with command line options and can be used in scripts
    • The interval for the data can be chosen (30min, 1h, 1d and 1m)
    • Added correct label to graph
    • API requests are cached for 60 seconds
    • Accept ESC to exit drop down menu
    • Reduced artifacts on exit
    • Fix: Pagination works with only one page
  • Version 1.0

    • Show historic data for memory, cpu, disc space and notifications
    • Show custom metrics
    • Initialization script
    • Auto build the phar file
    • Open notifications are marked red
    • Do not show pressed key
    • Added command description
    • Set version number
    • Add self-update command
    • Version handling
    • Fix: PHPStan
    • Fix: Open notifications do not have an end date

Ideas / Todos

  • Show current incidents on corresponding metric page
  • Live data using 360 agent
  • Error handling for API errors
  • Modal component

About

Command Line Dashboard for WebPros 360 Monitoring

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages