Clock set incorrectly for Juniper

Vendor

Juniper

Description

Indeni will alert when a device's clock is more than 24 hours off of Indeni's clock.

Remediation Steps

Consider setting the date on the device and activating NTP.

1. Run "show system uptime" command to review current time and time source.

2. The current date and time should not be 24 hours off from the polling date and time.

3. Set the correct date and time.

4. Consider activating NTP for time synchronization.

5. Review the following article on Juniper tech support site: Configure Time and NTP Client

6. If the problem persists, contact the Juniper Networks Technical Assistance Center (JTAC).

How does this work?

This script logs into the Juniper JUNOS-based device using SSH and retrieves the current time using the output of the "show system uptime" command. The output includes the device's current date and time as well as configured time zone.

Why is this important?

This script logs into the Juniper JUNOS-based device using SSH and retrieves the current time using the output of the "show system uptime" command. The output includes the device's current date and time as well as configured time zone.

Without Indeni how would you find this?

It is possible to poll this data through SNMP.


View Source Code