centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
578 stars 240 forks source link

SMTP Server Proposal #7771

Open luiscontrerasdo opened 4 years ago

luiscontrerasdo commented 4 years ago

SMTP Server Proposal

It could be an interesting feature for Centreon, it would be to have in the configuration section a small form for setting up mail server for having ready email notifications, something with these fields:

SMTP Server IP or Hostname : [ smtp.mymailserver.xyz ] SMTP Server Port : [ default ] Require Auth : [ Yes / Not ] Username : [ something here ] Passowrd : [ **** ]

Any other field about TLS requirement.

Having that, it avoids to make manual configuration in the /etc/postfix/main.cf

lpinsivy commented 4 years ago

Hi @luiscontrerasdo,

The issue is that the scheduler use the default mail binary to send notifications (most of time postfix) but it is possible to use another application to send mails.

Moreover notification are sent by the poller which monitor the resource. So, some time the configuration can't be the same for all poller.

Maybe adding a section in the documentation to configure quickly postfix can be interesting for most of Centreon users.

luiscontrerasdo commented 4 years ago

Adding the section in the documentation would be fantastic.