/var/log/messages

Henrik Morsing henrik at morsing.cc
Mon Apr 10 10:33:45 CEST 2006


ThomasC. said:
> Hi,
>
> Is there's a way to tell nagios not to write inside /var/log/messages ?


Hi,
In nagios.cfg change the line 'use_syslog=1' to 'use_syslog=0'.

At the top of the file you can set the log file like this:

log_file=/var/log/nagios/nagios.log


-- 
Regards,
Henrik Morsing


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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