PingTime Non-Interactive:

Initial Set Up:

For PingTime to record the response times, we need to establish some tasks to run on a regular basis via cron.

This task will run every xxx seconds, where xxx is the collection interval.

If you want 5 minute samples, then this command file should be set to run every five minutes.

The command file is a simple text file that lives in /usr/OverTime/cfgs/.

The command file’s name has a user definable prefix specified, as pt_cmds, in the overtime.cfg file.

The default value for the parameter “pt_cmds” is “PingTime-“ which means that the command file that will be run would

be /usr/OverTime/cfgs/PingTime-300 for a 5 minute collection.

The “300” indicates this command file will be run every 300 seconds (as a convenient reminder).

When the first PingTime entry is created this file will be created, otherwise it is simply updated.

If you have set a different “sample_time” in overtime.cfg, then all new PingTimes will be created with this interval.

You need to ensure that a suitable cron also runs at this interval and runs the appropriately named PingTime-xxx.

This is the once only configuration that you need to perform.

 

A Unix "cron" entry such as :

0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/OverTime/cfgs/PingTime-300 > /usr/OverTime/logs/PingTime-300.log

would run the collections every 5 minutes and also keep a simple log.