Lines 1-54
Link Here
|
1 |
--- etc/nagiosgraph.conf.orig 2010-03-05 10:24:25.000000000 +0000 |
1 |
--- etc/nagiosgraph.conf.orig 2010-04-27 08:14:25.000000000 +0000 |
2 |
+++ etc/nagiosgraph.conf 2010-03-05 10:44:53.000000000 +0000 |
2 |
+++ etc/nagiosgraph.conf 2010-04-27 08:18:16.000000000 +0000 |
3 |
@@ -8,41 +8,41 @@ |
3 |
@@ -8,19 +8,19 @@ |
4 |
# Author: (c) 2010 Matthew Wall |
4 |
# Author: (c) 2010 Matthew Wall |
5 |
|
5 |
|
6 |
# Location of nagiosgraph log file. Debug output ends up here. |
6 |
# Location of nagiosgraph log file. Debug output ends up here. |
7 |
-logfile = /var/log/nagiosgraph.log |
7 |
-logfile = /var/log/nagiosgraph.log |
8 |
+logfile = /var/spool/nagios/nagiosgraph.log |
8 |
+logfile = /var/spool/nagios/nagiosgraph.log |
9 |
|
9 |
|
|
|
10 |
# Optionally keep logging from CGI scripts in a separate file. |
11 |
#cgilogfile = /var/log/nagiosgraph-cgi.log |
12 |
|
10 |
# Location of nagios performance data log file. Comment out if not used. |
13 |
# Location of nagios performance data log file. Comment out if not used. |
11 |
-perflog = /var/nagios/perfdata.log |
14 |
-perflog = /var/nagios/perfdata.log |
12 |
+perflog = /var/spool/nagios/perfdata.log |
15 |
+perflog = /var/spool/nagios/perfdata.log |
13 |
|
16 |
|
14 |
# Directory to store rrd database files |
17 |
# Directory to store rrd database files |
15 |
-rrddir = /var/nagiosgraph/rrd |
18 |
rrddir = /var/nagiosgraph/rrd |
16 |
+rrddir = /var/spool/nagios/rrd |
|
|
17 |
|
19 |
|
18 |
# File containing regular expressions to identify service and perf data |
20 |
# File containing regular expressions to identify service and perf data |
19 |
-mapfile = /etc/nagiosgraph/map |
21 |
-mapfile = /etc/nagiosgraph/map |
20 |
+mapfile = %%PREFIX%%/etc/nagios/nagiosgraph/map |
22 |
+mapfile = %%PREFIX%%/etc/nagios/nagiosgraph/map |
21 |
|
23 |
|
22 |
# Location of showhost control file |
|
|
23 |
-hostdb = /etc/nagiosgraph/hostdb.conf |
24 |
+hostdb = %%PREFIX%%/etc/nagios/nagiosgraph/hostdb.conf |
25 |
|
26 |
# Location of showservice control file |
27 |
-servdb = /etc/nagiosgraph/servdb.conf |
28 |
+servdb = %%PREFIX%%/etc/nagios/nagiosgraph/servdb.conf |
29 |
|
30 |
# Location of showgroup control file |
31 |
-groupdb = /etc/nagiosgraph/groupdb.conf |
32 |
+groupdb = %%PREFIX%%/etc/nagios/nagiosgraph/groupdb.conf |
33 |
|
34 |
# File containing data sets that should be selected in service queries. |
35 |
#datasetdb = /opt/nagiosgraph/etc/datasetdb.conf |
36 |
|
37 |
# Nagiosgraph CGI URL. |
24 |
# Nagiosgraph CGI URL. |
38 |
-nagiosgraphcgiurl = /nagiosgraph/cgi-bin |
25 |
nagiosgraphcgiurl = /nagiosgraph/cgi-bin |
39 |
+nagiosgraphcgiurl = /nagios/cgi-bin/nagiosgraph |
26 |
@@ -30,36 +30,36 @@ |
40 |
|
|
|
41 |
# Nagios CGI URL. If the Nagiosgraph CGI scripts are in a directory other |
42 |
# than the Nagios CGI directory, then specify the Nagios CGI URL here. |
43 |
#nagioscgiurl = /nagios/cgi-bin |
27 |
#nagioscgiurl = /nagios/cgi-bin |
44 |
|
28 |
|
45 |
# JavaScript: URL to the nagiosgraph javascript file. |
29 |
# JavaScript: URL to the nagiosgraph javascript file. |
46 |
-javascript = /nagiosgraph/nagiosgraph.js |
30 |
-javascript = /nagiosgraph/nagiosgraph.js |
47 |
+javascript = /nagios/stylesheets/nagiosgraph.js |
31 |
+javascript = /nagios/stylesheets/nagiosgraph.js |
48 |
|
32 |
|
49 |
# Stylesheet: URL to the nagiosgraph stylesheet. Comment out if not used. |
33 |
# Stylesheet: URL to the nagiosgraph stylesheet. |
50 |
-stylesheet = /nagiosgraph/nagiosgraph.css |
34 |
-stylesheet = /nagiosgraph/nagiosgraph.css |
51 |
+stylesheet = /nagios/stylesheets/nagiosgraph.css |
35 |
+stylesheet = /nagios/stylesheets/nagiosgraph.css |
52 |
|
36 |
|
|
|
37 |
# File containing labels for services and data (optional) |
38 |
-#labelfile = /etc/nagiosgraph/labels.conf |
39 |
+#labelfile = %%PREFIX%%/etc/nagios/nagiosgraph/labels.conf |
40 |
|
41 |
# Location of showhost control file (optional) |
42 |
-#hostdb = /etc/nagiosgraph/hostdb.conf |
43 |
+#hostdb = %%PREFIX%%/etc/nagios/nagiosgraph/hostdb.conf |
44 |
|
45 |
# Location of showservice control file (optional) |
46 |
-#servdb = /etc/nagiosgraph/servdb.conf |
47 |
+#servdb = %%PREFIX%%/etc/nagios/nagiosgraph/servdb.conf |
48 |
|
49 |
# Location of showgroup control file (required for showgroup.cgi) |
50 |
-groupdb = /etc/nagiosgraph/groupdb.conf |
51 |
+groupdb = %%PREFIX%%/etc/nagios/nagiosgraph/groupdb.conf |
52 |
|
53 |
# File containing data sets that should be selected in queries (optional) |
54 |
-#datasetdb = /etc/nagiosgraph/datasetdb.conf |
55 |
+#datasetdb = %%PREFIX%%/etc/nagios/nagiosgraph/datasetdb.conf |
56 |
|
57 |
# Access control configuration (optional) |
58 |
# The authorization method can be one of nagios3 or nagiosgraph. If no |
59 |
# method is defined, access will be granted to all hosts and services. |
60 |
# For access control via nagios, specify the nagios configuration files. |
61 |
#authzmethod = nagios3 |
62 |
-#authznagios_cfg = /etc/nagios/nagios.cfg |
63 |
-#authzcgi_cfg = /etc/nagios/cgi.cfg |
64 |
+#authznagios_cfg = %%PREFIX%%/etc/nagios/nagios.cfg |
65 |
+#authzcgi_cfg = %%PREFIX%%/etc/nagios/cgi.cfg |
66 |
# For access control via nagiosgraph, specify a single access control file. |
67 |
#authzmethod = nagiosgraph |
68 |
-#authzfile = /etc/nagiosgraph/access.conf |
69 |
+#authzfile = %%PREFIX%%/etc/nagios/nagiosgraph/access.conf |
70 |
|
53 |
|
71 |
|
54 |
# Debug can be enabled for a specific CGI script and/or specific hosts or |
72 |
# Logging can be enabled for a specific CGI script and/or specific hosts or |