Changes of Revision 10
[-] | Changed | cacti.spec |
x 1
2 3 Name: cacti 4 BuildRequires: apache2-devel libapr-util1-devel pcre-devel 5 -Version: 0.8.7a 6 +Version: 0.8.7b 7 Release: 1 8 Summary: Web Front-End to Monitor System Data via RRDtool 9 License: GPL v2 or later 10 Group: System/Monitoring 11 Url: http://www.cacti.net/ 12 -Source0: %{name}-%{version}.tar.bz2 13 +Source0: %{name}-%{version}.tar.gz 14 Source1: %{name}.cron 15 Source2: %{name}-httpd.conf 16 Source3: %{name}.logrotate 17
18 %config(noreplace) %{apache2_sysconfdir}/conf.d/cacti.conf 19 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} 20 %changelog 21 +* Wed Feb 13 2008 Carsten Schoene <cs@linux-administrator.com> 22 +- updated to 0.8.7b 23 + * Unnecessary (and faulty) DEF generation for CF:AVERAGE 24 + * Small visual fix for Cacti in "View Cacti Log File" 25 + * Graph xport modification to increase default rows output 26 + * Poller incorrectly identifies unique hosts 27 + * CLI Scripts bring MySQL down on large installations 28 + * Filtering broken on Data Sources page 29 + * Fix looping poller recache events 30 + * ss_fping.php 100% "Pkt Loss" does not work properly 31 + * Graphs with no template and/or no host cause filtering errors on Graph Management page 32 + * View Poller Cache does not show Data Sources that have no host 33 + * Graph Generation fails if e.g. ifDescr contains some blanks 34 + * TCP/UDP ping port ignored 35 + * Downed Device Detection 36 + * update_host_status handles ping_availability incorrectly 37 + * "U" not allowed as min/max RRD value 38 + * Deleted user causes error on user log viewer 39 + * Re-assign duplicate radio button IDs 40 + * Add HTML title attributes for certain pages 41 + * ALL_DATA_SOURCES_NODUPS includes DUPs? SIMILAR_DATA_SOURCES_DUPS is available again 42 + * Cacti does not guarentee RRA consolidation functions exist in RRA's 43 + * Alert on changing logarithmic scaling removed 44 + * add_hosts.php did not accept privacy protocol 45 + * Fix several security vulnerabilities 46 + * show basic RRDtool graph options on Graph Template edit 47 + * Add additional logging to Graph Xport 48 + * Add rows dropdown to devices, graphs and data sources 49 + * Add device_id and event count to devices 50 + * Add ids to devices, graphs and data sources pages 51 + * Add database repair utility 52 + 53 * Tue Nov 20 2007 - prusnak@suse.cz 54 - updated to 0.8.7a 55 * "Use Per-Data Source Value (Ignore this Value)" runs only when when checking "Allow Empty Input" 56 |
||
[+] | Added | cacti-0.8.7b-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.7b.tar.gz ^ |