survivor: Time Check Module

SURVIVOR: `time` Check Module
About `time` Dependencies Arguments Description Examples
About `time`
basics |
Module Type | Scheduler | Remote
check | Yes | Yes
syntax |
         module time {}

         or

         module time {}
         via <transport>

         or

         module time {
           server <string>
           [warn <number>]
           [prob <number>]
         }
### Dependencies Perl Modules `Net::Time`(>=2.10) ### Arguments
Name | Type | Value
server | string | RFC 868 time server to check the time against.
warn | optional number greater than zero | Minimum time offset to generate a warning.
prob | optional number greater than zero | Minimum time offset to generate a problem.
1. One of warn or prob must be specified. ### Description The `time` moduleuses the `Net::Time` Perl module to determine the time difference between a reference host and the host to be checked by comparing machine readable time (epoch seconds). When used as a remote module, `time()` is used to determine the time on the remote host. ### Examples To compare time against `sundial.columbia.edu`, warning if the time is off by 60 seconds and generating a problem if the time is off by 300 seconds:
            module time {
              server sundial.columbia.edu
              warn 60
              prob 300
            }
$Date: 2006/11/19 22:06:40 $ $Revision: 0.8 $ | keywords prob server warn