#api-server #monitoring #monitor #tool #linux #name

app linux-monitor

A lightweight Linux monitoring tool, need to be used with api-server

9 releases

0.2.7 Sep 13, 2022
0.2.6 Sep 13, 2022
0.2.4 Aug 28, 2022
0.1.0 Aug 18, 2022

#36 in #api-server

25 downloads per month

MIT license

21KB
531 lines

Linux Monitor

1.start api-server

docker run -d --name monitor-api-server -p 8080:8080 seekerman/monitor-api-server:latest

2.install linux-monitor

cargo install linux-monitor

or

# CentOS
wget https://gitee.com/seeker_rs/linux-monitor/releases/download/release-0.2.7/linux-monitor-CentOS.zip
# Ubuntu
wget https://gitee.com/seeker_rs/linux-monitor/releases/download/release-0.2.7/linux-monitor-Ubuntu.zip

3.run

# show help
linux-monitor -h
# output
linux-monitor 0.2.0
Seeker <womeng209@qq.com>
A lightweight Linux monitoring tool, need to be used with api-server

USAGE:
    linux-monitor [OPTIONS] --server <SERVER>

OPTIONS:
    -g, --group <GROUP>      The group name of the current node, used for grouping all monitored
                             nodes [default: dev]
    -h, --help               Print help information
    -p, --port <PORT>        Api server port [default: 8080]
    -s, --server <SERVER>    Api server IP address
    -V, --version            Print version information
    
# run
# -s: server-api ip
linux-monitor -s 192.168.1.1 -g dev-server

4.view monitor

replace api-server-ip to your real ip

http://api-server-ip:8080

Dependencies

~10–25MB
~399K SLoC