Page 4 of 7

Re: Nagios XI Don't Send E-Mail

Posted: Tue Jan 26, 2016 5:54 pm
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

Re: Nagios XI Don't Send E-Mail

Posted: Wed Jan 27, 2016 11:50 am
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

Re: Nagios XI Don't Send E-Mail

Posted: Wed Jan 27, 2016 2:24 pm
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

Re: Nagios XI Don't Send E-Mail

Posted: Wed Jan 27, 2016 3:49 pm
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?

Re: Nagios XI Don't Send E-Mail

Posted: Wed Jan 27, 2016 4:17 pm
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..

Re: Nagios XI Don't Send E-Mail

Posted: Thu Jan 28, 2016 2:59 pm
by hsmith
Are you seeing anything under Home --> Incident Management --> Notifications?

Re: Nagios XI Don't Send E-Mail

Posted: Fri Jan 29, 2016 2:48 am
by Bone8Head
hsmith wrote:Are you seeing anything under Home --> Incident Management --> Notifications?
Yes.
Image

Re: Nagios XI Don't Send E-Mail

Posted: Fri Jan 29, 2016 11:49 am
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.

Re: Nagios XI Don't Send E-Mail

Posted: Sun Jan 31, 2016 8:53 am
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...

Re: Nagios XI Don't Send E-Mail

Posted: Mon Feb 01, 2016 11:11 am
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.