Description


This article provides information on how to change the local time, timezone or NTP settings on the Security Director Insights

Symptoms

 
  •  How do I change the localtime, current timezone or NTP settings on SDI?
  •  Security Director shows "Log Collector is not in Time Sync"

Solution

A) To set/change localtime on SDI:

sdi-lc-pe:Core# server
sdi-lc-pe:Core#(server)# set clock
Hit enter
Setting Date and Time
Current date and time is: 
Tue Jul  9 06:01:53 UTC 2024
Change date and time? (Yes/No)? Yes

Then run below command to verify 

sdi-lc-pe:Core#(server)# show clock
Tue Jul  9 06:40:03 UTC 2024

 

B) To set/change timezone on SDI:
 

sdi-lc-pe:Core# server
sdi-lc-pe:Core#(server)# set timezone Asia/Calcutta 
Current time zone is: IST (UTC+05:30)

Then run below command to verify 

sdi-lc-pe:Core#(server)# show clock
Tue Sep 17 11:31:46 IST 2024

Note: Use the tab button while configuring the timezone string


C) To set/change NTP settings on SDI:
 

sdi-lc-pe:Core#(server)# set ntpserver 
Hit Enter
The current ntp server is 0.ubuntu.pool.ntp.org.
Change the ntp server settings? (Yes/No)? Yes
Enter the new ntp server name: yyy.juniper.net
Contacting the ntp server to synchronize the current time ........

Press <enter> to continue and verify 

sdi-lc-pe:Core#(server)# show ntpserver 
The current NTP servers are:
['yyy.juniper.net']

 

Note: To avoid the time sync issue between JunosSpace and the Security director insight as log collector make sure the same local time, the current timezone, or NTP is synchronized on both servers.  
 

Note: If you face any issues, please contact JUNIPER JTAC Support for assistance.
 

Modification History

17/09/2024: Added step to change timezone