Page 3 of 3
Re: Nagios core not sending notification emails
Posted: Wed Jun 01, 2016 4:36 pm
by mrkrupp
This is what I got when I tried the test:
Code: Select all
Jun 1 14:34:35 bauspap218 postfix/pickup[26839]: 69D3F8185F3D: uid=0 from=<root>
Jun 1 14:34:35 bauspap218 postfix/cleanup[28223]: 69D3F8185F3D: message-id=<[email protected]>
Jun 1 14:34:35 bauspap218 postfix/qmgr[26840]: 69D3F8185F3D: from=<[email protected]>, size=456, nrcpt=1 (queue active)
I did not receive email.
Re: Nagios core not sending notification emails
Posted: Wed Jun 01, 2016 4:43 pm
by tgriep
Can you run this command to see if there are any messages in the mail queue on the nagios server?
If there are a lot of messages in the queue, it could take a while.
Also, could your ISP be blocking your emails?
Re: Nagios core not sending notification emails
Posted: Wed Jun 01, 2016 4:53 pm
by mrkrupp
nothing from nagios is in the mailq. I do not think it is my ISP, as it was all working before. I think this stopped working when I added a GUI to the system via the "Server with GUI" package from RHEL. It may have altered some of my settings from whatever installed with the package.
Code: Select all
[root@bauspap218 etc]# mailq
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
69D3F8185F3D 456 Wed Jun 1 14:34:35 [email protected]
(Host or domain name not found. Name service error for name=bam.com type=MX: Host not found, try again)
[email protected]
Re: Nagios core not sending notification emails
Posted: Wed Jun 01, 2016 5:21 pm
by Box293
You will need to contact RHEL for support on resolving your networking issue. Some of the basic commands we've asked you to run indicate that it's nothing to do with Nagios.
Re: Nagios core not sending notification emails
Posted: Wed Jun 01, 2016 5:49 pm
by mrkrupp
Is there a simple way to have nagios send a test email message? I think I figured it out I disabled one of the services and my test emails go through.
Re: Nagios core not sending notification emails
Posted: Wed Jun 01, 2016 6:35 pm
by Box293
In the web interface, go to a host or service object.
Under commands click "Send custom (host/service) Notification"