centreon-plugins icon indicating copy to clipboard operation
centreon-plugins copied to clipboard

enh(notification::email): Allow a custom pathname in alert mode

Open ponchoh opened this issue 1 year ago • 2 comments

Add pathname variable to allow a custom pathname instead of http[s]://FQDN/centreon -> http[s]://FQDN/custom

Community contributors

Description

Add pathname variable to allow a custom pathname instead of: http[s]://FQDN/centreon -> http[s]://FQDN/custom

Type of change

  • [x] New functionality (non-breaking change)

How this pull request can be tested ?

  • set a new custom centreon_pathname
  • set a custom centreon_pathname
  • links should point to this new pathname
  • default is centreon

Checklist

  • [x] I have followed the coding style guidelines provided by Centreon
  • [x] I have commented my code, especially hard-to-understand areas of the PR.
  • [x] I have rebased my development branch on the base branch (develop).
  • [x] I have provide data or shown output displaying the result of this code in the plugin area concerned.

ponchoh avatar Jun 26 '24 20:06 ponchoh

@omercier did we bypass the spell check exception for this plugin ? I can't recall

Tpo76 avatar Jun 27 '24 16:06 Tpo76

@omercier did we bypass the spell check exception for this plugin ? I can't recall

Hello :)

You can add the label do-not-spellcheck. And then push an empty commit, this should disable the spellcheck test ;)

lucie-tirand avatar Jun 28 '24 06:06 lucie-tirand

Logo Checkmarx One – Scan Summary & Detailsad0295ae-af2f-4789-ba3f-532b1ee44d63

Great job, no security vulnerabilities found in this Pull Request

github-actions[bot] avatar Jul 25 '25 14:07 github-actions[bot]