Page 1 of 1

Move nagios entries from /var/log/messages

Posted: Tue Apr 19, 2011 11:06 am
by jon.bilderback
I would prefer to have nagios create its entries in something like /var/log/nagios instead, so that I can keep /var/log/messages free for system events.
Is anyone else doing this yet, or have an idea how i can change it?

Thanks

RHEL 5.6 32 bit
Nagios XI 2011R1.2

Re: Move nagios entries from /var/log/messages

Posted: Tue Apr 19, 2011 1:10 pm
by tonyyarusso
In /usr/local/nagios/etc/nagios.cfg, set use_syslog to 0, and edit log_file and log_archive_path to your liking.

Re: Move nagios entries from /var/log/messages

Posted: Wed Apr 20, 2011 12:24 pm
by jon.bilderback
That did the job. Thanks

Re: Move nagios entries from /var/log/messages

Posted: Wed Apr 20, 2011 12:29 pm
by tonyyarusso
No problem - glad it's working for you.

Re: Move nagios entries from /var/log/messages

Posted: Fri Apr 22, 2011 11:29 am
by rdedon
Please feel free to post if you have any additional questions or issues.
Thanks!