Timezone mismatch across cluster members for Cisco

Vendor

Cisco

Description

Indeni will identify when two devices are part of a cluster and alert if the timezone setting is different.

Remediation Steps

Review the settings of each device in the cluster and ensure they are the same.

1. Execute the show clock command to check the system time for both peer switches

2. Review the time-zone setting of each device in the cluster and ensure they are the same.

3. For more information about NX-OS timezone configuration review the next link:

https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/4_0/nx-os/fundamentals/configuration/guide2/fun_nx-os_book/fun_5sys_mgmt.html

How does this work?

This script logs into the Cisco Nexus switch using SSH and retrieves the configured time zone using the output of the "show clock" command. The output includes the current time and configured time zone, i.e. EST for Eastern Standard Time. If the time zone is mismatched across vPC domain (cluster) members an alert will be triggered.

Why is this important?

This script logs into the Cisco Nexus switch using SSH and retrieves the configured time zone using the output of the "show clock" command. The output includes the current time and configured time zone, i.e. EST for Eastern Standard Time. If the time zone is mismatched across vPC domain (cluster) members an alert will be triggered.

Without Indeni how would you find this?

It is possible to poll this data through SNMP although there is no way to correlate across vPC domain (cluster) members without additional logic.


View Source Code