Dynamic data store limit nearing-radware-alteon-os

error
alteon-os
radware
Dynamic data store limit nearing-radware-alteon-os
0

#1

Dynamic data store limit nearing-radware-alteon-os

Vendor: radware

OS: alteon-os

Description:
The dynamic data store is used by the AppShape++ feature. indeni will alert prior to the data store reaching its limit.

Remediation Steps:
Review https://kb.radware.com/Questions/Alteon/Public/ALERT-slb-Dynamic-Data-Store-is-at-FULL-capacity

radware-switchCapDynamicDataStoreCurSize

#! META
name: radware-switchCapDynamicDataStoreCurSize
description: get the usage of the dynamic data store
type: monitoring
monitoring_interval: 5 minute 
requires:
    os.name: "alteon-os"
    vendor: "radware"

#! REMOTE::HTTP
url: /config/switchCapDynamicDataStoreCurSize
protocol: HTTPS

#! PARSER::JSON
_metrics:
    -
        _value.double:
            _value: switchCapDynamicDataStoreCurSize
        _tags:
            "im.name":
                _constant: "dynamic-data-store-usage"
            "live-config":
                _constant: "true"
            "display-name":
                _constant: "Dynamic Date Store - Used"
            "im.dstype.displayType":
                _constant: "number"

radware-api-config-switchCapDynamicDataStoreMaxSize

#! META
name: radware-api-config-switchCapDynamicDataStoreMaxSize
description: fetch the maximum size of the dynamic data store
type: monitoring
monitoring_interval: 59 minute 
requires:
    os.name: "alteon-os"
    vendor: "radware"
    or:
        -
            vsx: "true"
        -
            standalone: "true"

#! COMMENTS
dynamic-data-store-limit:
    why: |
        It is very common to deploy custom scripts via AppShape++ with the Alteon. These scripts leverage the "dynamic data store" of the device, which can be resource intensive. We want to track what the limit is and compare to current utilization.
    how: |
        This script runs the "/config/switchCapDynamicDataStoreMaxSize" through the Alteon API gateway.
    without-indeni: |
        An administrator would need to log in to the device and run the CLI command "/info/sys/capacity" or run the API command "/config/switchCapDynamicDataStoreMaxSize".
    can-with-snmp: false
    can-with-syslog: false
    vendor-provided-management: |
        Can be done through Management GUI (Vision or Alteon VX).

#! REMOTE::HTTP
url: /config/switchCapDynamicDataStoreMaxSize
protocol: HTTPS

#! PARSER::JSON
_metrics:
    -
        _value.double:
            _value: switchCapDynamicDataStoreMaxSize
        _tags:
            "im.name":
                _constant: "dynamic-data-store-limit"
            "live-config":
                _constant: "true"
            "display-name":
                _constant: "Dynamic Date Store - Limit"
            "im.dstype.displayType":
                _constant: "number"

radware_dynamic_store_limit

package com.indeni.server.rules.library.templatebased.radware

import com.indeni.server.rules.RuleContext
import com.indeni.server.rules.library.templates.NearingCapacityTemplateRule
/**
  *
  */
case class radware_dynamic_store_limit() extends NearingCapacityTemplateRule(
  ruleName = "radware_dynamic_store_limit",
  ruleFriendlyName = "Radware Alteon: Dynamic data store limit nearing",
  ruleDescription = "The dynamic data store is used by the AppShape++ feature. indeni will alert prior to the data store reaching its limit.",
  usageMetricName = "dynamic-data-store-usage",
  limitMetricName = "dynamic-data-store-limit",
  threshold = 80.0,
  alertDescriptionFormat = "The dynamic data store usage is %.0f where the limit is %.0f.",
  baseRemediationText = "Review https://kb.radware.com/Questions/Alteon/Public/ALERT-slb-Dynamic-Data-Store-is-at-FULL-capacity")()