Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check_SNTP_OffSet

Rating
0 votes
Favoured:
0
Current Version
1.4
Last Release Date
2014-01-29
Compatible With
  • Nagios 3.x
License
GPL
Hits
26689
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
This plugin will perform a simple synchronization between a Windows 2000 machine and a NTP Server to derive the OffSet,
This plugin will perform a simple synchronization between a Windows 2000 machine and a NTP Server to derive the OffSet,

To make installation simple it's just a ".bat" file that is basically a glorified Nagios wrapper for w32tm. Tested on Windows 2000,

A windows Domain Controller can used as a Time Source as well as an other NTP servers,


Uses:
Developed For SNTP/Windows2000, For the old version of w32tm,

Install:
Copy the script "Check_SNTP_OffSet.bat" to your "NSClient++" /scripts folder on the Windows Machine,
Define the script in your "nsc.ini" file on the Windows Machine, Don't forget to enable command arguments if you wish to pass the ntp source and other arguments from check_nrpe,
Restart your "NSClient++" service on the Windows Machine,
Loacal/Remote Check like "Usage Section" below

Usage: Check_SNTP_OffSet.bat NTPServer Warning Critical
* Warning and Critical in Seconds

From My_Host:
C:>Check_SNTP_OffSet.bat www.NTPServer.ma 30 50
OK: Time is -02.056214s from www.NTPServer.ma|'Offset'=02s;30;50;0

From Nagios Server:
$ /usr/local/nagios/libexec/check_nrpe -H My_Host -c Check_SNTP_OffSet
OK: Time is -02.056214s from www.NTPServer.ma|'Offset'=02s;30;50;0

NB: Based Of "Check_Windows_Time.bat"