Forum Discussion
fanta_377379
Nimbostratus
Apr 22, 2019NTP peer server configuration with F5
I have an issue to verify NTP peer server configuration with F5.
In BIG_IP command line, the command is : ntpq -np and check the output.
But, I have to replicate this in F5-SDK to automate the check...
rafaelbn
Cirrostratus
Apr 23, 2019Hello fanta!
There is another command you could use on the BIG-IP:
ntpstat
It outputs something like this:
[root@bigip1:Active:In Sync] config ntpstat
synchronised to local net at stratum 11
time correct to within 11 ms
polling server every 64 s
[root@bigip1:Active:In Sync] config
Does this help?
Other than that, you could query your NTP server through ntpdate like so:
ntpdate -q 0.br.pool.ntp.org
But you will get some raw NTP response, not the actual time.
Hope this helps somehow.
Cheers! Rafael
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
