Skip to content

enh(network::stormshield::snmp): added new mode licences#6179

Open
crsuser wants to merge 2 commits into
centreon:developfrom
crsuser:feat/stormshield-snmp-mode-licences
Open

enh(network::stormshield::snmp): added new mode licences#6179
crsuser wants to merge 2 commits into
centreon:developfrom
crsuser:feat/stormshield-snmp-mode-licences

Conversation

@crsuser

@crsuser crsuser commented May 13, 2026

Copy link
Copy Markdown

Community contributors

Description

This pull request adds a new licences mode to the Stormshield SNMP plugin.

This mode retrieves the list of licenses installed on your firewall or High Availability (HA) cluster. It specifically checks for approaching expiration dates and generates monitoring alerts if a license is about to expire.

The mode has been:

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 ?

CLI Testing

perl centreon_plugins.pl --plugin=network::stormshield::snmp::plugin --mode=licences --hostname=<ip> --snmp-version=<version> --snmp-community=<community> --verbose

Note: Options like --warning-days are configurable to set the number of days before expiration to trigger a warning.

UI Testing

  • Create a command check
  • Create a service, select your host(s), and the command you just created in the "Check Command" field
  • Export your poller and the service should appear in the Ressources Status tab

Screenshots

Below are two screenshots demonstrating the functionality:

  1. A normal status showing licenses on an HA cluster.
Licence_HA
  1. An error status showing an expiring or invalid license.
Licence_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).
  • I have provide data or shown output displaying the result of this code in the plugin area concerned.

@crsuser crsuser requested a review from a team as a code owner May 13, 2026 14:19
@crsuser crsuser requested review from scresto31 and removed request for a team May 13, 2026 14:19
Comment thread src/network/stormshield/snmp/mode/licences.pm Outdated
Comment thread src/network/stormshield/snmp/mode/licences.pm Outdated
Comment thread src/network/stormshield/snmp/mode/licences.pm Outdated
@lucie-tirand lucie-tirand changed the title Feat: Add Stormshield SNMP mode licences enh(network::stormshield::snmp): added new mode licences Jun 12, 2026
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