Skip to content

Latest commit

 

History

History
executable file
·
36 lines (22 loc) · 1.19 KB

README.md

File metadata and controls

executable file
·
36 lines (22 loc) · 1.19 KB

This project was bootstrapped with Create React App.

Purpose of sar-visualizer

When we wanna monitoring remote sever, we have basically two options.

  1. use monitoring software like Zabbix, Mackrel, ELK stack, TCK stack
  2. use command line tools like sar

First option is too much for simple investigation, while second is too simple.

This sar-visualizer will help you to see metrics by sar in time series graph.

Usage

  1. get sar output json file
  2. upload the json file to app

1. get sar output json file

sar and sadf are included in Linux sysstat package

# modify sar's binary output to json file(only CPU, Memory metrics)
sadf -T -j -- -u ALL -r  /var/log/sa/sa10 > test.json

2. upload it to app

Visit to app, then upload json file you got, which will automatically render graphs.

Note

Currently sar-visualizer render graphs for anly CPU and Memory metrics(-u ALL, -r option in sar). Even if you upload json which has other metrics, they will be ignored.