Clock set incorrectly for Cisco Nexus

Vendor

Cisco

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. Execute the "show clock" command to check the system time.

2. Consider setting the date on the device by activating NTP.

3. For more information please review: Cisco NX-OS NTP configuration guide

How does this work?

This script logs into the Cisco Nexus switch using SSH and retrieves the current time using the output of the "show clock" 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 Cisco Nexus switch using SSH and retrieves the current time using the output of the "show clock" 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