High memory usage-cisco-asa

High memory usage-cisco-asa

Vendor: cisco

OS: asa

Description:
Indeni will alert if the memory utilization of a device is above a high threshold. If the device has multiple memory elements, each will be inspected separately and alert for.

Remediation Steps:
Determine the cause for the high memory usage of the listed elements.
|
|1. Check from the Indeni the memory utilization history graph for this device and 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:
|• show system resources
|• show processes memory.
|3. For more information please review the next troubleshooting guide for high memory utilization: http://docwiki.cisco.com/wiki/Cisco_Nexus_7000_Series_NX-OS_Troubleshooting_Guide_--_Troubleshooting_Memory

How does this work?
This script polls the ciscoMemoryPoolTable via SNMP to calculate memory utilization.

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?
User will have to manually CLI into the device to look at memory utilization periodically or calcualte utilization by polling SNMP.

cisco-asa-memory-usage

name: cisco-asa-memory-usage
description: Fetch memory usage for ASA device
type: monitoring
monitoring_interval: 1 minute
includes_resource_data: true
requires:
  vendor: cisco
  os.name: asa
  snmp: true
comments:
  memory-usage:
    why: |
      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.
    how: |
      This script polls the ciscoMemoryPoolTable via SNMP to calculate memory utilization.
    can-with-snmp: true
    can-with-syslog: false
  memory-free-kbytes:
    why: |
      Capture the free amount 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 is triggered.
    how: |
      This script polls the ciscoMemoryPoolTable via SNMP to calculate the free kbytes of the memory. This metric indicates the number of bytes from the memory pool that are currently available on the managed device.
    can-with-snmp: true
    can-with-syslog: false
  memory-total-kbytes:
    why: |
      Capture the total amount 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 is triggered.
    how: |
      This script polls the ciscoMemoryPoolTable via SNMP to calculate the total kbytes of the memory. The sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool.
    can-with-snmp: true
    can-with-syslog: false
  memory-used-kbytes:
    why: |
      Capture the used amount 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 is triggered.
    how: |
      This script polls the ciscoMemoryPoolTable via SNMP to calculate the used kbytes of the memory. This metric indicates the number of bytes from the memory pool that are currently in use on the managed device.
    can-with-snmp: true
    can-with-syslog: false
steps:
-   run:
      type: SNMP
      command: GETBULK --columns 1.3.6.1.4.1.9.9.48.1.1.1.2 1.3.6.1.4.1.9.9.48.1.1.1.5 1.3.6.1.4.1.9.9.48.1.1.1.6
    parse:
      type: AWK
      file: asa-memory-usage.parser.1.awk

cross_vendor_high_memory_usage

Failed to fetch the data: https://bitbucket.org/indeni/indeni-knowledge/src/master/rules/templatebased/crossvendor/cross_vendor_high_memory_usage.scala