Another SMTP server for NLS

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
lukedevon
Posts: 143
Joined: Sat Mar 24, 2018 9:15 am

Another SMTP server for NLS

Post by lukedevon »

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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Another SMTP server for NLS

Post by cdienger »

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
lukedevon
Posts: 143
Joined: Sat Mar 24, 2018 9:15 am

Re: Another SMTP server for NLS

Post by lukedevon »

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.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Another SMTP server for NLS

Post by cdienger »

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.
lukedevon
Posts: 143
Joined: Sat Mar 24, 2018 9:15 am

Re: Another SMTP server for NLS

Post by lukedevon »

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.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Another SMTP server for NLS

Post by cdienger »

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.
Locked