Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Plugin(video::axis): wrong psu status oid #5366

Conversation

lucie-dubrunfaut
Copy link
Contributor

@lucie-dubrunfaut lucie-dubrunfaut commented Dec 20, 2024

Centreon team (internal PR)

Description

OID duplicate in axis video SNMP plugin :
.1.3.6.1.4.1.368.4.1.2.1.3

The rights OIDs and mappings seems to be this ones :
1.3.6.1.4.1.368.4.1.2.1.3

1.3.6.1.4.1.368.4.1.2.1.3
fanStatus OBJECT-TYPE
SYNTAX INTEGER { ok(1), failure(2) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The status of a fan."

1.3.6.1.4.1.368.4.1.1.1.3

1.3.6.1.4.1.368.4.1.1.1.3
powerSupplyStatus OBJECT-TYPE
SYNTAX INTEGER { ok(1), failure(2) }
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The status of a power supply."

Fixes # (issue)
CTPR-1252

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

How this pull request can be tested ?

Creating a fake SNMPWalk with the duplicate OID and compare with one with two OIDs separated.

Checklist

  • I have followed the coding style guidelines provided by Centreon
  • I have rebased my development branch on the base branch (develop).
  • After having created the PR, I will make sure that all the tests provided in this PR have run and passed.

@lucie-dubrunfaut lucie-dubrunfaut requested a review from a team as a code owner December 20, 2024 14:25
…xis-snmp-mode-components-fan-fix-map-fan-status-false-positive
@lucie-dubrunfaut lucie-dubrunfaut merged commit 947c1ed into develop Dec 20, 2024
27 checks passed
@lucie-dubrunfaut lucie-dubrunfaut deleted the CTOR-1252-plugin-hardware-devices-video-axis-snmp-mode-components-fan-fix-map-fan-status-false-positive branch December 20, 2024 14:45
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