Author: Russell Stuart Description: Move log files to where Debian has them: /var/log. --- a/sample-config/nagios.cfg.in +++ b/sample-config/nagios.cfg.in @@ -15,7 +15,7 @@ # for historical purposes. This should be the first option specified # in the config file!!! -log_file=@localstatedir@/nagios.log +log_file=/var/log/nagios4/nagios.log @@ -243,7 +243,7 @@ # This is the directory where archived (rotated) log files should be # placed (assuming you've chosen to do log rotation). -log_archive_path=@localstatedir@/archives +log_archive_path=/var/log/nagios4/archives @@ -1292,7 +1292,7 @@ # DEBUG FILE # This option determines where Nagios should write debugging information. -debug_file=@localstatedir@/nagios.debug +debug_file=/var/log/nagios4/nagios.debug