Skip to content

CTOR-2034 fix(storage::exagrid::snmp): fixed landing_used calculation to prevent negative values in server-usage mode#6070

Merged
scresto31 merged 4 commits intodevelopfrom
CTOR-2034-plugin-storage-exagrid-snmp-mode-server-usage-fixed-landing-used-calculation-to-prevent-negative-values
Apr 2, 2026
Merged

CTOR-2034 fix(storage::exagrid::snmp): fixed landing_used calculation to prevent negative values in server-usage mode#6070
scresto31 merged 4 commits intodevelopfrom
CTOR-2034-plugin-storage-exagrid-snmp-mode-server-usage-fixed-landing-used-calculation-to-prevent-negative-values

Conversation

@scresto31
Copy link
Copy Markdown
Contributor

@scresto31 scresto31 commented Mar 25, 2026

Community contributors

Description

fix(storage::exagrid::snmp): fixed landing_used calculation to prevent negative values in server-usage mode

Fixes # CTOR-2034
If you are fixing a github Issue already existing, mention it here.

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Functionality enhancement or optimization (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

Summary by Aikido

Security Issues: 0 Quality Issues: 0 Resolved Issues: 0

⚡ Enhancements

  • Added default zeros for missing SNMP mapping values to avoid gaps.

🐛 Bugfixes

  • Prevented negative landing_used by clamping computed value to zero.

🔧 Refactors

  • Replaced verbose multiplications and updated counter type constants for clarity.

📚 Documentation

  • Updated copyright year in file header to current range.

More info

Copis and others added 2 commits March 25, 2026 10:17
In some situations exagrid reports available landing space larger than configured space. In that case the plugin returns a critical status when the landing space is empty.
@scresto31 scresto31 self-assigned this Mar 25, 2026
@scresto31 scresto31 requested review from a team as code owners March 25, 2026 09:54
Comment thread src/storage/exagrid/snmp/mode/serverusage.pm Outdated
@scresto31 scresto31 merged commit 08b03e1 into develop Apr 2, 2026
54 checks passed
@scresto31 scresto31 deleted the CTOR-2034-plugin-storage-exagrid-snmp-mode-server-usage-fixed-landing-used-calculation-to-prevent-negative-values branch April 2, 2026 15:34
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.

3 participants