Host/Service State Log Entries

Marc Powell marc at ena.com
Mon Apr 9 18:10:07 CEST 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick
> Sent: Monday, April 09, 2007 10:51 AM
> To: Prigge Scott; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Host/Service State Log Entries
> 
> > From: nagios-users-bounces at lists.sourceforge.net
> > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf
> > Of Prigge Scott
> > Sent: Monday, April 09, 2007 6:27 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Host/Service State Log Entries
> >
> > I recently upgraded from 1.0b to 2.7. I noticed that
> > immediately after my daily log rotation, the current state of
> > all hosts and services is entered in the log file. As I have
> > thousands of hosts/services, this makes the log (in my case)
> > unnecessarily large, and was hoping to find an option to
> > prevent those states from being logged.
> 
> Have you done a full restart since making the change?  That would be
the
> right option to prevent those states being logged, but it won't take
> effect unless you shut down Nagios completely and restart it -- your
> rotation is probably just sending a HUP to an already-running Nagios
> process.

I'm sure I answered this last week. This is expected and documented
behavior. See the CHANGELOG. It's desirable for the vast majority of
users and there's no option to disable it outside of editing source. If
it's disabled, reporting will become less accurate.

--
Marc

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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