This project was bootstrapped with Create React App.
When we wanna monitoring remote sever, we have basically two options.
- use monitoring software like Zabbix, Mackrel, ELK stack, TCK stack
- 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.
- get sar output json file
- upload the json file to app
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.
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.