High Memory Usage per Chassis and Blade-radware-alteon-os

error
health-checks
alteon-os
radware
High Memory Usage per Chassis and Blade-radware-alteon-os
0

#1

High Memory Usage per Chassis and Blade-radware-alteon-os

Vendor: radware

OS: alteon-os

Description:
Alert when Memory usage is high

Remediation Steps:
Review the load on this thread to see if the memory utilization is valid.

How does this work?
This script runs the “/config/mpMemStatsTotal” and “/config/mpMemStatsFree” to check the % utilization which is necessary for Indeni to determine if the Radware device has high memory utilization.

Why is this important?
Memory utilization from the Management Process is key. If the management process begins to peg the available memory heavily, the admin should be made aware as this is indicative of a lack of resources available. Determining total allocated for the device is crucial for determining threshold levels.

Without Indeni how would you find this?
An administrator would need to log in to the device and run a CLI command or run the API commands.

alteon-api-config-SpMemUseStatsTable

#! META
name: alteon-api-config-SpMemUseStatsTable
description: get the total size of the Switch Processor RAM 
type: monitoring
monitoring_interval: 1 minute
includes_resource_data: true
requires:
    os.name: "alteon-os"
    vendor: "radware"
    or:
        -
            vsx: "true"
        -
            standalone: "true"

#! COMMENTS
memory-free-kbytes:
    skip-documentation: true
memory-total-kbytes:
    skip-documentation: true
memory-usage:
    why: |
        Memory utilization from the Management Process is key. If the management process begins to peg the available memory heavily, the admin should be made aware as this is indicative of a lack of resources available. Determining total allocated for the device is crucial for determining threshold levels.
    how: |
        This script runs the "/config/mpMemStatsTotal" and "/config/mpMemStatsFree" to check the % utilization which is necessary for Indeni to determine if the Radware device has high memory utilization.
    without-indeni: |
        An administrator would need to log in to the device and run a CLI command or run the API commands.
    can-with-snmp: true
    can-with-syslog: false
    vendor-provided-management: |
        Can be done through Management GUI (Vision or Alteon VX).

#! REMOTE::HTTP
url: /config/SpMemUseStatsTable?&props=Index,InitSizeTo1Margin,CurProcSize
protocol: HTTPS

#! PARSER::JSON

_metrics:
    -
        _groups:
            "$.SpMemUseStatsTable[0:]":    
                _temp:
                    "Index":
                        _value: Index
                    "spMemCurrent":
                        _value: CurProcSize
                    "spMemTotal":
                        _value: InitSizeTo1Margin
                _tags:
                    "im.name":
                        _constant: "memory-usage"
                    "live-config":
                        _constant: "true"
                    "display-name":
                        _constant: "Memory - Used"
                    "im.dstype.displayType":
                        _constant: "percentage"
                    "im.identity-tags":
                        _constant: "name"
                    "resource-metric":
                        _constant: "true"
        _transform:
            _tags:
                "name" : |
                    {
                        print "Switch Processor " temp("Index")
                    }
            _value.double: | 
                { 
                    print ((temp("spMemCurrent") / temp("spMemTotal")) * 100)
                }

high_per_chassis_blade_memory_usage

Failed to fetch the data: https://bitbucket.org/indeni/indeni-knowledge/src/master/rules/sync_core_rules/HighPerChassisBladeMemoryUsageRule.scala