Changes of Revision 27
[-] | Changed | cacti.changes |
1
2 ------------------------------------------------------------------- 3 +Fri Aug 21 08:00:43 UTC 2015 - cs@linux-administrator.com 4 + 5 +- update to release 0.8.8f 6 + 7 +------------------------------------------------------------------- 8 Mon Dec 29 15:17:23 UTC 2014 - cs@linux-administrator.com 9 10 - removed cacti-0.8.8b_COMMENT.patch 11 |
||
[-] | Changed | cacti.spec ^ |
10 1
2 3 Name: cacti 4 BuildRequires: apache2-devel libapr-util1-devel pcre-devel 5 -Version: 0.8.8c 6 +Version: 0.8.8f 7 Release: 1 8 Summary: Web Front-End to Monitor System Data via RRDtool 9 License: GPL v2 or later 10 |
||
[+] | Added | cacti-0.8.8f-cacti-log-path.patch ^ |
@@ -0,0 +1,64 @@ +--- include/global_settings.php ++++ include/global_settings.php +@@ -94,9 +94,9 @@ + ), + "path_cactilog" => array( + "friendly_name" => "Cacti Log File Path", +- "description" => "The path to your Cacti log file (if blank, defaults to <path_cacti>/log/cacti.log)", ++ "description" => "The path to your Cacti log file (if blank, defaults to /var/log/cacti.log)", + "method" => "filepath", +- "default" => $config["base_path"] . "/log/cacti.log", ++ "default" => "/var/log/cacti.log", + "max_length" => "255" + ), + "pollerpaths_header" => array( +--- install/index.php ++++ install/index.php +@@ -244,7 +244,7 @@ + if (config_value_exists("path_cactilog")) { + $input["path_cactilog"]["default"] = read_config_option("path_cactilog"); + } else { +- $input["path_cactilog"]["default"] = $config["base_path"] . "/log/cacti.log"; ++ $input["path_cactilog"]["default"] = "/var/log/cacti.log"; + } + + /* SNMP Version */ +--- lib/functions.php ++++ lib/functions.php +@@ -365,7 +365,7 @@ + /* Log to Logfile */ + if ((($logdestination == 1) || ($logdestination == 2)) && (read_config_option("log_verbosity") != POLLER_VERBOSITY_NONE)) { + if ($logfile == "") { +- $logfile = $config["base_path"] . "/log/cacti.log"; ++ $logfile = "/var/log/cacti.log"; + } + + /* echo the data to the log (append) */ +--- script_server.pl ++++ script_server.pl +@@ -1,4 +1,4 @@ +-chdir("./scripts"); ++chdir("/usr/share/cacti/scripts"); + $loaded = 0; + while ($file = <*.pl>) { + next if $file eq $0; +--- utilities.php ++++ utilities.php +@@ -681,7 +681,7 @@ + $logfile = read_config_option("path_cactilog"); + + if ($logfile == "") { +- $logfile = "./log/rrd.log"; ++ $logfile = "/var/log/rrd.log"; + } + + /* helps determine output color */ +@@ -919,7 +919,7 @@ + $logfile = read_config_option("path_cactilog"); + + if ($logfile == "") { +- $logfile = "./log/cacti.log"; ++ $logfile = "/var/log/cacti.log"; + } + + html_start_box("<strong>Clear Cacti Log File</strong>", "100%", $colors["header"], "1", "center", ""); | ||
Added | cacti-0.8.8f.tar.bz2 ^ |