pkgsrc-wip/nagios-base/patches/patch-af

77 lines
2 KiB
Text
Raw Normal View History

$NetBSD: patch-af,v 1.1.1.1 2003/04/06 00:30:47 marmfield Exp $
--- sample-config/nagios.cfg.in.orig Fri Jul 5 15:36:02 2002
+++ sample-config/nagios.cfg.in
@@ -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
@@ -73,7 +73,7 @@ resource_file=@sysconfdir@/resource.cfg
# The contentsof the status file are deleted every time Nagios
# restarts.
-status_file=@localstatedir@/status.log
+status_file=@localstatedir@/log/nagios/status.log
@@ -132,7 +132,7 @@ command_check_interval=-1
# 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
@@ -140,7 +140,7 @@ command_file=@localstatedir@/rw/nagios.c
# This is the file that Nagios will use for storing host and service
# comments.
-comment_file=@localstatedir@/comment.log
+comment_file=@localstatedir@/log/nagios/comment.log
@@ -148,7 +148,7 @@ comment_file=@localstatedir@/comment.log
# This is the file that Nagios will use for storing host and service
# downtime data.
-downtime_file=@localstatedir@/downtime.log
+downtime_file=@localstatedir@/log/nagios/downtime.log
@@ -166,7 +166,7 @@ lock_file=@lockfile@
# is created, used, and deleted throughout the time that Nagios is
# running.
-temp_file=@localstatedir@/nagios.tmp
+temp_file=/tmp/nagios.tmp
@@ -187,7 +187,7 @@ log_rotation_method=d
# 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
@@ -380,7 +380,7 @@ retain_state_information=1
# This file is used only if the preserve_state_information
# variable is set to 1.
-state_retention_file=@localstatedir@/status.sav
+state_retention_file=@localstatedir@/run/nagios/status.sav