Get social


Search Exchange


Recently updated


Most downloaded


Windows time check against NTPD (check_time.vbs)

Last Changed
Views
2282
388
0
0 total
5
4
3
2
1

Description

check_time

Check time offset of a Windows server against NTPD server(s).

If multiple servers are specified (use commas only, not spaces), all will be querried and only succesfull offset results will be processed.
By default the least offset is selected. This can be modified with the option "biggest"

Sysnopsis:

cscript /NoLogo check_time.vbs serverlist warn crit [biggest]

Options:

The options all have the hard order and all but the last one are required.

ParameterDescription
serverlist (required):one or more server names, coma-separated
warn  (required):warning offset in seconds, can be partial
crit  (required):critical offset in seconds, can be partial
biggest (optional):if multiple servers, else use default least offset

Example:

and a nsc.ini entry looks like:

command[check_ntp_time]=cscript.exe /T:30 /NoLogo check_time.vbs server1,server2,server3 20 240

Latest release

Release v1.01

Check time offset of a Windows server against NTPD server(s).

Files

Name Description Size Type Last Changed
check_time.vbs v1.01 2.50 kB text/x-pascal Download

Review

Pleae rate the project