How to collect NTP Status? #989
-
|
Is your feature request related to a problem? Please describe. Describe the solution you'd like Describe alternatives you've considered Additional context |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
|
ntp-server-status-get-iter.ntp-server-status-info is probably what you are looking for. |
Beta Was this translation helpful? Give feedback.
-
|
Yes. Thank you! |
Beta Was this translation helpful? Give feedback.
-
|
@ruanruijuan Hey, I could enable the metric collection on cmode for ntp servers, but I could not find the api for 7-mode. I queried zapi apis and grepped for both nis & server apis. Can you help find the api for nis 7-mode? |
Beta Was this translation helpful? Give feedback.
-
|
@jmg011 I contacted an engineer in the CoreSW team of ONTAP who hasn't touched 7-mode for years and here is his answer: ntpq -p alward-vsim1.sim.rtp.netapp.comremote refid st t when poll reach delay offset jitterntp02.rtp.eng.n .INIT. 16 u - 64 0 0.000 0.000 0.000 And I find a related KB article (you will need to sign in to see the entire page) Example output: [root@host]# ntpq -pn pepper ============================================================================== |
Beta Was this translation helpful? Give feedback.
-
|
@ruanruijuan Thank you for the help. |
Beta Was this translation helpful? Give feedback.
@jmg011 I contacted an engineer in the CoreSW team of ONTAP who hasn't touched 7-mode for years and here is his answer:
Assuming your have ntp running , not timed, they may be able to simply probe the ntp server via an ntpq command from a client machine on the network.
ntpq -p alward-vsim1.sim.rtp.netapp.com
remote refid st t when poll reach delay offset jitter
ntp02.rtp.eng.n .INIT. 16 u - 64 0 0.000 0.000 0.000
And I find a related KB article (you will need to sign in to see the entire page)
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/How_to_verify_NTP_operation_in_Data_ONTAP_8_(7-Mode_and_clustered_Data_ONTAP)
To print the status of a remote NTP serv…