Skip to content

SNMP: improve Cisco ASAv memory coverage in cisco-firepower-asa profile#24107

Open
ian28223 wants to merge 6 commits into
masterfrom
ian.bucad/cisco-firepower-asa-memory-coverage
Open

SNMP: improve Cisco ASAv memory coverage in cisco-firepower-asa profile#24107
ian28223 wants to merge 6 commits into
masterfrom
ian.bucad/cisco-firepower-asa-memory-coverage

Conversation

@ian28223

Copy link
Copy Markdown
Contributor

What does this PR do?

Replace two hardcoded scalar OIDs in the cisco-firepower-asa SNMP profile that only collected memory metrics for a single pool (index 1.1) with a full table walk of cempMemPoolTable. Each pool is now tagged by name via cempMemPoolName (mem_pool_name tag).

Motivation

The previous implementation targeted cempMemPoolHCUsed.1.1 and cempMemPoolHCFree.1.1 — hardcoded scalar OIDs pointing to a single row in the CISCO-ENHANCED-MEMPOOL-MIB table. Devices with multiple memory pools (system, reserve, etc.) were silently missing data for all but the first pool. This is tracked in FRNDM-416 / AGENT-16419.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add qa/required if this PR needs QA validation, or qa/skip-qa if it does not. Exactly one of the two is required.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

@datadog-prod-us1-6

datadog-prod-us1-6 Bot commented Jun 19, 2026

Copy link
Copy Markdown

Tests  Code Coverage

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 93.93% (+5.90%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: a283e57 | Docs | Datadog PR Page | Give us feedback!

@ian28223 ian28223 added the qa/required QA is required for this PR and will generate a QA card label Jun 19, 2026
@ian28223 ian28223 marked this pull request as ready for review June 19, 2026 13:37
@ian28223 ian28223 requested review from a team as code owners June 19, 2026 13:37
@ian28223 ian28223 requested review from NouhaManai96 and removed request for a team June 19, 2026 13:37

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e8ce0d90c6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@ian28223 ian28223 marked this pull request as draft June 20, 2026 01:08
Replace hardcoded scalar OIDs targeting a single memory pool with a full
table walk of cempMemPoolTable. Each pool is tagged with mem_pool_index
and mem_pool_name via cempMemPoolName.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ian28223 ian28223 force-pushed the ian.bucad/cisco-firepower-asa-memory-coverage branch from 6aa43bc to 91c7262 Compare June 20, 2026 01:09
@ian28223 ian28223 marked this pull request as ready for review June 22, 2026 00:39
@ian28223 ian28223 requested a review from sarah-witt June 23, 2026 15:27
@dd-octo-sts

dd-octo-sts Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Validation Report

All 21 validations passed.

Show details
Validation Description Status
agent-reqs Verify check versions match the Agent requirements file
ci Validate CI configuration and code coverage settings
codeowners Validate every integration has a CODEOWNERS entry
config Validate default configuration files against spec.yaml
dep Verify dependency pins are consistent and Agent-compatible
http Validate integrations use the HTTP wrapper correctly
imports Validate check imports do not use deprecated modules
integration-style Validate check code style conventions
jmx-metrics Validate JMX metrics definition files and config
labeler Validate PR labeler config matches integration directories
legacy-signature Validate no integration uses the legacy Agent check signature
license-headers Validate Python files have proper license headers
licenses Validate third-party license attribution list
metadata Validate metadata.csv metric definitions
models Validate configuration data models match spec.yaml
openmetrics Validate OpenMetrics integrations disable the metric limit
package Validate Python package metadata and naming
qa-label Validate the pull request declares whether it needs QA for the next Agent release
readmes Validate README files have required sections
saved-views Validate saved view JSON file structure and fields
version Validate version consistency between package and changelog

View full run

@ian28223 ian28223 requested review from a team and TCheruy and removed request for a team and NouhaManai96 July 2, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants