[add][fix] added roadmap and fixed typos

This commit is contained in:
2021-03-04 02:25:31 -05:00
parent 5bdd2e4b05
commit 90709c4b22
2 changed files with 13 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
## Getting started ## Getting started
> **DISCLAIMER:** The author accepts no responsibility or liablity for the use of this software. A high frequency of `ICMP` requests could be seen as `DoS` attack. Please ensure you have permission to ping the target servers! > **DISCLAIMER:** The author accepts no responsibility or liability for the use of this software. A high frequency of `ICMP` requests could be seen as `DoS` attack. Please ensure you have permission to ping the target servers!
In the default configuration a server will be pinged `10` times with `0.2s` between each ping every `60s`. In the default configuration a server will be pinged `10` times with `0.2s` between each ping every `60s`.
This tool requires `net-tools` (if not using a docker container) and `gnuplot` installed on the system. This tool requires `net-tools` (if not using a docker container) and `gnuplot` installed on the system.
@@ -20,7 +20,7 @@ This tool requires `net-tools` (if not using a docker container) and `gnuplot` i
0.0.0.0:localhost 0.0.0.0:localhost
my_server.x:my-server my_server.x:my-server
``` ```
Note that `gnuplot` will interprets some carachters (such as `_` underscore) in `<label>` as mathematic notation. Note that `gnuplot` will interprets some characters (such as `_` underscore) in `<label>` as mathematical notation.
2. Run [`./files/inet_stat.sh`](files/inet_stat.sh) or start a docker container which includes the script with `docker-compose up` 2. Run [`./files/inet_stat.sh`](files/inet_stat.sh) or start a docker container which includes the script with `docker-compose up`
@@ -95,3 +95,12 @@ Viewed in table form:
| 1613501993 | localhost | 0% | 87.519 | 89.085 | 91.4 | 1.106 | | 1613501993 | localhost | 0% | 87.519 | 89.085 | 91.4 | 1.106 |
| 1613501995 | 0.0.0.0 | 0% | 120.358 | 122.399 | 126.254 | 1.712 | | 1613501995 | 0.0.0.0 | 0% | 120.358 | 122.399 | 126.254 | 1.712 |
| 1613501997 | 127.0.0.1 | 0% | 113.125 | 116.473 | 125.609 | 3.311 | | 1613501997 | 127.0.0.1 | 0% | 113.125 | 116.473 | 125.609 | 3.311 |
## Roadmap
* Record each server in a separate file to be able to have `gnuplot` draw lines between each point.
* Record into a new `csv` each day and have `./plotter/plot.sh` temporarily merge these based on the start and end date to be plotted. This should cut down on plotting time as `gnuplot` will not have to read large files anymore.
* Add a flag to keep the merged file permanently.
* Automated plotting
* Directly in the Docker Container and server via web server
* Move the plotting into a web interface

View File

@@ -14,7 +14,7 @@ services:
#- SERVERS=127.0.0.1 #- SERVERS=127.0.0.1
# 0.0.0.0 # 0.0.0.0
# localhost # localhost
# use iso-8601 instead of epoch timestamp [default: -+%s] # use iso-8601 instead of epoch timestamp [default: +%s]
#- DATE_FORMAT=-Iseconds #- DATE_FORMAT=-Iseconds
# set the cycle at which servers are pinged [default: 60s] # set the cycle at which servers are pinged [default: 60s]
#- CYCLE=60s #- CYCLE=60s