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 ...
Email Notification
Re: Email Notification
I would suggest reviewing our wiki post on troubleshooting notifications:
http://support.nagios.com/wiki/index.ph ... n_Problems
Hope this helps.
http://support.nagios.com/wiki/index.ph ... n_Problems
Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Email Notification
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?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Email Notification
Did you select sendmail or SMTP under Admin -> Manage Email Settings ?
What error do you receive when you try the test notification?
What error do you receive when you try the test notification?
Re: Email Notification
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.
I have not made any changes to the Centos 6 installation from the Nagios VMWare installation. Hope that helps.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Email Notification
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...
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
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.
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
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 -
Thanks -