NTP Monitoring??

To the Ipswitch web site

Ipswitch Forums
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



NTP Monitoring??Expand / Collapse
Author
Message
Posted 10/6/2008 5:21:49 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/21/2008 8:39:08 PM
Posts: 2, Visits: 5
I am trying to monitor the NTP service on a UNIX box via TCP/IP monitor scripts. I've been searching online and the only script I found was this:

Send=%27%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0
Expect=%28%2

I did a test and this is the outcome:

TCP/UDP check for 10.12.17.20
Timeout=2 Protocol=UDP Port=123
Send=%27%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0
Expect=%28%2
Error=A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Does anyone know how to monitor the NTP service? Thanks.
Post #47532
Posted 10/21/2008 8:39:44 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/21/2008 8:39:08 PM
Posts: 2, Visits: 5
anyone got anything for me? i tried contacting support about this and they gave me nothing.
Post #47984
Posted 2 days ago @ 11:14:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2 days ago @ 11:07:52 AM
Posts: 1, Visits: 1
This script is available via the knowledgebase:



Script for SNTP Active monitors on WUP2006-WUG v11.

Platform: Windows-XP (SP1),Windows-2000 SP4, Windows-2003 Server

Name: SNTP (Simple Network Time Protocol)

Type: TCP/IP Service Check

Network Type: UDP

Port: 123

Timeout: 5 seconds

Script:

Send=\x1b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0

0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0

0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00

Expect=\x1c


However, this last month there was a leap second, causing the script to fail for several weeks. The “expected” return code for the Whatsup NTP query should have included \x5c and maybe \x9c as well as \x1c.

LI Value Meaning
-------------------------------------------------------
00 0 no warning
01 1 last minute has 61 seconds
10 2 last minute has 59 seconds)
11 3 alarm condition (clock not synchronized)

00 011 100hex 1c\x1c
01 011 100hex 5c\x5c
10 011 100hex 9c\x9c

So the last line should probably be:

Expect=[\x5c\x9c\x1c]
Post #49872
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Dave, Mark Singh, kevin r gillis, Jason Benton, Brandon Felger, Ben Henderson, Tripp Allen, Will Sansbury, Jason Williams, Hush, FTPplanet.com, Hugh Garber, George Dailey, WUP-PM, mmulryan@ipswitch.com, mswimm

PermissionsExpand / Collapse

All times are GMT -5:00, Time now is 6:25pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.031. 10 queries. Compression Enabled.