Real server groups defined limit approaching-radware-alteon-os

error
alteon-os
radware
Real server groups defined limit approaching-radware-alteon-os
0

#1

Real server groups defined limit approaching-radware-alteon-os

Vendor: radware

OS: alteon-os

Description:
Alteon devices allow for the configuration of multiple real server groups, up to a limit. indeni will alert prior to configuration reaching the limit.

Remediation Steps:
Consider removing certain real server groups.

radware-api-config-switchCapSerGRsCurrEnt

#! META
name: radware-api-config-switchCapSerGRsCurrEnt
description: get the number of server groups defined
type: monitoring
monitoring_interval: 10 minute 
requires:
    os.name: "alteon-os"
    vendor: "radware"
    or:
        -
            vadc: "true"
        -
            standalone: "true"

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

#! PARSER::JSON
_metrics:
    -
        _value.double:
            _value: switchCapSerGRsCurrEnt
        _tags:
            "im.name":
                _constant: "real-server-groups-usage"
            "live-config":
                _constant: "true"
            "display-name":
                _constant: "Real Servers Groups - Configured"
            "im.dstype.displayType":
                _constant: "number"

radware-api-config-switchCapSerGRsMaxEnt

#! META
name: radware-api-config-switchCapSerGRsMaxEnt
description: get the maximum number of real server groups allowed
type: monitoring
monitoring_interval: 59 minute 
requires:
    os.name: "alteon-os"
    vendor: "radware"
    or:
        -
            vsx: "true"
        -
            standalone: "true"

#! COMMENTS
real-server-groups-limit:
    why: |
        Every Alteon device has a predefined number of real server groups allowable based on the CU. Tracking the limit will be important to determine utilization as the limit can fluctuate if it is a virtual appliance.
    how: |
        This script runs the "/config/switchCapSerGRsMaxEnt" through the Alteon API gateway.
    without-indeni: |
        An administrator would need to log in to the device and run a CLI command or run the API command "/config/switchCapSerGRsMaxEnt".
    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/switchCapSerGRsMaxEnt
protocol: HTTPS

#! PARSER::JSON
_metrics:
    -
        _value.double:
            _value: switchCapSerGRsMaxEnt
        _tags:
            "im.name":
                _constant: "real-server-groups-limit"
            "live-config":
                _constant: "true"
            "display-name":
                _constant: "Real Servers Groups Defined - Limit"
            "im.dstype.displayType":
                _constant: "number"

radware_realserver_groups_defined_limit

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

import com.indeni.server.rules.RuleContext
import com.indeni.server.rules.library.NearingCapacityTemplateRule

/**
  *
  */
case class radware_realserver_groups_defined_limit(context: RuleContext) extends NearingCapacityTemplateRule(context,
  ruleName = "radware_realserver_groups_defined_limit",
  ruleFriendlyName = "Radware Alteon: Real server groups defined limit approaching",
  ruleDescription = "Alteon devices allow for the configuration of multiple real server groups, up to a limit. indeni will alert prior to configuration reaching the limit.",
  usageMetricName = "real-server-groups-usage",
  limitMetricName = "real-server-groups-limit",
  threshold = 80.0,
  alertDescriptionFormat = "There are %.0f real server groups defined where the limit is %.0f.",
  baseRemediationText = "Consider removing certain real server groups.")()