NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
snapier3
Posts: 144
Joined: Tue Apr 23, 2019 7:12 pm

NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled

Post by snapier3 »

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.
danderson

Re: NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled

Post by danderson »

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.
snapier3
Posts: 144
Joined: Tue Apr 23, 2019 7:12 pm

Re: NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled

Post by snapier3 »

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.
Oh, I'll check this...
snapier3
Posts: 144
Joined: Tue Apr 23, 2019 7:12 pm

Re: NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled

Post by snapier3 »

@danderson
Thanks! Pretty sure your on it, I have the change for the ndo.config file scheduled, I will post with the results.
--SN
snapier3
Posts: 144
Joined: Tue Apr 23, 2019 7:12 pm

Re: NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled

Post by snapier3 »

Modifying the ndo.cfg to exclude the event handlers worked to resolve my issue.
--SN
danderson

Re: NagiosXI 2024R1.1.2 | Event Handlers logging to event log although disabled

Post by danderson »

Nice! I'm glad your issue is resolved
Post Reply