Networking Forums

Networking Forums > Computer Networking > Windows Networking > Time Sync Monitoring Tool

Reply
Thread Tools Display Modes

Time Sync Monitoring Tool

 
 
Parvinder
Guest
Posts: n/a

 
      08-09-2005, 01:27 PM
Is there a Utility that will monitor the synchronization of time on all the
Windows 2000/2003 servers ?
 
Reply With Quote
 
 
 
 
Jason Gurtz
Guest
Posts: n/a

 
      08-16-2005, 04:14 PM
On 8/9/2005 09:27, Parvinder wrote:
> Is there a Utility that will monitor the synchronization of time on all the
> Windows 2000/2003 servers ?


You can use w32tm /monitor /domain:<yourDomainName>

you could write a script to email results every so often I suppose.

~Jason

--
 
Reply With Quote
 
Parvinder
Guest
Posts: n/a

 
      08-16-2005, 04:38 PM
Thanks Jason
This was helpful, however, it only shows domain controllers. Is there
another switch that will show you all the servers attached to the domain ?

Another, any guidance towards scripting will be appreciated.

Thanks again.

"Jason Gurtz" wrote:

> On 8/9/2005 09:27, Parvinder wrote:
> > Is there a Utility that will monitor the synchronization of time on all the
> > Windows 2000/2003 servers ?

>
> You can use w32tm /monitor /domain:<yourDomainName>
>
> you could write a script to email results every so often I suppose.
>
> ~Jason
>
> --
>

 
Reply With Quote
 
Parvinder
Guest
Posts: n/a

 
      08-16-2005, 04:44 PM
Please ignore my post regarding the switch. /computerscname.... however,
getting email thru a script will be great.

"Parvinder" wrote:

> Is there a Utility that will monitor the synchronization of time on all the
> Windows 2000/2003 servers ?

 
Reply With Quote
 
Jason Gurtz
Guest
Posts: n/a

 
      08-16-2005, 05:40 PM
On 8/16/2005 12:44, Parvinder wrote:
> Please ignore my post regarding the switch. /computerscname.... however,
> getting email thru a script will be great.


I personally use perl, which you can get from activestate.com. In the
past I used the Net::SMTP module to do the sending of mail but since then
I discovered MIME::Lite which has a simpler and less kludgey interface.

Basically, no matter what scripting language you use, you'll have to parse
the output of the w32tm command for machine name and the time offset or
whatever and stick those in variables. After that, build the the body of
the email by concatenating strings and the contents of your variables and
then send it.

Besides standard SMTP (direct connection to the mail server) you could use
MAPI, but I give that a wide berth Presumably, the dialect of VB that
the WSH uses could do either but it probably leans towards MAPI.

Another way would be to parse the output of the command and write to a
temp plain text file, then use something to scrape that up as an
attachment, maybe a plain bat file that runs something like either the
postie or blat programs (just google to find those). At worst (and
simplest), just use a bat file to run w32tm and redirect output to temp
txt file, then using blat to mail the file as attachment. ...or even
"w32tm /... | blat -" to pipe output to input with no text file. This
simplest way would need error handling added, depends on how important
things are.

Either way, you would use the task scheduler to run your script at intervals.

~Jason

--
 
Reply With Quote
 
Parvinder
Guest
Posts: n/a

 
      08-17-2005, 06:25 PM
thanks Jason. I will try it.

"Jason Gurtz" wrote:

> On 8/16/2005 12:44, Parvinder wrote:
> > Please ignore my post regarding the switch. /computerscname.... however,
> > getting email thru a script will be great.

>
> I personally use perl, which you can get from activestate.com. In the
> past I used the Net::SMTP module to do the sending of mail but since then
> I discovered MIME::Lite which has a simpler and less kludgey interface.
>
> Basically, no matter what scripting language you use, you'll have to parse
> the output of the w32tm command for machine name and the time offset or
> whatever and stick those in variables. After that, build the the body of
> the email by concatenating strings and the contents of your variables and
> then send it.
>
> Besides standard SMTP (direct connection to the mail server) you could use
> MAPI, but I give that a wide berth Presumably, the dialect of VB that
> the WSH uses could do either but it probably leans towards MAPI.
>
> Another way would be to parse the output of the command and write to a
> temp plain text file, then use something to scrape that up as an
> attachment, maybe a plain bat file that runs something like either the
> postie or blat programs (just google to find those). At worst (and
> simplest), just use a bat file to run w32tm and redirect output to temp
> txt file, then using blat to mail the file as attachment. ...or even
> "w32tm /... | blat -" to pipe output to input with no text file. This
> simplest way would need error handling added, depends on how important
> things are.
>
> Either way, you would use the task scheduler to run your script at intervals.
>
> ~Jason
>
> --
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wan Monitoring and Managment Tool Mr. JYC Windows Networking 0 04-04-2008 01:58 AM
network monitoring tool Prashant Windows Networking 3 07-07-2007 11:18 AM
Looking for traffic analysis/monitoring tool KR Linux Networking 7 04-08-2006 11:45 PM
Traffic monitoring tool. Shashank Khanvilkar Linux Networking 4 06-05-2005 10:34 PM
network monitoring tool Matt Warnock Linux Networking 6 10-28-2004 11:07 PM



1 2 3 4 5 6 7 8 9 10 11