Logging Level of Nagios Event Log

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
joe1871
Posts: 28
Joined: Tue Feb 01, 2011 3:36 pm

Logging Level of Nagios Event Log

Post by joe1871 »

Hi Al,
I have a very widely used and much relied on Nagios implementation. It is running Core 4.x on Debian. Several people have asked if it is possible to manage and pare down the detail that is contained in the Event Log. I am speaking about the CGI linked log titled "Event Log" you access from the left panel of the Nagios MUI. It seems like it has gotten more detailed in recent releases, although I may be remembering ghosts. Regardless, today my boss came to me and asked what I could do to pare down the detail in the logs, and I am taking my best shot. I went through the config file - there is no real ability to turn the logging level up or down there that I saw. It would be great to do away with "Informational" entries, and only have the log be actual problems found. Is there a way to do this? Am I missing something really obvious that will let me do that?

I very much appreciate any feedback.

Joe
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Logging Level of Nagios Event Log

Post by jdalrymple »

That is the contents of your nagios.log file compiled into a visual representation. There really isn't anything you can do to trim it back, except decrease the status output of your host and service checks. Nagios Core actually relies on that data for some reporting functionality so disabling it or trimming it prematurely wouldn't be a great plan.
Locked