External commands and nagios.log

Keller, Mark D Keller.Mark at con-way.com
Tue Jun 30 19:22:24 CEST 2009


Hello,

We have a distributed Nagios environment that is working fine.

On the frontend I am getting about 400MB of logs a day. 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. Is there any reason to keep the external commands in the log files? Does some of the history or reports rely on them?

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.

I am using Nagios 3.0.6.

Any help would be appreciated,

Thanks,

Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090630/4856bccf/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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


More information about the Users mailing list