This is something I have noticed since upgrading NagiosXI 5.11.2 upgrade to NagiosXI20241.1.2
I have logging for event handlers is disabled in the nagios.cfg file and I'm still getting the entries in the event log for XI.
This is a large environment with the event handler enabled for the bulk of the 15k services. Logging of the execution of the handler is causing MySQL log entries table to bloat during normal operation.
The size of the table impacts the performance of the dbmaint jobs as well as large file sizes during MySQL daily.weekly and monthly backups.
NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled
-
danderson
Re: NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled
Thanks for reaching out @snapier3,
Do you still see the events when you navigate to https://<XI Hostname>/nagios/cgi-bin/showlog.cgi ?
You might want to take a look at /usr/local/nagios/etc/ndo.cfg as well. I see there is an event_handler_data setting in my ndo.cfg file.
Perhaps it has something to do with subsystem logging and/or database cleaning. You can view settings for subsystem logging in Admin -> System Config -> Performance Settings -> Databases and/or Subsystem.
There is also the Global Event Handler component that might be causing the issue you are encountering. You can view it's settings in Admin -> System Extensions -> Manage Components
Let me know if you need further help.
Do you still see the events when you navigate to https://<XI Hostname>/nagios/cgi-bin/showlog.cgi ?
You might want to take a look at /usr/local/nagios/etc/ndo.cfg as well. I see there is an event_handler_data setting in my ndo.cfg file.
Perhaps it has something to do with subsystem logging and/or database cleaning. You can view settings for subsystem logging in Admin -> System Config -> Performance Settings -> Databases and/or Subsystem.
There is also the Global Event Handler component that might be causing the issue you are encountering. You can view it's settings in Admin -> System Extensions -> Manage Components
Let me know if you need further help.
Re: NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled
Oh, I'll check this...You might want to take a look at /usr/local/nagios/etc/ndo.cfg as well. I see there is an event_handler_data setting in my ndo.cfg file.
Re: NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled
@danderson
Thanks! Pretty sure your on it, I have the change for the ndo.config file scheduled, I will post with the results.
--SN
Thanks! Pretty sure your on it, I have the change for the ndo.config file scheduled, I will post with the results.
--SN
Re: NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled
Modifying the ndo.cfg to exclude the event handlers worked to resolve my issue.
--SN
--SN
-
danderson
Re: NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled
Nice! I'm glad your issue is resolved