Page 1 of 1
Email Notification
Posted: Mon Dec 03, 2012 10:31 am
by scater
I am very new to Nagios - Spent time this weekend installing - I installed the VMWare (incl Centos 6) package on an existing VM server. I was able to successfully setup monitoring for the Linux Server, a Win-7 Workstation and a Win Server 2008.
My problem is that I can't seem to get the "Test" Notifications to work.
I setup under:
Admin --> Manage Emal Settings - Selected smtp and entered the required information.
My Account Settings --> Notification Preference - I checked Enable Notification
and selected Email under Notification Methods
On the CENTOS server I check and the DNS entries (via DHCP) are correct and I am able to ping a web address and get resolution.
Not sure if there is anything else I need to setup and can't seem to find anything on the forum - if there is a thread, please point me in the right direction. Thanks ...
Re: Email Notification
Posted: Mon Dec 03, 2012 12:05 pm
by lmiltchev
I would suggest reviewing our wiki post on troubleshooting notifications:
http://support.nagios.com/wiki/index.ph ... n_Problems
Hope this helps.
Re: Email Notification
Posted: Mon Dec 03, 2012 1:19 pm
by scater
I had already reviewed that article I believe that all xi settings are correct. Is there anything in the default install of CENTOS that needs to be changed?
Re: Email Notification
Posted: Mon Dec 03, 2012 1:42 pm
by scottwilkerson
Did you select sendmail or SMTP under Admin -> Manage Email Settings ?
What error do you receive when you try the test notification?
Re: Email Notification
Posted: Mon Dec 03, 2012 3:47 pm
by scater
I selected SMTP (see original post) and after I select the Send Test Notification - a box pops up indicating that the email has been sent and displays the correct email address. Of course, I don't get any emails/Alerts.
I have not made any changes to the Centos 6 installation from the Nagios VMWare installation. Hope that helps.
Re: Email Notification
Posted: Mon Dec 03, 2012 4:32 pm
by scottwilkerson
Sorry, I missed that on your first post.
If you are getting a box saying it was sent, this would indicate that the SMTP server you have specified accepted the message.
From here I can recommend two path.
Check your spam filter, or check the logs on the SMTP server...
Re: Email Notification
Posted: Mon Dec 03, 2012 10:28 pm
by scater
No problems -
I checked the Spam filter - no luck.... I use GoDaddy for email - not sure how to check the SMTP server - - I beginning to think it has something to do with the CENTOS 6 installation. Not sure how - I would think that the parameters used in the nagios setup would find the smtp server and properly route the email. FYI - I can successfullping the GoDaddy SMTP server from the Centos Server (both ip address and domain name).
Looked at maillog on centos and only reflects IPv4 supported ad IPv6 turned off.
I'm unsure where to go next.
Re: Email Notification
Posted: Mon Dec 03, 2012 10:41 pm
by scater
OK - solved issue. I was using a different email account to autheticate to the SMTP server then the emaiul bveing used to receive the alert. Setup email in My Account Settings to be the same as the one in System Configuration --> Manage email settings and was able to get test alert notification
Thanks -