First, some data:
OS: RHEL 7.9
Linux: 3.10.0-1160.31.1.el7.x86_64
NagiosXI: manual installation
DB: Offloaded using official procedure
Jumbo frames: Enabled between frontend and backend
We have an internal ticket created due to a DB insertion problem usind NDOtools so the IPCS messages are increasing and based on how NagiosXI interface works, a delay is appearing in the system as you can see in the attached screenshot: "Delay.png"
We are using host and service macros just to store information about SNMP community, creation date, SNMP port and so on and we've realized that there are tons of DB inserts of those static data, all those thousands of inserts are affecting to the whole system because it seems they are maxing out the connection between Nagios frontend and the offloaded backend:
You can understand the problem checking the current icps messages in the attached screenshoot: "ipcs_messages.png"
We've tried to modify ndomod.cfg to avoid inserting all unnecessary data, with negative results. We need to know how to reduce the impact of inserting custom macros values, because it is no neccesary to insert all of them every 5 minutes or so, once per day should be enough and in that way the systems get its normal behavior.
BR,
Juanma