Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
cacti
> cacti.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File cacti.spec of Package cacti (Revision 18)
Currently displaying revision
18
,
show latest
# # spec file for package cacti (Version 0.8.7h) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: cacti BuildRequires: apache2-devel libapr-util1-devel pcre-devel Version: 0.8.7h Release: 1 Summary: Web Front-End to Monitor System Data via RRDtool License: GPL v2 or later Group: System/Monitoring Url: http://www.cacti.net/ Source0: %{name}-%{version}.tar.bz2 Source1: %{name}.cron Source2: %{name}-httpd.conf Source3: %{name}.logrotate Patch0: %{name}-%{version}-cacti-log-path.patch Requires: http_daemon net-snmp rrdtool php mod_php_any Requires: php-snmp php-mysql php-session BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define prefix %{_datadir}/cacti %define apxs2 /usr/sbin/apxs2-prefork %define apache2_sysconfdir %(%{apxs2} -q SYSCONFDIR) %description Cacti is a complete front-end to RRDtool: it stores all necessary information for creating graphs and populates them with data from a MySQL database. The front-end is completely PHP driven. Along with being ableto maintain graphs, data sources, and round robin archives ina database, Cacti also handles data gathering. There exists an SNMP support for those accustomed to creating traffic graphs with MRTG as well. Authors: -------- Ian Berry <iberry@raxnet.net> %prep %setup -q %patch0 %build find . -iname \*.orig -exec rm {} \; %install install -d -m 755 $RPM_BUILD_ROOT%{prefix} install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name} install -d -m 755 $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name} install -d -m 755 $RPM_BUILD_ROOT%{_var}/log/%{name} cp *.php $RPM_BUILD_ROOT%{prefix} cp -pr lib $RPM_BUILD_ROOT%{prefix} cp -pr include $RPM_BUILD_ROOT%{prefix} cp -pr images $RPM_BUILD_ROOT%{prefix} cp -pr install $RPM_BUILD_ROOT%{prefix} cp -pr resource $RPM_BUILD_ROOT%{prefix} cp -pr scripts $RPM_BUILD_ROOT%{_datadir}/%{name} install -m 644 *.sql $RPM_BUILD_ROOT%{_datadir}/%{name} # cron task install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/cron.d install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/cacti # apache2 config install -d -m 755 $RPM_BUILD_ROOT%{apache2_sysconfdir}/conf.d install -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{apache2_sysconfdir}/conf.d/cacti.conf # logrotate config mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ install -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name} # compute files list without config file find $RPM_BUILD_ROOT%{prefix} -type d | sed -e 's|'$RPM_BUILD_ROOT'|%dir |' >> %{name}.list find $RPM_BUILD_ROOT%{prefix} -type f ! -name config.php | sed -e 's|'$RPM_BUILD_ROOT'||' >> %{name}.list %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT %files -f %{name}.list %defattr(-,root,root) %doc LICENSE docs/* %attr(-,wwwrun,www) %dir %{_localstatedir}/lib/cacti %attr(-,wwwrun,www) %dir /var/log/cacti %dir %{apache2_sysconfdir}/conf.d %config(noreplace) %{prefix}/include/config.php %config(noreplace) %{_sysconfdir}/cron.d/%{name} %config(noreplace) %{apache2_sysconfdir}/conf.d/cacti.conf %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %changelog * Tue Sep 27 2011 Carsten Schoene <cs@linux-administrator.com> - 0.8.7h-1 - updated to 0.8.7h * Reapply Suggested Names does not work correctly for graphs and data sources not associated with Data Queries * Remove PHP 5.3 deprecated functions * Concurrent changes to graph tree ordering can corrupt sort values * Symbol ($) does not appear in labels/gprint strings to rrdtool during graph generation * Script server treats quoted arguments with spaces incorrectly as multiple separate arguments * MySQL SSL connection support * Modifying data template values does not propagate as expected * Adding graphs to a device fails to add entries to poller_item if using the script server * Perform consistency check on ds maximum vs. ds minimum * Graph Export export date is incorrect * Data template copying ignores some item templating * Command line device add script fails when SNMP default is disabled * One minute polling not working correctly * Cannot export graph data to CSV with IE 8 * MySQL "TYPE=" command deprecated since MySQL 4.1 removed in MySQL 5.4.4 * Zoomed graph views should auto refresh * Reapply Suggested Name prompt as spelling problems * Graph edit page has more than one html form tag * Graph export API function has required argument not defined * Graph creation selector does not work with data query that has no associated graph templates * Improper formatting of data queries can result in SQL errors * Ping script does not process output of update ping utility * RRDtool Cacti fetch function does not work for some locales * PHP function strip_quotes causes HEX values to be truncated * Form validation error message does not highlight text area control * Cacti snmp_walk function fails if max_oids is an empty value * Default tree view mode set to single pane mode not working * Data input method description text does not make sense * Equal sign not correctly parsed in snmp data results * mode in lib/ldap.php on line 375 * Script server does not accept more than one blank space before the function name * Importing templates "using defaults for this installation" associates all rra's defined * graph_image.php does not check local_graph_id * Error when exporting templates are not properly reported * No error reporting for wrong RRA * Poller does not process SIGTERM signal correctly * Removing multiple data sources is inefficient * Technical support page uses check table which waits for table lock * Do not query for number or items per host if concurrent polling processes is set to one * Usage of PHP_SELF without basename in html.php (at least partly fixed) * Attempts to update existing tree item fail * Reflected XSS on Cacti 0.8.7g * IE9 breaks Cacti when objects are hidden using 'display:none;' style tag * Undefined index in lib/html.php * REQUEST_URI not properly escaped in graph_view.php for preview mode * Saving Script Server or Script Data Input Method Results in SQL Error * NAN values in hdd utilization graphs (Poller Output Table not Empty) * Fix SQL injection issues in login page * RRDtool fetch in Cacti fails to function properly on rrdtool files with NaN values in the output * Accept "Connection refused" on TCP ping tests * Add missing row selection javascript to graph preview * Script server throws "undefined variable" error when in debug mode * Removing graphs does not take advantage of bulk deletes * Fixed issue with multiple "U" results for a data input method with multiple output parameters * SNMP v3 use AuthNoPriv when privacy passphrase is empty * Fixed sql errors when using template and search filter on graph management * Delete Data Source multi fails to perform bulk deletes on Data Source items * Allow Timespan Selector to work with $_REQUEST as well as $_POST * While in the mrtg view of Cacti Graphs, or in viewing graph properties zoom fails * The filepath api call should trim the filename before checking for the files existence * Fix issues with IE9 while editing templates * Form action in graph_items.php incorrect * Initial drawing of tree causing Next/Previous with malformed URI * Spine enhancement for parallel collection of data at device level * Get values of |host_*| variables in graph elements from data source * Reindex method "Index Count Changed" requires that OID_NUM_INDEXES is given for SNMP Data Queries * Implement counting for script (server) data queries just like OID_NUM_INDEXES * Allow for reindex method "Index Count Changed" to apply to script (server) queries as well * Ability to use input field of a script in graph title * Make reindexing and repopulating the poller cache a lossless process * Change default font sizes * Add analyze database and push out host cli scripts * Sat Jul 10 2010 Carsten Schoene <cs@linux-administrator.com> - 0.8.7g-1 - updated to 0.8.7g * RRDTool 1.4.x not recognized during installation * Implement windows-aware shell escaping * Fixed multiple cross site scripting vulnerabilities reported by Tomas Hoger of the Red Hat Security Response Team * Over 8TByte Partition in Windows cant get correct data from snmp * Unable to login after redirection to access denied page * "Show the page that user pointed their browser" does not seem to work * Over zelous HTML excaping on filter strings * LDAP-Authentifications does not work due to ldap_host being set incorrect * Feature from bug#0001271 breaks on large values * Web Basic authentication does not work with fastcgi * Max OID's max value reported incorrectly in Web UI * oid_suffix do not work correctly for input direction on data queries * Alternate font styles do not work correctly * Unable to add graph permissions on a user * LDAP realm authentication outputs warning for undefined index * Tech support does not work correctly with RRDTool 1.4.x * Page refresh setting not being honored * "index count changed" not implemented for query_unix_partitions.pl, query_host_partitions.pl, query_cpu_partitions.pl, ss_host_cpu.php and ss_host_disk.php * Character encoding problem after upgrade to 0.8.7f * Tech support page does account for no memory limit set for PHP * Simultaneous databases connections are not supported * Sun Sep 27 2009 Carsten Schoene <cs@linux-administrator.com> - 0.8.7e-1 - updated to 0.8.7e * Creating a DS, Output field can't be selected for DT with a DIM when "Use Per-Data Source Value" is on * SNMP query: add oid_suffix for weird SNMP queries * Overwriting $snmp_index in query_snmp_host() breaks SNMP Data query if using get method * Strip out noisy "No Such Instance currently exists at this OID" * timeout in "function ping_icmp" (lib/ping.php) * Spaces in DS when .rrd file is created, so it fails * Place graph thumbnail into div to lower page length changes on load graphs * Thumbnail Columns is not honored for host display with snmp index group style * Graph searching issue * strip_quotes fails * multiple form opening due to bug in draw_edit_form() * CSV Export Start Date and End Date are always 1970-01-01 01:00:00 * format_snmp_string can return a number with a leading space * Wrong dates override in CSV export * oid_uptime is not parsed correctly * Skiping input parameters in data_query_field_list() may lead to SQL errors * Typo in install/index.php * Customisable oid index parse regexp for weird MIBs * Tree is not expanded correctly * Tree is not being expanded if user followed link outside of cacti * Mark stacked columns in rrdtool_function_xport() output * Spelling error in a variable in html_tree.php * Combo boxes on Graph Management page produce URLs with leading spaces * Top Graph Header Breaks When Plugins Used * SNMP v3 Password issue caused by Firefox's Password AutoFill * Strip Quotes does not properly handle the value "U" * Changes to the graph tree would not show up immediately for current user * Sat Feb 21 2009 Carsten Schoene <cs@linux-administrator.com> - updated to 0.8.7d * Allow to specify on_change handler for checkbox_group * When Using Web Basic Authentication HTML Bookmarks Do Not Work * Spine uses illegal flag for ping on Mac OS X * Deleting 1000 graphs along with their Data Sources crashes the Server * "No more variables left in this MIB View" instead of value of input field * ss_host_disk.php etc. error corrected when using SNMP V3 (index off by 1) * graph_items.php variable $id defined in wrong place * Several bugs in new cli script "structured_rra_paths" * ping.pl script fails when using tcp:hostname * cdef.php error due to wrong function name * syntax error in lib/rrd.php with PHP 4.4.4 * utilities.php does not handle view_snmp_cache when host_id = -1 (Any) * Group DN could not be found * Result from SNMP not valid * Problem on CDEF function ALL|SIMILAR_DATA_SOURCES_(NO)?DUPS * Error of variable in lib/html_tree.php * Cross site scripting checking is overly protective on search filters * LDAP authentication results in PHP warning message * Resolved issue with reapply suggested names not working for data sources under certain conditions * Correct missing db_conn argument issue * Deleting large number of hosts results in SQL errors due to MySQL buffer overrun * SNMP cli version information added to tech support page * Tue Jan 27 2009 Carsten Schoene <cs@linux-administrator.com> - updated to 0.8.7c * Dual pane tree does not have the option of not rendering all trees in one page * RRA template edit allows invalid XFF values * Setting "Default Graph Tree" does not work with dual pane view * Truncated IOS description in |query_ifAlias| * ALL_DATA_SOURCES_NODUPS breaks graphing when using "Consolidation Function" MAX * scripts/ping.pl has incorrect response when "icmp hop redirect" occurs * Exporting graphs to a local path does not work correctly in some cases * Graphs that are done by graph type are not exported when using the tree view * strip_quotes incorrectly parses script output * LDAP authentication fails when using quote character in password * Graph export feature not exporting as per user level selected * Regex ambiguous for mbstring * Lack of error checking causes graphs to not update when rrdtool crashes * Script server appears broken for "index" and "query" requests (Documentation Fix) * Save Failed error when changing Graph Details * local_graph_id in graphs.php on line 201 * Installer does not properly handle disabled guest_user conversion * Unidentified index warning * Hide hosts in Graph Permissions that you already have access to * Problem validating IPv6 addresses * Graph export issues in tree mode * Faulty IP address validation by ping.php script * Graph Export to CSV failed by using IE 6 SP2 * RRDtool URL is incorrect on the about page * Since upgrade to 0.87b the hosts with ip address with 255 are down and have no datas * Graphs are not zoom-able with PHP warnings turned on * Allow use of "REMOTE_USER" if "PHP_AUTH_USER" is not set for authentication * Template Copy does not hash copied template_items * Impossible to define a none availability with the client cli/add_device.php * CSV Export for zoomed graph, results in Validation error * Default Graph Tree is not reflected in Left Pane of the graph page * Missing Hard return on last GPRINT causes bad formatting * LDAP server port not honored * Poller stops updating rrd files * Set 'stats_recache' to zero when no re-index is present * Guest user has access to change password * Using the TOTAL_ALL_DATA_SOURCES in a graph where all item are using the MAX CF yields an invalid(empty) CDEF * SNMP string cleanup removes too many '=' signs * Missing closing on host.php * Snmp ping won't work for snmp v3 * Bug in size string sysUptime * "Remove Verification" is an ambiguous definition, leads to data loss * LDAP Authentication using Solaris 10 standard ldap client fails * Do not allow deletion of Graph Export User * CDEFs can't recognize |query_*| * resource/snmp_queries/net-snmp_disk.xml has incorrect name for "Percent Available" * Hex string to decimal conversion for proper RRDtool storage * Escape windows paths to accommodate spaces * ICMP Ping fails if an octet == 255 * graph_image.php causes PHP Notice errors on view * poller_item cache is not updated when "Data Input Method" is changed * A host with ICMP ping selected as method does not properly perform ping * Reapply Suggested Names fails on Script Queries * When Creating Data Query Graphs, Performing Search will Cause List to Disappear * Stack overflow if database is not correctly initialized * Division by zero when rrd_step < poller_interval * add_graphs.php does not add the graph template to the host * When creating graphs the entire poller cache is recreated for a host * Use Data Query variables as HRULE input for graph templates * Graph Export with 1 minute poller re-exports graphs 5 times * Invalid PHP_SELF Path * If a user's password contains a single quote the login fails * VRULE printed as HRULE on graph_templates.php graph template item list * Deleting 1000 graphs along with their Data Sources crashes the Server * Remove include/html files to mitigate XSS issues * IE generates errors on both the host and graph settings pages * Host save failed in FireFox 3 for non-SNMP V3 hosts, complaining about "password mismatch" * Initialization of snmp_auth when using SNMP=NONE * Speed up add_graphs.php in most cases (still slow only if --input-fields is used) * If the poller_output table is not empty, don't flood the log * Remove warnings appear in the httpd log relative to reset attempts on settings array * Add API Automation tool quietMode to additional functions * When Cacti is launched from within an iframe, cookies are dropped from IE6 * Database upgrade and cacti.sql differ * drop color setting background on FF does not work * cli/add_tree.php requires as least a host-id for --list-graphs * add_tree.php did not allow nodes with propagating sort options * When adding a tree node via the api numeric and natural were reversed * When saving a data query based data templates, their data sources would become corrupt * If your system contains INNODB tables, the Technical Support page would hang * The default user tree link icon would not be properly highlighted when opening graphs * Severe performance problems when adding data query based graphs. * Default refresh on Cacti Log was too quick * Some users don't like the idea of automatic page refreshes * Allow more rows to be visible in Cacti pages * Ping and SNMP should test both conditions * When step is less than poller interval, item will stop polling for long period of time * When using Web Basic authentication, user is directed to default page and not REQUEST URI * Custom for each device * Add php-xml to requirements, verify required PHP extensions * Have "Previous" and "Next" disappear when not in use (only for graph display) * Mirror Graph Rename based on template function to work with Data Sources * CLI-Script to associate a graph template to a host * WEB UI now accepts max_oids on SNMP bulkwalks * allow filter on "host description" * Introducing |data_source_title| variable * Add graph title to graphs page * Reapply Suggested Names for Data Sources and cli/poller_data_sources_reapply_names.php * Add filtering and pagination to cdef management; add "Duplicate CDEF" * Disable snmpbulkwalk if max OIDS is less than 2 * Move $export_types variable definition from templates_export.php to include/global_form.php * Move $export_types variable definition from templates_export.php to include/global_form.php * add_data_query.php * Dispatching job in poller can lead to unbalanced threads * New pseudo CDEF variables for "Count All|Similar Data Sources (NO)?DUPS" * Add "Graph Properties" wrench to tree+preview mode * List all graph template associated with a host template * Add Blank Line as possible graph item * Paginate Treeview Dual Pane * Allow user to specify maximum graphs per page from Treeview Dual Pane * Allow Treeview Dual Pane to be filtered for graph titles * Allow the user to add or remove graph text from page for searching with the browser * Add links to Graph Management and Data Sources to Device Edit Screen * Add links to Graph Template and Host Edit to Graph Edit Screen * Add links to Data Template and Host Edit to Data Source Edit Screen * Support using the cacti database api with more than one connection * Add some more debug lines to Data Query debugging (Verbose Query) * Fix compatibility issues for RRDTool 1.3 * Make the tabs section work a little better with existing plugins * Add additional options to speed data query graph automation process * Add additional indexes to speed data query graph creation * Allow the cli reindexing of hosts to be limited to a single query * New cli command host_update_template to allow re-templating of hosts using an updated template * When reindexing hosts, allow a queryid to be specified * Add command line Database upgrade script * Add api call to associate graphs with their data sources * Move the notes field to bottom of page * New availability option "Ping or SNMP" * Allow for specification of a default reindex method * Show more colors on a single color's page * Exit is either a database or table does not exist * Add developer debug level to reduce SQL messages in DEBUG * Add support for group membership for LDAP authenication * Wed Feb 13 2008 Carsten Schoene <cs@linux-administrator.com> - updated to 0.8.7b * Unnecessary (and faulty) DEF generation for CF:AVERAGE * Small visual fix for Cacti in "View Cacti Log File" * Graph xport modification to increase default rows output * Poller incorrectly identifies unique hosts * CLI Scripts bring MySQL down on large installations * Filtering broken on Data Sources page * Fix looping poller recache events * ss_fping.php 100% "Pkt Loss" does not work properly * Graphs with no template and/or no host cause filtering errors on Graph Management page * View Poller Cache does not show Data Sources that have no host * Graph Generation fails if e.g. ifDescr contains some blanks * TCP/UDP ping port ignored * Downed Device Detection * update_host_status handles ping_availability incorrectly * "U" not allowed as min/max RRD value * Deleted user causes error on user log viewer * Re-assign duplicate radio button IDs * Add HTML title attributes for certain pages * ALL_DATA_SOURCES_NODUPS includes DUPs? SIMILAR_DATA_SOURCES_DUPS is available again * Cacti does not guarentee RRA consolidation functions exist in RRA's * Alert on changing logarithmic scaling removed * add_hosts.php did not accept privacy protocol * Fix several security vulnerabilities * show basic RRDtool graph options on Graph Template edit * Add additional logging to Graph Xport * Add rows dropdown to devices, graphs and data sources * Add device_id and event count to devices * Add ids to devices, graphs and data sources pages * Add database repair utility * Tue Nov 20 2007 - prusnak@suse.cz - updated to 0.8.7a * "Use Per-Data Source Value (Ignore this Value)" runs only when when checking "Allow Empty Input" * Add --autoscale-min (rrdtool 1.2.x only) and --autoscale-max (using upper AND lower limit) * Allow for --logarithmic scaling without autoscaling * Data sources in RRAs have random order, messing up predefined CDEFs * Graph Templates drop down populates with duplicates * Upgrade from 0.8.6j to 0.8.7 defaults to Authentication Method NONE * Graph template - GRINT creates CF function DEF * Invalid date format - "half hour" not the GNU Date format * SQL error when using 'Auth Method' None when no 'guest' user exists * Graph Filter dropdowns do not respect user graph permissions * Potential SQL injection vulnerability * RRDtool 1.2.15 complain for garbage characters when rrdtool_function_xport is used * cmd.php: potential call to invalid "availability_method" key on wrong hash * Log file viewer inefficient filtering uses excess memory * doc change for using COUNTERs as integers only * Fixed extra spaces in GPRINT. Better Alignment for Autopadding * doc change for patching cacti when running SELinux * Cron interval detection causes multiple pollers to run * Max OIDS is not saved in device view * Undefined variable: rra in graph.php on line 241 * Dates are not stored in host table using correct format * Graph Export Generates SQL Errors * Usernames with spaces and dashes are not able to save * Allow for --units=si on logarithmic scaled graphs (rrdtool-1.2.x only). * add opacity/alpha channel to graph items (rrdtool-1.2.x only). * Move to Top for List and Tree View. Omit boring scrolling * add availability pings to host interface * Tue Oct 30 2007 - prusnak@suse.cz - update to 0.8.7 * changes are too numerous to list * see CHANGELOG - dropped obsolete patches: * graph-image.patch (included in update) * Wed Sep 19 2007 - prusnak@suse.cz - fix CVE-2007-3112 and CVE-2007-3113 (graph-image.patch) [#326228] * Mon Jun 25 2007 - dmueller@suse.de - fix last checkin * Thu Jun 21 2007 - dmueller@suse.de - update buildrequires * Thu Feb 08 2007 - prusnak@suse.cz - updated to 0.8.6j: * fixed CVE-2006-6799 * fixed hostname sorting on the devices page * fixed poller.php does not giving any output with MySQL disabled * added bottom navigation bar to graph viewing * added "collapsible" branches to the graph tree editor * added natural sort to graph items in the tree - dropped obsoleted patches: * cacti-0.8.6h-CVE-2006-6799.patch (included in update) - fixed spec file for #norootforbuild * Tue Jan 09 2007 - prusnak@suse.cz - fixed CVE-2006-6799 [#231082] * Fri Mar 17 2006 - stark@suse.de - fix path settings * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Wed Jan 18 2006 - mrueckert@suse.de - dont require php4 directly use the php abstraction * Fri Jan 06 2006 - stark@suse.de - update to 0.8.6h - fixed logrotate setting * Tue Jan 03 2006 - stark@suse.de - update to 0.8.6g * Tue Oct 25 2005 - stark@suse.de - added php4-session to required packages (#130282) * Sat Jul 02 2005 - stark@suse.de - update to 0.8.6f * Sat Jun 18 2005 - stark@suse.de - update to 0.8.6e final * Thu Jun 16 2005 - stark@suse.de - update to 0.8.6e * Fri Jan 21 2005 - stark@suse.de - update to 0.8.6c * Fri Nov 19 2004 - stark@suse.de - update to 0.8.6b - added logrotate config * Mon Sep 20 2004 - stark@suse.de - fix sql injection bug (#43908) * Mon Aug 30 2004 - ro@suse.de - remove apache1 traces * Wed Apr 28 2004 - stark@suse.de - update to 0.8.5a * Mon Feb 16 2004 - stark@suse.de - update to 0.8.5 * Mon Dec 29 2003 - stark@suse.de - initial SUSE package