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
Move nagios entries from /var/log/messages
-
jon.bilderback
- Posts: 52
- Joined: Tue Aug 10, 2010 9:16 am
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Move nagios entries from /var/log/messages
In /usr/local/nagios/etc/nagios.cfg, set use_syslog to 0, and edit log_file and log_archive_path to your liking.
-
jon.bilderback
- Posts: 52
- Joined: Tue Aug 10, 2010 9:16 am
Re: Move nagios entries from /var/log/messages
That did the job. Thanks
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Move nagios entries from /var/log/messages
No problem - glad it's working for you.
Re: Move nagios entries from /var/log/messages
Please feel free to post if you have any additional questions or issues.
Thanks!
Thanks!