NTP sync failure(s) for Fortinet

Vendor

Fortinet

Description

Indeni will alert if one or more of the configured NTP servers is not syncing correctly.

Remediation Steps

Review the cause for the NTP sync not working.

1. Login via ssh to the Fortinet firewall and execute the FortiOS "execute time" and "execute date" commands to check the current date/time and the last date of NTP sync.

2. Login via ssh to the Fortinet firewall and execute the FortiOS "diagnose sys ntp status" to review the status of the NTP servers and configuration.

3. NTP uses UDP protocol (17) and port 123 to communicate between the client and the servers. Make sure that the firewall rules allow these UDP ports and can route toward the NTP servers.

4. Login via ssh to the Fortinet firewall and execute the FortiOS debug commands "diag debug application ntpd -1" and "diag debug enable" and review the debug messages.

5. Make sure NTP authentication keys match on both ends. Review the next link for more information http://kb.fortinet.com/kb/viewContent.do?externalId=FD33783.

6. More NTP configuration information can be found at link http://help.fortinet.com/cli/fos50hlp/56/Content/FortiOS/fortiOS-cli-ref-56/config/system/ntp.htm.

How does this work?

This script logs into the FortiGate using SSH and retrieves the NTP servers readhabilty status information using the output of the "diagnose sys ntp status" command. The output includes the device's server reachability status as well as information about the NTP configured parameters.

Why is this important?

This script logs into the FortiGate using SSH and retrieves the NTP servers readhabilty status information using the output of the "diagnose sys ntp status" command. The output includes the device's server reachability status as well as information about the NTP configured parameters.

Without Indeni how would you find this?

An administrator would need to log into the device and use the "diagnose sys ntp status" command to identify if the NTP servers are reachable from the device.


View Source Code