I see two approaches here: 1) Since nagios3-common package depends on default-mta | mail-transport-agent (ie. in Bionic, postfix is installed), charm-nagios could go all the way and configure the MTA. For that, we would need to have extra options to decide if we want Postfix configured in localhost-only or as a smarthost.
2) Use a different charm https://jaas.ai/search?q=postfix to configure the MTA The downside about the first approach is that Nagios could well be deployed on the same unit as the landscape-server charm, and the Postfix configuration would conflict. For now, and since the email configuration is optional, I'm going to mark this bug as wishlist. ** Changed in: charm-nagios Status: New => Confirmed ** Changed in: charm-nagios Importance: Undecided => Wishlist -- You received this bug notification because you are a member of Nagios Charm developers, which is subscribed to Nagios Charm. https://bugs.launchpad.net/bugs/1874863 Title: Nagios does not have an option to configure the email relay Status in Nagios Charm: Confirmed Bug description: When installing the nagios charm, we can input an admin email to receive emails for any alerts going on. However, the configuration of the email relay or of an smtp server (i.e sendmail) on the nagios unit must be done manually. It would be preferable to have a charm option that sets this automatically. To manage notifications about this bug go to: https://bugs.launchpad.net/charm-nagios/+bug/1874863/+subscriptions -- Mailing list: https://launchpad.net/~nagios-charmers Post to : [email protected] Unsubscribe : https://launchpad.net/~nagios-charmers More help : https://help.launchpad.net/ListHelp

