<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.5512" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hi Matthew</DIV>
<DIV> </DIV>
<DIV>I apologise for lecturing you, I thought you were confused over that aspect. But certainly it is reporting the</DIV>
<DIV>stratum of its peer. With -v on one of our servers I get for example in part </DIV>
<DIV>parsing stratum from peer bf36: 2</DIV>
<DIV>and bf36 hex is 48950 which is the associationID of our timesource which is stratum 2. </DIV>
<DIV>We only have a single timesource so I'm not sure how it deals with multiple host strata. My guess</DIV>
<DIV>would be it just takes that of the asterisked timesource.</DIV>
<DIV> </DIV>
<DIV>Regards</DIV>
<DIV> </DIV>
<DIV>Paul Willis</DIV>
<DIV><BR><BR>>>> Matthew Pounsett <matt@conundrum.com> 30/12/11 17:06 >>><BR><BR>On 2011/12/30, at 06:03, Paul WILLIS PSE 55499 wrote:<BR><BR>> Hi Matthew<BR>>  <BR>> Its neither, its actually you not understanding what peer means. Peer is effectively the next time server (or servers) up the chain,<BR>> so generally they will be different by one. To  see what peer means, type in ntpq, then type in peer. That will list the peers of your server and their strata, NOT the stratum of your server. The main usage of peers is to make sure you are getting time from the correct source or sources. If it is only showing local sources for example it indicates you have lost contact with the external ntp sources and are just using the hardware clock.<BR><BR>I understand exactly how NTP works and what a peer is.  The ntpq command I ran is giving me the stratum of that server, not of its peers.  Are you saying that check_ntp_peer connects to a remote server and reports on its *peers* rather than on it?  That seems to contradict the help documentation.  How is it able to distill the strata of several of that server's peers into a single stratum value?<BR><BR><BR><BR>------------------------------------------------------------------------------<BR>Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex<BR>infrastructure or vast IT resources to deliver seamless, secure access to<BR>virtual desktops. With this all-in-one solution, easily deploy virtual <BR>desktops for less than the cost of PCs and save 60% on VDI infrastructure <BR>costs. Try it free! <A href="http://p.sf.net/sfu/Citrix-VDIinabox">http://p.sf.net/sfu/Citrix-VDIinabox</A><BR>_______________________________________________<BR>Nagios-users mailing list<BR>Nagios-users@lists.sourceforge.net<BR><A href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</A><BR>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <BR>::: Messages without supporting info will risk being sent to /dev/null<BR></DIV></BODY></HTML>