SMTP address needs to be configured on the mail boxes

This forum is intended for the discussion of Nagios Core development. Feature requests, patches, bug fixes, and all types of development-related discussions are welcome!

NOTE: The SourceForge.net nagios-devel mailing list has been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

SMTP address needs to be configured on the mail boxes

Postby Pratapa » Mon Dec 09, 2019 4:38 am

We have a requirement as follows :


Here are SMTP address which are configured on the Mailboxes.


ABCD Oncall Support

SMTP:12345678@xxxxsms.com.in smtp:ABCOncall@xx.com.in smtp:ABCOncall@xxx.com.in


PQRS Oncall Support

smtp:abcd@xxx.com.in smtp:abcd@xxx.com.in smtp:abcd@xxx.com.in SMTP:12345678@xxxxsms.com.in



We need to change the SMTP address in Nagios for these two contacts to forward on the same SMTP address as :



Oncall- Secondary

12345678@xxxxsms.com.in

SMTP:12345678@xxxxsms.com.in smtp:defgh@xxx.com.in smtp:defgh@xxx.com.in smtp:defgh@xxx.com.in





Please let us know how to proceed on this.
Pratapa
 
Posts: 53
Joined: Tue Oct 01, 2019 1:33 am

Re: SMTP address needs to be configured on the mail boxes

Postby mbellerue » Mon Dec 09, 2019 4:17 pm

To change a contact's email address, you can go to Configure -> Core Config Manager -> Contacts. Find the contact that you want to change, and change the Email Address field.

Edit:
Excuse me, I missed that this was for Nagios Core. In Nagios Core, contacts are generally stored at /usr/local/nagios/etc/objects/contacts.cfg. The process is similar in that you will locate your contacts in the configuration file, and then change the email field. This document may help you.
https://assets.nagios.com/downloads/nag ... ml#contact
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
mbellerue
 
Posts: 1191
Joined: Fri Jul 12, 2019 11:10 am


Return to Nagios Core Development

Who is online

Users browsing this forum: No registered users and 2 guests