Direct Nagios log messages to a different file
Direct Nagios log messages to a different file
Would it be possible to direct Nagios log messages to a different files instead of /var/log/messages? Nagios can be quite "verbose" sometimes and that makes it hard to find non-nagios related problems in a server, for instance.
Re: Direct Nagios log messages to a different file
The default nagios log is /usr/local/nagios/var/nagios.log and optionally(defaulted to on) you can send the same info to syslog(/var/log/messages). Disabling this done by editing nagios.cfg(Configure > Core Config Manager > CCM Admin > Core Configs) and changing "use_syslog=1" to "use_syslog=0" and then applying the changes.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.