IP WatchDog2 - Manual
HW group
March 2015
Page 33
Test command for Incoming Ping under Linux/Unix
Using PING command under Unix and Linux OS is as simple as in the case of Windows, maybe even
easier because you don’t have to run the command line.Just enter the following into the console:
Ping 192.168.5.60
Operational command of the function Incoming Ping under Windows
Windows provide a free service for Windows Server 2000/2003 and Windows 2000/XP, that can be
downloaded from
http://www.hw-group.com/download/IPWDT_Setup_1.0.zip
allowing sending ping to the defined address in regular intervals.
The form of services is applied to allow running it automatically
even on server systems without a need of logging in. After
Unpacking and installation it is necessary to modify a
configuration file IPWDT.ini, that can be located at
C:\Program
Files\HW group\IPWD Tools
.
It contains following:
Interval is measured in seconds, Debug parameter defines whether the communication will be logged in
the directory
C:\Program Files\HW group\IPWD Tools
(max. file size is 5MB).
An icon for
IP WatchDog Tools Control
created in Control panel allows
activation and deactivation of the services
Operational command for Incoming Ping under Linux/Unix
In Unix systems it is used so called demon cron, that executes commands according to the crontab,
that is a simple text document that contains data in a tab in following format:
Where:
1. minute
2. hour
3. day of a month
4. month
5. day of a week (0 - Sunday, 1 - Monday... 6 - Saturday)
6. user's account
7. path to the program or command that should be executed
This tab can be edited easily using a command crontab
–e, that opens the specific document. The
created entry can look like this:
This command will execute the ping every minute.
*/1 * * * * root ping 192.168.5.60
1 2 3 4 5 6 7
*/1 * * * *
user's_account
command
[PING]
IP=192.168.1.9
INTERVAL=10
DEBUG=2