High Memory Usage per Chassis and Blade for Cisco Nexus

Vendor

Cisco

Description

Alert when Memory usage is high

Remediation Steps

Review the load on this thread to see if the memory utilization is valid.
1. Check from the Indeni the memory utilization history graph for this device an review the pattern. Correlate any change to the pattern with any configuration change.
2. The next NX-OS commands output can inform whether the platform memory utilization is normal or un-expected:
a. "show system resources"
b. "show processes memory"
3. For more information, please review: Troubleshooting Guide For High Memory Utilization.

How does this work?

This script logs into the Cisco Nexus switch using SSH and retrieves the output of the "show show system resources" command. The output includes a table with the device's CPU (per core) utilization statistics and memory information (total, used and free).

Why is this important?

Capture the total utilization of the system's memory (RAM) resources. This information is critical for monitoring the system's health and make sure memory is not over utilized. If memory utilization goes beyond a certain threshold an alert will be triggered.

Without Indeni how would you find this?

It is possible to poll this data through SNMP in raw format, but the alarm status for memory would have to calculated by analysing the free vs. available values.

View Source Code
single