Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 190 |
rodolico |
1 |
pingMonitor is a simple script to issue one ping to a specific IP address, log
|
|
|
2 |
the result, and exit.
|
|
|
3 |
|
|
|
4 |
Call as:
|
|
|
5 |
|
|
|
6 |
pingMonitor 1.1.1.1
|
|
|
7 |
|
|
|
8 |
Replace 1.1.1.1 with the IP to monitor.
|
|
|
9 |
|
|
|
10 |
It is designed to be run from a cron job.
|
|
|
11 |
|
|
|
12 |
Results are stored in /var/log/ping_monitor.log. Currently set up to be human
|
|
|
13 |
readable, though they can be parsed with a script fairly easily.
|