This is essentially a duplicate of this topic: https://support.nagios.com/forum/viewto ... 16&t=46268
We're running 5.4.11 on RHEL7. Was previously on 5.4.8, but as of the upgrade, it stopped sending emails. Test emails work fine.
From the fast resolution forum post:
>Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
No X, no gnome, just straight forward headless RHEL7 64bit, connected and getting updates from RHSM. Running on vmware. We do have SSL enabled, but that along with notifications worked fine before the upgrade.
I have the profile.zip, but its got quite a lot of install specific stuff in it, happy to DM it to a admin though.
I think the problem is possibly this that pops up in the event handler log: /usr/local/nagiosxi/var/event_handler.log
Code: Select all
<p><pre>SQL Error [nagiosxi] : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '10:59:32),NOW(),'0')' at line 1</pre></p>
DELETED LOCKFILE '/usr/local/nagiosxi/var/event_handler.lock'
EVENT HANDLER EXITINGCode: Select all
[root@nagiosxi-prod var]# tail -f /usr/local/nagiosxi/var/eventman.log
PROCESSED 0 EVENTS
.....................
PROCESSED 0 EVENTS
...................
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS
.....................
PROCESSED 0 EVENTS
..........As per the previous topic, I've tried reruning the upgrade, and have rebooted just to check. I've also run the db repair script as per /usr/local/nagiosxi/scripts/repair_databases.sh, and while it fixed a bunch of stuff - it was ultimately successful:
Code: Select all
- recovering (with sort) MyISAM-table 'xi_users.MYI'
Data records: 97
- Fixing index 1
- Fixing index 2
~
===============
REPAIR COMPLETE
===============
=======================
nagios database repair succeeded
nagiosql database repair succeeded
nagiosxi database repair succeeded