Skip to content
README.md 1.53 KiB
Newer Older
dongjulim's avatar
dongjulim committed
# server-storage-checker

dongjulim's avatar
dongjulim committed
서버 모니터링 보조 툴
dongjulim's avatar
dongjulim committed

## Getting started

```
dongjulim's avatar
dongjulim committed
git clone https://rnd.iarkdata.com/gitlab/dongjulim/server-storage-checker
dongjulim's avatar
dongjulim committed

dongjulim's avatar
dongjulim committed
cd server-storage-checker
dongjulim's avatar
dongjulim committed

dongjulim's avatar
dongjulim committed
! edit config.json !
dongjulim's avatar
dongjulim committed

dongjulim's avatar
dongjulim committed
cargo run
```
dongjulim's avatar
dongjulim committed

dongjulim's avatar
dongjulim committed
## Dependence
Rust toolchain : 1.8x.x-nightly version
dongjulim's avatar
dongjulim committed

dongjulim's avatar
dongjulim committed
```
$ rustup toolchain install nightly
```
## Dependence(cargo)
- chrono = "0.4.38"
- lettre = "0.11.9"
- serde = {version="1.0.210", features=["derive"]}
- serde_json = "1.0.128"
- ssh2 = "0.9.4"
dongjulim's avatar
dongjulim committed

## Roadmap
dongjulim's avatar
dongjulim committed

### Todo

0. 예외처리
0. smtp agent password 암호화
0. hard coding 요소, 설정으로 추가
0. 한번 경고한 target 경고 메일 전송 무시.<br>(정상 범위 내 들어오면 다시 전송 가능하게)
0. user 접속 후 환경변수 선택 로직 추가
0. 파티션 디스크가 아닌 전체 디스크 한도 도달 시 강조 추가

#### 고려중 기능

0. [confluence api(테스트 필요)](https://crates.io/crates/confluence/0.4.1) / [mattermost api](https://crates.io/crates/mattermost_api) 연동
0. CLI or GUI
    - 사용 lib : [tui-rs](https://crates.io/crates/tui), [ratatui](https://crates.io/crates/ratatui) 중 택 1


### Status
dongjulim's avatar
dongjulim committed

resource | Linux | AIX | Solaris
:------------ | :-------------| :-------------| :-------------
dongjulim's avatar
dongjulim committed
on/off | :white_square_button: |  :white_square_button: | :white_square_button:
disk | :white_check_mark: |  :white_square_button: | :white_square_button:
cpu | :white_square_button: |  :white_square_button: | :white_square_button:
dongjulim's avatar
dongjulim committed
memory | :white_square_button: |  :white_square_button: | :white_square_button: