[ntp:questions] Re: clockvar on Palisade
David L. Mills
mills at udel.edu
Sat Mar 19 18:27:11 UTC 2005
In the absolutely prototupical way, maybe ten years ago somebody built
in the system variables function. It was off the plate of the
developers, then and now, so nobody has cared for or maintained the
function in the face of continuous development in the more important
areas. I have strongly argued in the past not to put features like this
in the public distribution, but to include them in the standard control
and monitoring (mode 6) protocol. The system variables function was a
shortcut around that effort and will not be maintained further.
Meanwhile, consider reporting health data to the clockstats file
utility, which is what the other drivers do and which is supported.
Rodolfo Giometti wrote:
> I should modify the Palisade refclock driver in order to support some
> diagnostic messages to/from the Palisade Antenna.
> I notice the clockvar (clock variables) and I suppose that these
> variable may resolve my problem. I can use them to send/receive info
> on the Antenna status to the user by using the ntpq program.
> My question is: I notice the functions add_var() and set_var() to
> create and set these variables but I can't understand why there is no
> such get_var() function. So, when the user does the ntpq command:
> clockvar 1234 myvar = "some data"
> how I can read such info in the palisade_control() function?
> Thanks in advance,
More information about the questions