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

CTOR-666-plugin-hardware-server-lenovo-xcc-snmp-mode-hardware-system-health-memory-and-cpu-table-not-checked #5359

Conversation

Evan-Adam
Copy link
Contributor

Centreon team (internal PR)

Description

add 3 new modes for lenovo xcc hardware plugin and associated tests

Fixes # CTOR-666

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 ?

the plugin should return critical when memory or health or cpu have any error.

Checklist

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (develop).
  • In case of a new plugin, I have created the new packaging directory accordingly.
  • I have implemented automated tests related to my commits.
    • Data used for automated tests are anonymized.
  • I have reviewed all the help messages in all the .pm files I have modified.
    • All sentences begin with a capital letter.
    • All sentences end with a period.
    • I am able to understand all the help messages, if not, exchange with the PO or TW to rewrite them.
  • After having created the PR, I will make sure that all the tests provided in this PR have run and passed.

@Evan-Adam Evan-Adam force-pushed the CTOR-666-plugin-hardware-server-lenovo-xcc-snmp-mode-hardware-system-health-memory-and-cpu-table-not-checked branch from ad29035 to 479482e Compare December 23, 2024 10:37
@Evan-Adam Evan-Adam marked this pull request as ready for review December 23, 2024 16:26
@Evan-Adam Evan-Adam requested review from a team as code owners December 23, 2024 16:26
@Evan-Adam Evan-Adam force-pushed the CTOR-666-plugin-hardware-server-lenovo-xcc-snmp-mode-hardware-system-health-memory-and-cpu-table-not-checked branch from 12b490c to 910696e Compare January 6, 2025 16:54
@lucie-dubrunfaut
Copy link
Contributor

I think for the verbose part of health, memory and cpu sensor name and status are inverted:

Checking disks
disk 'Anonymized 016' status is Normal [instance: 40].
disk 'Anonymized 104' status is Normal [instance: 41].
Checking raid volumes
raid volume 'Anonymized 215' status is Optimal [instance: 1].
Checking health
health 'Normal' status is Anonymized 144 [instance: 1].
health 'Normal' status is Anonymized 149 [instance: 2].
health 'Normal' status is Anonymized 127 [instance: 3].
health 'Normal' status is Anonymized 130 [instance: 4].
Checking cpu
'Normal' status is Anonymized 155 [instance: 1].
Checking memory
'Normal' status is DIMM_2 [instance: 1].
'Normal' status is DIMM_4 [instance: 2].
'Normal' status is DIMM_5 [instance: 3].
'Normal' status is DIMM_6 [instance: 4].
'Normal' status is DIMM_7 [instance: 5].
'Normal' status is DIMM_8 [instance: 6].
'Normal' status is DIMM_9 [instance: 7].
'Normal' status is DIMM_11 [instance: 8].

omercier
omercier previously approved these changes Jan 10, 2025
…c-snmp-mode-hardware-system-health-memory-and-cpu-table-not-checked
@omercier omercier merged commit 137e43e into develop Jan 10, 2025
27 checks passed
@omercier omercier deleted the CTOR-666-plugin-hardware-server-lenovo-xcc-snmp-mode-hardware-system-health-memory-and-cpu-table-not-checked branch January 10, 2025 14:06
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