Logs Overflowing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
EnvBroker1
Posts: 65
Joined: Thu Oct 31, 2013 11:50 am

Logs Overflowing

Post by EnvBroker1 »

I'm still configuring my XI server after the import from core. So there are a lot of machines that didn't come over correctly. Other than turning off the monitoring engine, where do I configure XI so it doesn't make so many logs, because it's filling up my /var. For now I don't need 5 days worth of logs or every info message logged, those are creating more of a problem than anything.

Thanks
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Logs Overflowing

Post by Box293 »

When you say /var I'm assuming /usr/local/nagios/var ?

You can edit the /usr/local/nagios/etc/nagios.cfg and change some of the logging options such as:

log_event_handlers
log_external_commands
log_host_retries
log_initial_states
log_notifications
log_passive_checks
log_service_retries

Check out this URL for more info on these options:
http://nagios.sourceforge.net/docs/3_0/configmain.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked