Tool Port filter resources below threshold-gigamon-GigaVUE-OS
Indeni will alert if any of the slots tool port filter resources are below the selected threshold
Login to the device’s CLI, change to enable mode and issue “show filter-resource”. This would present a table with available resource (memory, TCAM) information.
name: gigamon-show-filter-resource description: Fetch filter resource type: monitoring monitoring_interval: 5 minutes requires: vendor: gigamon os.name: GigaVUE-OS privileged-mode: 'true' comments: filter-drop-pass-available: why: | Each node and cluster has finite filter resourses. These are split between pass/drop filters (rules) and tool port filters. Within each map, rules determine whether specific traffic type is filtered in (passed) or filtered out (dropped). Each rule takes some memory resources. Depending on the hardware, these rule resources vary (16K rules with an HC2 CCv2, 4K rules with HC2 CCv1). The tool port filters apply only to egressing traffic from a tool port to a tool. They remove specific traffic patterns. Many customers don't even use the tool port filters. how: | Using the "show filter-resource" command and scrubbing screen for the percentage available under Drop/Pass and Tool Port. without-indeni: | Login to the device's CLI, change to enable mode and issue "show filter-resource". This would present a table with available resource (memory, TCAM) information. can-with-snmp: true can-with-syslog: false vendor-provided-management: | Can be done through Fabric Manager (FM) GUI. filter-tool-port-available: skip-documentation: true steps: - run: type: SSH command: show filter-resource parse: type: AWK file: gigamon-show-filter-resource.parser.1.awk
// Deprecation warning : Scala template-based rules are deprecated. Please use YAML format rules instead. package com.indeni.server.rules.library.templatebased.gigamon import com.indeni.server.rules.library.templates.NearingCapacityWithItemsTemplateRule import com.indeni.server.rules.ThresholdDirection case class GigamonToolPortResourcesRule() extends NearingCapacityWithItemsTemplateRule ( ruleName = "GigamonToolPortResourcesRule", ruleFriendlyName = "Gigamon devices: Tool Port filter resources below threshold", ruleDescription = "Indeni will alert if any of the slots tool port filter resources are below the selected threshold", usageMetricName = "filter-tool-port-available", applicableMetricTag = "name", threshold = 15.0, thresholdDirection = ThresholdDirection.BELOW, alertDescription = "The following slots/boxes are low on tool port filter resources.", alertItemsHeader = "Affected slots/boxes", alertItemDescriptionFormat = "%.0f%% available.", baseRemediationText = "Login to the device's CLI, change to enable mode and issue \"show filter-resource\". This would present a table with available resource (memory, TCAM) information." )()