|
|
Meanings of states from ntpq -c rv
What are the meanings of the states 1, 2, 3, 4 in the
output of ntpq -c rv?
Also, is there an easy reference to all the vars that
come back from ntpq -c rv and ntpq -c"rv [assocId]"
I'm working on a little monitor script with strict
guidelines of ensuring the client is in sync with the
server.
So far, I think that if state != 4 or reach & 1 != 1
then I can flag an error, but I notice it drops into
state 2 sometimes and wanted to understand that
better.
Also, I'm trying to figure out how best to deal with
the ramp up until it gets to 4 (which it might not
ever and so I need to flag an error at some point--but
when?)
Thanks,
-joel
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
questions mailing list
questions@lists.ntp.isc.org
https://lists.ntp.isc.org/mailman/listinfo/questions
|
|
0
|
|
|
|
Reply
|
joelshellman (5)
|
1/20/2006 2:34:36 PM |
|
Joel,
1. The procedures and algorithms briefing and related briefings on the
NTP project page.
2. The ntpq documentation.
3. The rfc-1305 Appendix B.
Dave
Joel Shellman wrote:
> What are the meanings of the states 1, 2, 3, 4 in the
> output of ntpq -c rv?
>
> Also, is there an easy reference to all the vars that
> come back from ntpq -c rv and ntpq -c"rv [assocId]"
>
> I'm working on a little monitor script with strict
> guidelines of ensuring the client is in sync with the
> server.
>
> So far, I think that if state != 4 or reach & 1 != 1
> then I can flag an error, but I notice it drops into
> state 2 sometimes and wanted to understand that
> better.
>
> Also, I'm trying to figure out how best to deal with
> the ramp up until it gets to 4 (which it might not
> ever and so I need to flag an error at some point--but
> when?)
>
> Thanks,
>
> -joel
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> questions mailing list
> questions@lists.ntp.isc.org
> https://lists.ntp.isc.org/mailman/listinfo/questions
>
|
|
0
|
|
|
|
Reply
|
David
|
1/20/2006 7:01:35 PM
|
|
|
1 Replies
154 Views
(page loaded in 0.075 seconds)
|
|
|
|
|
|
|
|
|