$NetBSD: patch-af,v 1.1.1.1 2006/02/18 17:12:20 bouyer Exp $

--- sample-config/nagios.cfg.in.orig	2005-11-23 23:28:03.000000000 +0100
+++ sample-config/nagios.cfg.in	2006-01-26 22:10:40.000000000 +0100
@@ -16,7 +16,7 @@
 # for historical purposes.  This should be the first option specified 
 # in the config file!!!
 
-log_file=@localstatedir@/nagios.log
+log_file=@localstatedir@/log/nagios/nagios.log
 
 
 
@@ -100,7 +100,7 @@
 # The contents of the status file are deleted every time Nagios
 #  restarts.
 
-status_file=@localstatedir@/status.dat
+status_file=@localstatedir@/log/nagios/status.dat
 
 
 
@@ -159,7 +159,7 @@
 # directory level instead of on the file, as the file is deleted every
 # time its contents are processed.
 
-command_file=@localstatedir@/rw/nagios.cmd
+command_file=@localstatedir@/run/nagios/rw/nagios.cmd
 
 
 
@@ -167,7 +167,7 @@
 # This is the file that Nagios will use for storing host and service
 # comments.
 
-comment_file=@localstatedir@/comments.dat
+comment_file=@localstatedir@/log/nagios/comments.dat
 
 
 
@@ -175,7 +175,7 @@
 # This is the file that Nagios will use for storing host and service
 # downtime data.
 
-downtime_file=@localstatedir@/downtime.dat
+downtime_file=@localstatedir@/log/nagios/downtime.dat
 
 
 
@@ -193,7 +193,7 @@
 # is created, used, and deleted throughout the time that Nagios is
 # running.
 
-temp_file=@localstatedir@/nagios.tmp
+temp_file=/tmp/nagios.tmp
 
 
 
@@ -240,7 +240,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=@localstatedir@/log/nagios/archives
 
 
 
@@ -506,7 +506,7 @@
 # This file is used only if the preserve_state_information
 # variable is set to 1.
 
-state_retention_file=@localstatedir@/retention.dat
+state_retention_file=@localstatedir@/run/nagios/retention.dat
 
 
 
