linux-monitor 0.1.0

A lightweight Linux monitoring tool, need to be used with api-server.
linux-monitor-0.1.0 is not a library.

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.1.0/linux-monitor-CentOS.zip
# Ubuntu
wget https://gitee.com/seeker_rs/linux-monitor/releases/download/release-0.1.0/linux-monitor-Ubuntu.zip

3.run

# show help
linux-monitor -h
# output
linux-monitor 0.1.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