/var/log/messages and nagios.log

Rivanor P. Soares rivanor at linuxmail.org
Tue Jul 15 18:25:48 CEST 2003


Tom,

I know about this option. But what is happening is that things like crond output, errors from modprobe, logs from iptables, and all other stuff generated to syslog is using my nagios.log like it were the log file 'messages'.

Thanks,
Rivanor.

----- Original Message -----
From: Tom Lichti <tom at redpepperracing.com>
Date: 	Tue, 15 Jul 2003 12:12:54 -0400
To: "Rivanor P. Soares" <rivanor at linuxmail.org>
Subject: Re: [Nagios-users] /var/log/messages and nagios.log

> Rivanor P. Soares wrote:
> 
> > I'll try some help, but being shorter.
> > 
> > The lines writen in my /var/log/messages are being writen in my /usr/local/nagios/var/nagios.log too.
> > Everything that happens in messages is done the same in nagios.log. Why this could be?
> > 
> 
> There is an option in nagios.cfg called 'use_syslog'. If it is set to a 
> non-zero value, it will log to both the nagios.log and syslog. Change it 
> to zero, stop and start nagios, and it will not do it anymore.
> 
> Tom
> 



Rivanor P. Soares [w3b_kn0ws]
LPIC-1, CCNA
Sao Paulo - SP
Brazil

-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
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