On Jun 30, 2009, at 12:22 PM, Keller, Mark D wrote: > Hello, > > We have a distributed Nagios environment that is working fine. > > On the frontend I am getting about 400MB of logs a day.
That's very very large... > That makes any web cgi’s that need to read the logs horribly slow. I > have noticed that about half of the log messages are for external > commands. That is still very very large. 8603 passive services here on a somewhat volatile network (89 down currently) -- 1.8M nagios-06-27-2009-00.log 1.9M nagios-06-28-2009-00.log 2.2M nagios-06-29-2009-00.log 2.2M nagios-06-30-2009-00.log > Is there any reason to keep the external commands in the log files? No. Not unless you have some custom script that does something with them. > Does some of the history or reports rely on them? Not at all. > Then the second question is, how do I get them to stop logging to > the file? I see there is a log_external_commands option in the > nagios.cfg, but setting that to 0 doesn’t seem to actually stop the > log entry from going to the nagios.log. Are you confusing external commands with passive checks perhaps (log_passive_checks)? -- Marc ------------------------------------------------------------------------------ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
