Hi
In NLS, we can define only one SMTP server to send alerts out.
I have a requirement of sending alerts to two external SMTP servers. How can I implement another SMTP in NLS? Can we configure CentOS/Redhat sendmail as the second smtp MTA to the 2nd external SMTP server? Also, how can we pass the Alert data to the email?
Thank you
Luke
Another SMTP server for NLS
Re: Another SMTP server for NLS
I can file a feature request to define multiple SMTP servers in the NLS web UI, but currently it doesn't look like sendmail will allow multiple relay hosts:
https://access.redhat.com/documentation ... -email-mta
https://serverfault.com/questions/76310 ... in-postfix
But does allow failover with the smtp_fallback_relay option:
https://access.redhat.com/solutions/4025391
The alert data should automatically be sent in email alerts. - https://assets.nagios.com/downloads/nag ... Server.pdf
https://access.redhat.com/documentation ... -email-mta
https://serverfault.com/questions/76310 ... in-postfix
But does allow failover with the smtp_fallback_relay option:
https://access.redhat.com/solutions/4025391
The alert data should automatically be sent in email alerts. - https://assets.nagios.com/downloads/nag ... Server.pdf
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Another SMTP server for NLS
Hi
Thank you. Hope this new feature will helpful for most of the users.
However, I have tried to achieve the same requirement in NagiosXI by configuring postfix MTA as a mail relay to another mail server, which has been tested and working fine when an alert triggers.
Alert will send both mail servers, one is via NAGIOS XI and another one via postfix MTA.
Until the new feature to be implemented, can we find a workaround for this requirement? If we use the same method by configuring an MTA, is it possible to parse the Alert data to the MTA?
Thank you
Luke.
Thank you. Hope this new feature will helpful for most of the users.
However, I have tried to achieve the same requirement in NagiosXI by configuring postfix MTA as a mail relay to another mail server, which has been tested and working fine when an alert triggers.
Alert will send both mail servers, one is via NAGIOS XI and another one via postfix MTA.
Until the new feature to be implemented, can we find a workaround for this requirement? If we use the same method by configuring an MTA, is it possible to parse the Alert data to the MTA?
Thank you
Luke.
Re: Another SMTP server for NLS
I suspect there is more to the XI workaround(like multiple notification commands) that just don't apply in a NLS setup. Can you provide details about that setup?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Another SMTP server for NLS
Hi,
For example, I have two SMTP servers. One is supports sedning email and other one supports sednig SMSs ( but SMSs senidng over smtp).
When I have to handle such a situation, I need two SMTP servers configured in NLS.
Br
Luke.
For example, I have two SMTP servers. One is supports sedning email and other one supports sednig SMSs ( but SMSs senidng over smtp).
When I have to handle such a situation, I need two SMTP servers configured in NLS.
Br
Luke.
Re: Another SMTP server for NLS
Thanks for the suggestion. A feature request has been submitted for this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.