Setting common Sender mailid

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Setting common Sender mailid

Post by inas.labib »

Hello Support,

We have defined the "General mail settings" to send mails from "[email protected]" and Mail method is sendmail.

Where is individual users are getting alerts from "[email protected]" but when we add mail-DL as contact ,DL users are getting mails from server name. ex: [email protected]

We want sender mail id should be "[email protected]" . Kindly help to resolve it.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Setting common Sender mailid

Post by dwhitfield »

In the command in the CCM, add -r [email protected] to the end of it. Then, apply the configuration.
inas.labib
Posts: 170
Joined: Tue Sep 11, 2012 3:48 am

Re: Setting common Sender mailid

Post by inas.labib »

Hello Support,

In CCM Where we need to add "-r [email protected]" .

can you please clarify.

As of now we defined the general mail settings in

Admin -> Manage Email Settings -> Send mail from
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Setting common Sender mailid

Post by dwhitfield »

Please take a look at https://assets.nagios.com/downloads/nag ... Mailer.pdf . Those instructions don't go over the -r piece, but they will explain a bit about changing the commands. The default email settings do run through the commands and in a simple setup you do not need to modify the commands, but if the email address you have in the settings is not working, you will need to modify things at the command level.

If you want us to take a deeper dive, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh

That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.

If you get an error that PROFILE BUILD FAILED, please see https://support.nagios.com/kb/article.p ... ategory=44
Locked