[hobbit] NTP Graphing

Ward, Martin Martin.Ward at colt.net
Tue May 19 10:51:40 CEST 2009


Hi all,

> From: Dominique Frise [mailto:dominique.frise at unil.ch]
> 
> $BB $BBDISP "data $MACHINE.ntpstat
> 
> `echo offset=\`ntpq -c peers | tail +3 | head -1 | awk '{ print $9
> }'\``
> "
> exit 0
> 

Thanks Dominique, this is pretty much what I have except I have other
code in there to select the NTP server that this machine is actually
syncing to, although if there is ever a time when no NTP server is
synced to then my script will break :-(

I'll try and get some more sanity checking in to it one day though!

|\/|artin


*************************************************************************************
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way. 

The contents of this message and its attachments are confidential and may also be subject to legal privilege.  If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies. 

Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses. 

No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.  

Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.




More information about the Xymon mailing list