NTP Polling Interval

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
RebusCom
Experienced Member
 
Posts: 111
Joined: Sun Nov 30, 2014 9:42 pm
Location: Washington
Has thanked: 13 times
Been thanked: 11 times

NTP Polling Interval

Fri Jan 05, 2024 4:10 pm

All our switches and routers have the same NTP source but I notice the WS Netonix switches vary by up to several minutes. We're still running 1.5.8 if that matters. What is the NTP polling interval?

User avatar
RebusCom
Experienced Member
 
Posts: 111
Joined: Sun Nov 30, 2014 9:42 pm
Location: Washington
Has thanked: 13 times
Been thanked: 11 times

Re: NTP Polling Interval

Sun Jan 07, 2024 2:18 pm

I find it interesting that the switch logs show "system: time set by NTP server" following a reboot, but that message is never logged again for as long as the switch runs. Does this mean the switches never poll the NTP server following a reboot? That would explain the drift. There's also no button in the GUI to manually refresh NTP.

User avatar
sakita
Experienced Member
 
Posts: 206
Joined: Mon Aug 17, 2015 2:44 pm
Location: Arizona, USA
Has thanked: 93 times
Been thanked: 80 times

Re: NTP Polling Interval

Sun Jan 07, 2024 10:49 pm

Hmm, there was a fix like this in 1.5.6...

viewtopic.php?f=17&t=6198&p=32695&hilit=+NTP#p32695

Also wonder if changing the NTP address to an invalid one and then back to the valid one still works or if there is a command line command to get it to get NTP?

Agreed, a [NTP Sync] button would be cool as well as a settings for how often it updates (e.g. how many minutes between updates).

I'll have to check some switches at work this week to see if they are also not updating (currently running 1.5.14 except for one location testing latest rc).
Today is an average day: Worse than yesterday, but better than tomorrow.

User avatar
Dave
Employee
Employee
 
Posts: 726
Joined: Tue Apr 08, 2014 6:28 pm
Has thanked: 1 time
Been thanked: 158 times

Re: NTP Polling Interval

Sun Jan 07, 2024 11:54 pm

we will look into this, basically NTP is suppose to poll every ten minutes....please post logs from systems you say are out of sync...thanks.

User avatar
RebusCom
Experienced Member
 
Posts: 111
Joined: Sun Nov 30, 2014 9:42 pm
Location: Washington
Has thanked: 13 times
Been thanked: 11 times

Re: NTP Polling Interval

Mon Jan 08, 2024 1:56 pm

Dave wrote:we will look into this, basically NTP is suppose to poll every ten minutes....please post logs from systems you say are out of sync...thanks.


None of our switches poll regularly -- they don't keep accurate time. The NTP service appears to start after reboot but may take multiple tries before it actually starts and then it gets the time. Once the time is set successfully it never polls thereafter.

I'll PM you logs from five of our switches representing each model of switch.

User avatar
Dave
Employee
Employee
 
Posts: 726
Joined: Tue Apr 08, 2014 6:28 pm
Has thanked: 1 time
Been thanked: 158 times

Re: NTP Polling Interval

Mon Jan 08, 2024 3:37 pm

thanks for logs, we are going to set up a test bed & investigate this issue.

User avatar
sakita
Experienced Member
 
Posts: 206
Joined: Mon Aug 17, 2015 2:44 pm
Location: Arizona, USA
Has thanked: 93 times
Been thanked: 80 times

Re: NTP Polling Interval

Tue Jan 09, 2024 11:25 am

Confirmed same behavior in both 1.5.14 and 1.5.15rc3... lots of tries (usually then the port with the uplink radio comes up) and then it gets the time once. A bunch of "system: starting ntpclient" events and then one "system: time set by NTP server" event. Likewise, every switch time was not correct.

Ran top in the command line and didn't see ntpclient in the list of stuff running (by comparison, top on a Isostation radio does show ntpclient running).
Today is an average day: Worse than yesterday, but better than tomorrow.

User avatar
sirhc
Employee
Employee
 
Posts: 7415
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: NTP Polling Interval

Tue Jan 16, 2024 6:18 pm

sakita wrote:Confirmed same behavior in both 1.5.14 and 1.5.15rc3... lots of tries (usually then the port with the uplink radio comes up) and then it gets the time once. A bunch of "system: starting ntpclient" events and then one "system: time set by NTP server" event. Likewise, every switch time was not correct.

Ran top in the command line and didn't see ntpclient in the list of stuff running (by comparison, top on a Isostation radio does show ntpclient running).


Well yea web the switch is booting up it does not have net access and NTP will keep trying for a reasonable time.

I am pretty sure we are NOT getting time updates from NTP after boot. I will discuss putting this in next release.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

Katlybrtoletti83
Member
 
Posts: 4
Joined: Tue Apr 16, 2024 2:54 am
Has thanked: 0 time
Been thanked: 0 time

Re: NTP Polling Interval

Tue Apr 16, 2024 2:59 am

I'm intrigued by the fact that the switch logs display "system: time set by NTP server" after a reboot, yet this message never appears again while the switch remains operational. Could this indicate that the switches do not continue to poll the NTP server after reboot, which could explain the time drift? Additionally, there is no button available in the GUI to manually refresh the NTP synchronization.

User avatar
RebusCom
Experienced Member
 
Posts: 111
Joined: Sun Nov 30, 2014 9:42 pm
Location: Washington
Has thanked: 13 times
Been thanked: 11 times

Re: NTP Polling Interval

Wed Oct 16, 2024 8:22 pm

Any status update on this NTP polling issue?

Return to Hardware and software issues

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 48 guests