Hi Matthew
I apologise for lecturing you, I thought you were confused over that aspect.
But certainly it is reporting the
stratum of its peer. With -v on one of our servers I get for example in part
parsing stratum from peer bf36: 2
and bf36 hex is 48950 which is the associationID of our timesource which is
stratum 2.
We only have a single timesource so I'm not sure how it deals with multiple
host strata. My guess
would be it just takes that of the asterisked timesource.
Regards
Paul Willis
>>> Matthew Pounsett <m...@conundrum.com> 30/12/11 17:06 >>>
On 2011/12/30, at 06:03, Paul WILLIS PSE 55499 wrote:
> Hi Matthew
>
> Its neither, its actually you not understanding what peer means. Peer is
> effectively the next time server (or servers) up the chain,
> 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.
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?
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null