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
pgp pubkey: 0x58AB8B5C
"To know me is to fly with me."