I'm in the process of evaluating NagiosXI and I'm having issues with Notifications. I've tried both options - native SendMail and SMTP via our in house Exchange server - and none of them worked. Also, Notifications sent to my cell are not working. Can anyone point me to what the problem could be?
P.S. This is my second attempt to post this message. First one never made it to the board after clicking on Submit.
Notifications not working
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Notifications not working
Hello @ncmpoli,
Thanks for trying out Nagios XI. Let's try to get this solved for you. Besides, getting the notifications working, let us know if you have any other questions about Nagios XI.
In the email settings, Admin > System Config > Email Settings, what happens when you send a test email? Is this still not received?
Let's test a custom notification. Please login in as the nagiosadmin, setup the SMPT settings and enable logging, then send a custom notification. To do this, go to Home > Host Status > Select a Host... and to go the Advanced Tab, and select Send Custom Notification. If you are not able to receive the message, send us your system profile and we can review the logs. Thanks!
To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.
Reference:
Configuring Email and Text Notifications in Nagios XI
Thanks for trying out Nagios XI. Let's try to get this solved for you. Besides, getting the notifications working, let us know if you have any other questions about Nagios XI.
In the email settings, Admin > System Config > Email Settings, what happens when you send a test email? Is this still not received?
Let's test a custom notification. Please login in as the nagiosadmin, setup the SMPT settings and enable logging, then send a custom notification. To do this, go to Home > Host Status > Select a Host... and to go the Advanced Tab, and select Send Custom Notification. If you are not able to receive the message, send us your system profile and we can review the logs. Thanks!
To send us your system profile.
Login to the Nagios XI GUI using a web browser
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.
Reference:
Configuring Email and Text Notifications in Nagios XI
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notifications not working
Hi there, I PMd you the profile and the messages that I'm getting after sending test emails. None of the emails made it through, including the custom notification.
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Notifications not working
Hello @ncmpoli,
Thanks for sending over the system profile. It looks you have email settings configured for an SMPT server. The notifications events are shown in the nagios.log, but there's nothing in the phpmailer log. So, let's verify that logging is enabled and check the user notification preferences.
1. Let's make sure the text messages are enabled for the user account (MPolifrone and nagiosadmin). Log into XI for the user, and click on the name in the upper right-hand menu and find the Notification Options in the left-hand sidebar.
Verify that text and email messages are enabled for the user account. And verify the alert types are enabled. 2. Go to Admin > System Config > Email Settings and enable logging for PHPmailer. Run the following tail command and send a text notification to make sure it is logging. Next, try sending another custom notification, and post the full output of the tail command below or send over a fresh system profile.
Benjamin
Thanks for sending over the system profile. It looks you have email settings configured for an SMPT server. The notifications events are shown in the nagios.log, but there's nothing in the phpmailer log. So, let's verify that logging is enabled and check the user notification preferences.
1. Let's make sure the text messages are enabled for the user account (MPolifrone and nagiosadmin). Log into XI for the user, and click on the name in the upper right-hand menu and find the Notification Options in the left-hand sidebar.
Verify that text and email messages are enabled for the user account. And verify the alert types are enabled. 2. Go to Admin > System Config > Email Settings and enable logging for PHPmailer. Run the following tail command and send a text notification to make sure it is logging. Next, try sending another custom notification, and post the full output of the tail command below or send over a fresh system profile.
Code: Select all
tail -f /usr/local/nagiosxi/tmp/phpmailer.log
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Notifications not working
Hi Benjamin,
Email messages are enabled but I can't enable text messages since it asks me to verify my mobile number. I sent a text to verify my number but I never received the verification key. I did this multiple times and still nothing came through.
Alert types are enabled for both, email and mobile text.
I also enabled logging for PHPmailer and PMd you the fresh system profile.
Thanks
Email messages are enabled but I can't enable text messages since it asks me to verify my mobile number. I sent a text to verify my number but I never received the verification key. I did this multiple times and still nothing came through.
Alert types are enabled for both, email and mobile text.
I also enabled logging for PHPmailer and PMd you the fresh system profile.
Thanks
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Notifications not working
Hi @ncmpoli,
Let's try to get the email resolved and then move to over to the SMS settings. I sent you a PM of the full error message, it looks like the outlook is not accepting the messages as the sending email address is not a connected account.
https://social.technet.microsoft.com/Fo ... ginglegacy
https://stackoverflow.com/questions/400 ... ndasdenied
Let's try to get the email resolved and then move to over to the SMS settings. I sent you a PM of the full error message, it looks like the outlook is not accepting the messages as the sending email address is not a connected account.
References:SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied;
https://social.technet.microsoft.com/Fo ... ginglegacy
https://stackoverflow.com/questions/400 ... ndasdenied
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Notifications not working
HI,
Also, since you are on a trial, you have access to a free 1 hour QuickStart session to help you get this working. You can sign up on the following page:
https://www.nagios.com/services/quickstart/
Also, since you are on a trial, you have access to a free 1 hour QuickStart session to help you get this working. You can sign up on the following page:
https://www.nagios.com/services/quickstart/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Notifications not working
Hi,
Thanks for the sending the profile, still seeing a connection issue with the external SMTP server:
Please follow the steps in the guide below to enabled debugging, send a test email message, and post a screenshot of the output.
PHPMailer - Troubleshooting Using Debug Logging
Also, do you have another email account you can use to test the notifications against? This would help us isolate the issue better, for example settings or authentication.
Thanks for the sending the profile, still seeing a connection issue with the external SMTP server:
Code: Select all
[05-13-2020 12:58:56] SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
PHPMailer - Troubleshooting Using Debug Logging
Also, do you have another email account you can use to test the notifications against? This would help us isolate the issue better, for example settings or authentication.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!