Nagios XI Don't Send E-Mail

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Nagios XI Don't Send E-Mail

Post by Bone8Head »

hsmith wrote:How many CPUs do you have on this machine?
4 CPU
4GB RAM (but Guest or Host memory sometimes can be full)

43 of 70 GB Used (I don't know how Nagios is needing so much space)

On nagios I have:

51 Hosts
363 Services
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Don't Send E-Mail

Post by rkennedy »

I took a look at your profile, from your XI home page can you click 'nagiosadmin' up top - what do you have your Email Address set to? It should look similar to this -
account-information.PNG
You do not have the required permissions to view the files attached to this post.
Former Nagios Employee
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Nagios XI Don't Send E-Mail

Post by Bone8Head »

rkennedy wrote:I took a look at your profile, from your XI home page can you click 'nagiosadmin' up top - what do you have your Email Address set to? It should look similar to this -
account-information.PNG
Is my personal e-mail address.

mi**ele.melchio**e@***-***.com
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios XI Don't Send E-Mail

Post by rkennedy »

It does not look like you are a contact on the hosts / services. Let's see what happens if we change the nagiosadmin email to yours.

Navigate to Core Config Manager -> Contacts -> nagiosadmin -> change the email address from nagios@localhost to your personal email.

Are you receiving notifications now?
Former Nagios Employee
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Nagios XI Don't Send E-Mail

Post by Bone8Head »

rkennedy wrote:It does not look like you are a contact on the hosts / services. Let's see what happens if we change the nagiosadmin email to yours.

Navigate to Core Config Manager -> Contacts -> nagiosadmin -> change the email address from nagios@localhost to your personal email.

Are you receiving notifications now?
I did that, but still notifications unfortunately..
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Don't Send E-Mail

Post by hsmith »

Are you seeing anything under Home --> Incident Management --> Notifications?
Former Nagios Employee.
me.
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Nagios XI Don't Send E-Mail

Post by Bone8Head »

hsmith wrote:Are you seeing anything under Home --> Incident Management --> Notifications?
Yes.
Image
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios XI Don't Send E-Mail

Post by tgriep »

Can you login as root on the Xi server and run a tail om the maillog file like below?

Code: Select all

tail -f /var/log/maillog
Then in the XI GUI, go to Home > Service Details, open a service with the nagiosadmin setup as a contact.
Click on the Advanced Tab and then Send a Custom Notification.

Then post the output of the tail command here so we can see if there are any errors.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Bone8Head
Posts: 106
Joined: Tue Nov 10, 2015 2:39 am

Re: Nagios XI Don't Send E-Mail

Post by Bone8Head »

Before Notification:

Code: Select all

[root@nagiosfe /]# tail -f /var/log/maillog
Jan 31 07:19:27 nagiosfe sendmail[25774]: u0V6JRja025774: from=root, size=4518, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Jan 31 07:19:28 nagiosfe sendmail[25778]: u0V6JRkB025778: from=<[email protected]>, size=4793, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 31 07:19:28 nagiosfe sendmail[25774]: u0V6JRja025774: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=34518, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u0V6JRkB025778 Message accepted for delivery)
Jan 31 07:19:28 nagiosfe sendmail[25779]: u0V6JRkB025778: to=<[email protected]>, ctladdr=<[email protected]> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=35019, dsn=2.0.0, stat=Sent
Jan 31 08:00:02 nagiosfe sendmail[20906]: u0V702Lp020906: from=root, size=412, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Jan 31 08:00:03 nagiosfe sendmail[21089]: u0V703BH021089: from=<[email protected]>, size=687, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 31 08:00:04 nagiosfe sendmail[20906]: u0V702Lp020906: to=root, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=30412, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u0V703BH021089 Message accepted for delivery)
Jan 31 08:00:04 nagiosfe sendmail[21092]: u0V703BH021089: to=<[email protected]>, ctladdr=<[email protected]> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30913, dsn=2.0.0, stat=Sent
After Custom Notification (nagios admin contact):

Code: Select all

[root@nagiosfe /]# tail -f /var/log/maillog
Jan 31 07:19:27 nagiosfe sendmail[25774]: u0V6JRja025774: from=root, size=4518, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Jan 31 07:19:28 nagiosfe sendmail[25778]: u0V6JRkB025778: from=<[email protected]>, size=4793, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 31 07:19:28 nagiosfe sendmail[25774]: u0V6JRja025774: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=34518, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u0V6JRkB025778 Message accepted for delivery)
Jan 31 07:19:28 nagiosfe sendmail[25779]: u0V6JRkB025778: to=<[email protected]>, ctladdr=<[email protected]> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=35019, dsn=2.0.0, stat=Sent
Jan 31 08:00:02 nagiosfe sendmail[20906]: u0V702Lp020906: from=root, size=412, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Jan 31 08:00:03 nagiosfe sendmail[21089]: u0V703BH021089: from=<[email protected]>, size=687, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 31 08:00:04 nagiosfe sendmail[20906]: u0V702Lp020906: to=root, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=30412, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u0V703BH021089 Message accepted for delivery)
Jan 31 08:00:04 nagiosfe sendmail[21092]: u0V703BH021089: to=<[email protected]>, ctladdr=<[email protected]> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30913, dsn=2.0.0, stat=Sent
^C
[root@nagiosfe /]# tail -f /var/log/maillog
Jan 31 07:19:27 nagiosfe sendmail[25774]: u0V6JRja025774: from=root, size=4518, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Jan 31 07:19:28 nagiosfe sendmail[25778]: u0V6JRkB025778: from=<[email protected]>, size=4793, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 31 07:19:28 nagiosfe sendmail[25774]: u0V6JRja025774: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=34518, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u0V6JRkB025778 Message accepted for delivery)
Jan 31 07:19:28 nagiosfe sendmail[25779]: u0V6JRkB025778: to=<[email protected]>, ctladdr=<[email protected]> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=35019, dsn=2.0.0, stat=Sent
Jan 31 08:00:02 nagiosfe sendmail[20906]: u0V702Lp020906: from=root, size=412, class=0, nrcpts=1, msgid=<[email protected]>, relay=root@localhost
Jan 31 08:00:03 nagiosfe sendmail[21089]: u0V703BH021089: from=<[email protected]>, size=687, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jan 31 08:00:04 nagiosfe sendmail[20906]: u0V702Lp020906: to=root, ctladdr=root (0/0), delay=00:00:02, xdelay=00:00:01, mailer=relay, pri=30412, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u0V703BH021089 Message accepted for delivery)
Jan 31 08:00:04 nagiosfe sendmail[21092]: u0V703BH021089: to=<[email protected]>, ctladdr=<[email protected]> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=30913, dsn=2.0.0, stat=Sent
Jan 31 14:51:27 nagiosfe sendmail[1473]: rejecting connections on daemon MTA: load average: 50
Jan 31 14:51:42 nagiosfe sendmail[1473]: accepting connections again for daemon MTA
I don't see the Right time (I sent the notifications around the 10-11...
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Nagios XI Don't Send E-Mail

Post by hsmith »

Bone8Head wrote:nagiosfe.finance.com
Are you sending emails as "@finance.com"? Do you own this domain? It could be possible that it is getting filtered on your end trying to look up the domain, and then not having it resolve back to your IP.
Former Nagios Employee.
me.
Locked