Skip to content

enh(snmp_standard::mode::interface) Implement locking when accessing the cache#6136

Open
scresto31 wants to merge 2 commits intodevelopfrom
CTOR-2298-implement-lockfile-into-interfaces-pm
Open

enh(snmp_standard::mode::interface) Implement locking when accessing the cache#6136
scresto31 wants to merge 2 commits intodevelopfrom
CTOR-2298-implement-lockfile-into-interfaces-pm

Conversation

@scresto31
Copy link
Copy Markdown
Contributor

@scresto31 scresto31 commented Apr 23, 2026

Description

Implement lockfile into interfaces.pm

Fixes # CTOR-2298

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

🚀 New Features

  • Added new centreon::plugins::lockfile module for lockfile management.

⚡ Enhancements

  • Integrated lockfile handling into snmp_standard::mode::interfaces for cache access.
  • Included lockfile.pm in fatpack packaging common_files for bundled plugins.

🔧 Refactors

  • Removed explicit lockfile entry from plugin pkg.json files list.
  • Replaced Digest::MD5 usage with Digest::SHA sha256_hex in interfaces.
  • Adjusted statefile initialization condition in templates::counter for clarity.

More info

@scresto31 scresto31 requested a review from omercier April 23, 2026 12:45
@scresto31 scresto31 self-assigned this Apr 23, 2026
@scresto31 scresto31 requested a review from a team as a code owner April 23, 2026 12:45
@scresto31 scresto31 requested a review from a team as a code owner April 24, 2026 06:29
@scresto31 scresto31 requested review from Tpo76 and tuntoja April 24, 2026 06:29
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