aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nagiosgraph/files
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-02-05 10:59:19 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-02-05 10:59:19 +0000
commitbbaba9dd4d48e287ed1b5bd9f7461be68354bbcb (patch)
tree5bd26f2285d7758e7ad8b171913ba4a11b482c7c /net-mgmt/nagiosgraph/files
parent8401bd6734e732079d36e546ccc6e71b1e19fb1d (diff)
downloadports-bbaba9dd4d48e287ed1b5bd9f7461be68354bbcb.tar.gz
ports-bbaba9dd4d48e287ed1b5bd9f7461be68354bbcb.zip
Notes
Diffstat (limited to 'net-mgmt/nagiosgraph/files')
-rw-r--r--net-mgmt/nagiosgraph/files/patch-etc__nagiosgraph.conf.in37
1 files changed, 17 insertions, 20 deletions
diff --git a/net-mgmt/nagiosgraph/files/patch-etc__nagiosgraph.conf.in b/net-mgmt/nagiosgraph/files/patch-etc__nagiosgraph.conf.in
index 80adfcb85f0f..dd119670266b 100644
--- a/net-mgmt/nagiosgraph/files/patch-etc__nagiosgraph.conf.in
+++ b/net-mgmt/nagiosgraph/files/patch-etc__nagiosgraph.conf.in
@@ -1,20 +1,20 @@
---- ./etc/nagiosgraph.conf.orig 2010-06-07 18:30:21.000000000 +0200
-+++ ./etc/nagiosgraph.conf 2010-08-17 21:50:26.000000000 +0200
+--- ./etc/nagiosgraph.conf.orig 2011-01-15 09:27:44.000000000 +0300
++++ ./etc/nagiosgraph.conf 2011-02-03 16:08:34.000000000 +0300
@@ -8,19 +8,19 @@
# Author: (c) 2010 Matthew Wall
- # Location of nagiosgraph log file. Debug output ends up here.
--logfile = /var/log/nagiosgraph.log
+ # Location of output from nagiosgraph data processing
+-logfile = /var/nagiosgraph/nagiosgraph.log
+logfile = /var/spool/nagios/nagiosgraph.log
- # Optionally keep logging from CGI scripts in a separate file.
- #cgilogfile = /var/log/nagiosgraph-cgi.log
+ # Location of output from nagiosgraph CGI scripts
+ cgilogfile = /var/nagiosgraph/nagiosgraph-cgi.log
- # Location of nagios performance data log file. Comment out if not used.
+ # Location of nagios performance data log file.
-perflog = /var/nagios/perfdata.log
+perflog = /var/spool/nagios/perfdata.log
- # Directory to store rrd database files
+ # Directory in which to store RRD files
-rrddir = /var/nagiosgraph/rrd
+rrddir = /var/spool/nagios/nagiosgraph/rrd
@@ -24,12 +24,8 @@
# Nagiosgraph CGI URL.
nagiosgraphcgiurl = /nagiosgraph/cgi-bin
-@@ -30,36 +30,36 @@
- #nagioscgiurl = /nagios/cgi-bin
-
- # JavaScript: URL to the nagiosgraph javascript file.
--javascript = /nagiosgraph/nagiosgraph.js
-+javascript = /nagios/stylesheets/nagiosgraph.js
+@@ -33,22 +33,22 @@
+ javascript = /nagiosgraph/nagiosgraph.js
# Stylesheet: URL to the nagiosgraph stylesheet.
-stylesheet = /nagiosgraph/nagiosgraph.css
@@ -57,14 +53,15 @@
# Access control configuration (optional)
# The authorization method can be one of nagios3 or nagiosgraph. If no
- # method is defined, access will be granted to all hosts and services.
- # For access control via nagios, specify the nagios configuration files.
+@@ -61,12 +61,12 @@
+ # authorized_for_all_hosts, authorized_for_all_services, and default_user_name
+ # variables to determine permissions.
#authzmethod = nagios3
--#authznagios_cfg = /etc/nagios/nagios.cfg
--#authzcgi_cfg = /etc/nagios/cgi.cfg
-+#authznagios_cfg = %%PREFIX%%/etc/nagios/nagios.cfg
-+#authzcgi_cfg = %%PREFIX%%/etc/nagios/cgi.cfg
+-#authzfile = /etc/nagios/cgi.cfg
++#authzfile = %%PREFIX%%/etc/nagios/cgi.cfg
+
# For access control via nagiosgraph, specify a single access control file.
+ # See the sample access control file for syntax and examples.
#authzmethod = nagiosgraph
-#authzfile = /etc/nagiosgraph/access.conf
+#authzfile = %%PREFIX%%/etc/nagios/nagiosgraph/access.conf