High memory usage-f5-all

High memory usage-f5-all

Vendor: f5

OS: all

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.

How does this work?
This script uses the F5 REST API to retrieve the current memory usage of each TMM core.

Why is this important?
The various memory components of an F5 unit are important to track to ensure a smooth operation. This particlar metric focuses on the memory usage per TMM core.

Without Indeni how would you find this?
These memory metrics are available through SNMP, TMSH and the web user interface under Statistics/Performance.

f5-rest-mgmt-tm-sys-tmm-info

name: f5-rest-mgmt-tm-sys-tmm-info
description: Determine tmm memory and cpu usage
type: monitoring
includes_resource_data: true
monitoring_interval: 1 minute
requires:
    vendor: f5
    product: load-balancer
    rest-api: 'true'
comments:
    memory-usage:
        why: |
            The various memory components of an F5 unit are important to track to ensure a smooth operation. This particlar metric focuses on the memory usage per TMM core.
        how: |
            This script uses the F5 REST API to retrieve the current memory usage of each TMM core.
        can-with-snmp: true
        can-with-syslog: false
    cpu-usage:
        why: |
            Tracking the CPU utilization of all processing cores on an F5 unit is critical to ensure capacity isn't reached. Should capacity be reached on data plane cores, new connections and sessions may fail to be processed. This particular alert focuses on the cpu usage per TMM core.
        how: |
            This alert uses the F5 iControl REST API to retrieve the current CPU usage of all TMM cores.
        can-with-snmp: true
        can-with-syslog: false
    memory-total-kbytes:
        why: |
            Tracking total memory on the system is critical to evaluate and assess current memory utilizatiion.
        how: |
            This alert uses the F5 iControl REST API to retrieve the total memory on the system.
        can-with-snmp: true
        can-with-syslog: false
    memory-free-kbytes:
        why: |
            Tracking free memory on the system is critical to evaluate memory utilization and identify possible memory leaks.
        how: |
            This alert uses the F5 iControl REST API to retrieve the free memory on the system.
        can-with-snmp: true
        can-with-syslog: false

steps:
-   run:
        type: HTTP
        command: /mgmt/tm/sys/tmm-info?options=kil&$select=fiveSecAvgUsageRatio,memoryTotal,memoryUsed,tmmId
    parse:
        type: JSON
        file: rest-mgmt-tm-sys-tmm-info.parser.1.json.yaml

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