Host/Service notification not working
Host/Service notification not working
Hi,
My host and service notification are not working.
I have followed the following : https://support.nagios.com/kb/article/n ... blems.html.
Test emails are working.
Emails that get sent when creating a new user and changing passwords also work.
Notifications get generated as I can see them under "Home-->Incident Management-->Notifications"
Custom notifications also appear here but do not get sent.
I am using SMTP to send the emails via Gmail.
Any help will be appreciated.
Thanks
My host and service notification are not working.
I have followed the following : https://support.nagios.com/kb/article/n ... blems.html.
Test emails are working.
Emails that get sent when creating a new user and changing passwords also work.
Notifications get generated as I can see them under "Home-->Incident Management-->Notifications"
Custom notifications also appear here but do not get sent.
I am using SMTP to send the emails via Gmail.
Any help will be appreciated.
Thanks
You do not have the required permissions to view the files attached to this post.
-
fuchstiger
- Posts: 22
- Joined: Tue Apr 12, 2016 7:42 am
Re: Host/Service notification not working
I have the same problem. But already opened a support ticket.
They said there was a bug in the packaging.
Do you have redownloaded and reinstalled the latest version?
They said there was a bug in the packaging.
Do you have redownloaded and reinstalled the latest version?
Re: Host/Service notification not working
Jip. Downloaded xi-latsest.tar.gz.
Installed it, still not working.
Do you have a link to the support ticket you logged.
Thanks
Installed it, still not working.
Do you have a link to the support ticket you logged.
Thanks
-
kyang
Re: Host/Service notification not working
@DamienVIX,
Did you do a ./fullinstall or a ./upgrade?
I do see the event handler error on your profile.zip.
Here's a few recent threads related to the same issue.
https://support.nagios.com/forum/viewto ... =6&t=46277
https://support.nagios.com/forum/viewto ... 16&t=46302
With the same exact error.
Make sure to do the ./upgrade when installing the new 5.4.11.
The same steps are listed in our documentation in the "Manual Download" section.
https://assets.nagios.com/downloads/nag ... 1510240405
Let us know if this is what you did or if it helped!
Did you do a ./fullinstall or a ./upgrade?
I do see the event handler error on your profile.zip.
Here's a few recent threads related to the same issue.
https://support.nagios.com/forum/viewto ... =6&t=46277
https://support.nagios.com/forum/viewto ... 16&t=46302
Code: Select all
<p><pre>SQL Error [nagiosxi] : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '16:06:00),NOW(),'0')' at line 1</pre></p>Code: Select all
cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgradeThe same steps are listed in our documentation in the "Manual Download" section.
https://assets.nagios.com/downloads/nag ... 1510240405
Let us know if this is what you did or if it helped!
Re: Host/Service notification not working
Yes,
I ran ./upgrade.
I have even installed version 5.4.9. There is still no emails being sent.
Thanks
I ran ./upgrade.
I have even installed version 5.4.9. There is still no emails being sent.
Thanks
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Host/Service notification not working
if this is the case, then they're probably turned off at a user level. masquerade as the user, and make sure that notifications are enabled on each profile.
-
fuchstiger
- Posts: 22
- Joined: Tue Apr 12, 2016 7:42 am
Re: Host/Service notification not working
I think the tickets are private. There is no way to publish it. But the problem is still there.DamienVIX wrote: Do you have a link to the support ticket you logged.
My problem is: Mails with the Nagios XI dispatcher does not work - mails with the custom dispather are still working.
I track it via the notifications site. I see only the ones in the log (/var/log/maillog) which were sent with the custom dispatcher.
-
kyang
Re: Host/Service notification not working
Thanks @tacolover101 and @fuchstiger!
Along with the suggestions, I am seeing a lot of these logs.
Could you run this and show us the output?
Along with the suggestions, I am seeing a lot of these logs.
Code: Select all
Nov 10 08:21:56 nagios nagios: SERVICE NOTIFICATION: carl;MTC;XMLErr;UNKNOWN;xi_service_notification_handler;No files found
Nov 10 08:21:56 nagios nagios: SERVICE NOTIFICATION: christo;MTC;XMLErr;UNKNOWN;xi_service_notification_handler;No files found
Nov 10 08:21:56 nagios nagios: SERVICE NOTIFICATION: damien;MTC;XMLErr;UNKNOWN;xi_service_notification_handler;No files found
Nov 10 08:22:07 nagios nagios: SERVICE NOTIFICATION: carl;MTC;TPV_In;UNKNOWN;xi_service_notification_handler;No files found
Nov 10 08:22:07 nagios nagios: SERVICE NOTIFICATION: christo;MTC;TPV_In;UNKNOWN;xi_service_notification_handler;No files found
Nov 10 08:22:07 nagios nagios: SERVICE NOTIFICATION: damien;MTC;TPV_In;UNKNOWN;xi_service_notification_handler;No files foundCode: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgRe: Host/Service notification not working
Winner winner chicken dinner.tacolover101 wrote:if this is the case, then they're probably turned off at a user level. masquerade as the user, and make sure that notifications are enabled on each profile.
I masqueraded as each user and checked the notification settings. They were all unchecked.
Thanks
-
kyang
Re: Host/Service notification not working
Awesome! Did you resolve this issue?
Are there any more questions or are we okay to close this thread?
Are there any more questions or are we okay to close this thread?