Skip to main content
Question

Modern notification

  • February 16, 2026
  • 4 replies
  • 26 views

Forum|alt.badge.img+6

Hello,

Somebody know a fresh project for have a notification per mail with html ?

I see GitHub - mcinquin/centreon-notifications: New notifications for Centreon but it’s 9 years old.

HTML/formatted Notification | Community stil in the backlog apparently ?

Regards,

B’

4 replies

Forum|alt.badge.img+12

A potential solution is to use the centreon-plugins email notification module.

centreon-plugins/src/notification/email/plugin.pm at develop · centreon/centreon-plugins

That’s what is being used by default for notifications (from what i know) and you can format your own HTML templates with templated perl files (templates folder in the link).

Hope this satisfies your needs


Forum|alt.badge.img+3
  • Steward *
  • April 9, 2026

I've started looking into this option; it looks very promising, but I don't think customization is supported.

The templates are bundled into the only .pl file in the centreon-plugin-Notification-Email package, and there don't seem to be any options available in the script's arguments for using external templates.

 

You can still copy the script under a different name and edit it directly, but you'll have to do this every time there's an upstream update, along with conflict resolution, etc.


Forum|alt.badge.img+12

I've started looking into this option; it looks very promising, but I don't think customization is supported.

The templates are bundled into the only .pl file in the centreon-plugin-Notification-Email package, and there don't seem to be any options available in the script's arguments for using external templates.

 

You can still copy the script under a different name and edit it directly, but you'll have to do this every time there's an upstream update, along with conflict resolution, etc.

Yeah, i didn’t dig into it, it seems that it’s meant to only supports centreon oriented use cases.

I suppose what you could do is a custom script of your own with a template engine (python or something) and send the content to a local postfix to send the email (or send it directly through the script).

There is example for postfix configurations at Configuring your Centreon to send emails | Centreon Documentation and you can basically pipe any output a command to send your content through email.

I’m sad there isn’t something supported like that within the plugins. Could be a good contribution to do.


Forum|alt.badge.img+3
  • Steward *
  • April 9, 2026

This allows you to send emails that look cleaner than the default ones; it requires a bit of integration work (notification commands), and there’s no dependency on a local Postfix,  the plugin can connect to any SMTP server accessible via a poller.

I’m going to try working on a copy of the script anyway to adapt it to my brand identity, and see how future updates go, but I’m optimistic—the code was updated only once in 2025, three times in 2024, and each time the commits were fairly small.