On 22 Mar 2018, at 4:01 pm, Adam Armstrong adama@observium.org wrote:
I'm not at all familiar with NTP, so I'm not sure what the difference between these two tools is, or why one wouldn't work :)
Does anyone else know?
ntpdc is deprecated. It has probably been removed one installations of ntpd.
https://www.eecis.udel.edu/~mills/ntp/html/ntpdc.html
Adrian
adam.
Adam Armstrong Managing Director & Lead Architect Observium Limited http://www.observium.org http://docs.observium.org http://jira.observium.org
On 2018-03-19 17:55:39, Ron Marosko ron@rjr-services.com wrote:
Howdy Adam, et. al.,
I’ve run into an issue with the agent ntpd script on certain of my servers where the command “ntpdc -c iostats” times out with no response. However, the equivalent command used with ntpq works fine and provides the correct information Witness:
root@observium:/opt/observium# ntpdc -c iostats
localhost: timed out, nothing received
***Request timed out
root@observium:/opt/observium# ntpq -c iostats
time since reset: 1116387
receive buffers: 10
free receive buffers: 9
used receive buffers: 0
low water refills: 1
dropped packets: 0
ignored packets: 0
received packets: 140116
packets sent: 145459
packet send failures: 0
input wakeups: 140118
useful input wakeups: 140118
root@observium:/opt/observium#
Yes, that is actually on the VM running observium.
For simplicity of minimum changes to the script, I made the following change:
// START SETTINGS /// $ntpq = "ntpq"; $ntpdc = "ntpq"; // END SETTINGS ///
End result is this:
You can see where I made the change to the script yesterday afternoon.
The related version of ntpd is: ntpd - NTP daemon program - Ver. 4.2.8p4
I don’t know if you want to push this out as a change overall, but wanted to make you aware of this so that it’s documented somewhere at least.
Regards,
Ron
--
Ron Marosko, Jr.
. . . . . . . . . . . . . . . . . . . . . . . . . .
CCIE No. 4526 (R/S), NN5DX
Senior Network Engineer
RJR Services, Inc.
1108 West Dickinson Blvd, Suite A
Fort Stockton, TX 79735 USA
o: +1 432 336 5600 x115
c: +1 432 290 6344
e: ron@rjr-services.com
pgp pubkey: 0x58AB8B5C
"To know me is to fly with me."
-- This message has been scanned for viruses and dangerous content by E.F.A. Project, and is believed to be clean.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium