Hosts/Services problem notifition sender email is different

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Hosts/Services problem notifition sender email is different

Post by phyo »

In our system, we enable hosts and services notification via email.
And we use gmail to send notification email from nagios to the users.
Nagiosadmin user receive email from [email protected]
But some of the user receive email from [email protected]
nagios01.iptv is the hostname of our nagios server.

Please see the below image for details.

Image

Image

How can we fix this issue? I want to send notification email from [email protected] only.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Hosts/Services problem notifition sender email is differ

Post by Box293 »

Go to Admin > System Config > Manage System Config
What is the Administrator Email Address?

Go to Admin > System Config > Manage Email Settings
What is the Send Mail from address?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: Hosts/Services problem notifition sender email is differ

Post by phyo »

Box293 wrote:Go to Admin > System Config > Manage System Config
What is the Administrator Email Address?
There, the email account is root@localhost
Box293 wrote:Go to Admin > System Config > Manage Email Settings
What is the Send Mail from address?
There, the email account is [email protected]

Now I have changed from root@localhost to [email protected]
I think this will fix my issue. Right?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Hosts/Services problem notifition sender email is differ

Post by Box293 »

Do a test to find out.

Go to a Service to view the Status Details
Click the Advanced tab
Click Send custom notification
Type a Comment and click Commit.

How does it come through now?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: Hosts/Services problem notifition sender email is differ

Post by phyo »

This custom notification will send out to every one in the contacts?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Hosts/Services problem notifition sender email is differ

Post by Box293 »

Yes it will.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: Hosts/Services problem notifition sender email is differ

Post by phyo »

The notification email still using [email protected] for some user.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Hosts/Services problem notifition sender email is differ

Post by Box293 »

Can you have a look at the following:

CCM
Alerting > Contacts
Click on a contact
Alert Settings tab
Click the "Manage Host Notification Commands" button
Are there any commands assigned here?
Click Close
Click the "Manage Service Notification Commands" button
Are there any commands assigned here?
Click Close
Common Settings tab
Click the "Manage Contact Templates" button
Are there any Templates assigned?
If there are make a note.
Click Close
Click Cancel

If there was a template assigned
Templates > Contact Templates
Click the template
Repeat the steps above to identify what commands are being used.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
phyo
Posts: 162
Joined: Sun Dec 01, 2013 10:50 pm

Re: Hosts/Services problem notifition sender email is differ

Post by phyo »

Can you have a look at the following:
Box293 wrote: CCM
Alerting > Contacts
Click on a contact
Alert Settings tab
Click the "Manage Host Notification Commands" button
Are there any commands assigned here?
Click Close
some are notify-host-by-email(just contact) and some are xi_host_notification_handler(user)
Click the "Manage Service Notification Commands" button
Are there any commands assigned here?
Click Close
some are notify-service-by-email and(just contact) some are xi_service_notification_handler(user)
Common Settings tab
Click the "Manage Contact Templates" button
Are there any Templates assigned?
If there are make a note.
Click Close
Click Cancel
Some are xi_contact_generic(user) and some are blank.
If there was a template assigned
Templates > Contact Templates
Click the template
Repeat the steps above to identify what commands are being used.
xi_contact_generic --> alert setting --> manage host notification commands is xi_host_notification_handler and manage service notification commands is xi_service_notification_handler
Common Setting tab--> manage contact group is xi_contactgroup_all
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Hosts/Services problem notifition sender email is differ

Post by tgriep »

Go to Admin > System Config > Manage Email Settings and post back how the Mail Method is setup.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked