Skip to content

Commit

Permalink
Added info about commandline host management into README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aslmx committed Nov 5, 2020
1 parent c8eaeb2 commit b57cbfd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@ insert into dests values ('1.1.1.1'), ('8.8.8.8'), ('www.google.com');
EOF
```

After database is initialized you can add or delete destinations as follows:

To add a destination, run:

```
pingwatch -add example.com
```

To remove a destination, run:

```
pingwatch -del example.com
```


### Measurement data

The actual measurements are in the table `pings`:
Expand Down

0 comments on commit b57cbfd

Please sign in to comment.