MySQL Database Crashes
Re: MySQL Database Crashes
Looks like you're correct. From looking at the code of logging.c, all current states are logged anytime there's a rotation. I'm going to dig into this a bit more, but for the time being setting up your own rotation with the logrotate cron might be a better solution for now.
Re: MySQL Database Crashes
So the only real insight I can offer on this would be that /usr/local/nagios/etc/ndomod.cfg allows you to define a bitwise operation as to what gets sent to ndoutils. So if you don't don't mind not having fresh nagios log information in the web interface you can turn off ndoutils logentries with the following option:
I wouldn't try this in production without letting it run on a test box for a while. I tried it on my local benchmark box with 10k checks running on it, and I was hoping it would be a performance increase, but I don't think my test install is large enough to notice much of a difference.
Code: Select all
data_processing_options=67108859