--- etc/nagiosgraph.conf.orig 2013-06-11 22:09:56 UTC +++ etc/nagiosgraph.conf @@ -8,19 +8,19 @@ # Author: (c) 2010 Matthew Wall # Location of output from nagiosgraph data processing -logfile = /var/nagiosgraph/nagiosgraph.log +logfile = /var/spool/nagios/nagiosgraph.log # Location of output from nagiosgraph CGI scripts cgilogfile = /var/nagiosgraph/nagiosgraph-cgi.log # Location of nagios performance data log file. -perflog = /var/nagios/perfdata.log +perflog = /var/spool/nagios/perfdata.log # Directory in which to store RRD files -rrddir = /var/nagiosgraph/rrd +rrddir = /var/spool/nagios/nagiosgraph/rrd # File containing regular expressions to identify service and perf data -mapfile = /etc/nagiosgraph/map +mapfile = %%PREFIX%%/etc/nagios/nagiosgraph/map # Nagiosgraph CGI URL. nagiosgraphcgiurl = /nagiosgraph/cgi-bin @@ -33,27 +33,27 @@ nagiosgraphcgiurl = /nagiosgraph/cgi-bin javascript = /nagiosgraph/nagiosgraph.js # Stylesheet: URL to the nagiosgraph stylesheet. -stylesheet = /nagiosgraph/nagiosgraph.css +stylesheet = /nagios/stylesheets/nagiosgraph.css # File containing labels for services and data (optional) -#labelfile = /etc/nagiosgraph/labels.conf +#labelfile = %%PREFIX%%/etc/nagios/nagiosgraph/labels.conf # Location of showhost control file (optional) -#hostdb = /etc/nagiosgraph/hostdb.conf +#hostdb = %%PREFIX%%/etc/nagios/nagiosgraph/hostdb.conf # Location of showservice control file (optional) -#servdb = /etc/nagiosgraph/servdb.conf +#servdb = %%PREFIX%%/etc/nagios/nagiosgraph/servdb.conf # Groups can be enumerated explicitly in the groupdb file, gathered # automatically from the service group definitions in the Nagios # configuration, or a combination of both. # Location of showgroup control file (optional) -#groupdb = /etc/nagiosgraph/groupdb.conf +#groupdb = %%PREFIX%%/etc/nagios/nagiosgraph/groupdb.conf # Location of the Nagios configuration file (optional) #groupcfgfile = /etc/nagios/nagios.cfg # File containing sets of data sources to select in queries (optional) -#datasetdb = /etc/nagiosgraph/datasetdb.conf +#datasetdb = %%PREFIX%%/etc/nagios/nagiosgraph/datasetdb.conf # Access control configuration (optional) # The authorization method can be one of nagios3 or nagiosgraph. If no @@ -66,12 +66,12 @@ stylesheet = /nagiosgraph/nagiosgraph.cs # authorized_for_all_hosts, authorized_for_all_services, and default_user_name # variables to determine permissions. #authzmethod = nagios3 -#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 # Logging can be enabled for a specific CGI script and/or specific hosts or