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 11)
Currently displaying revision
11
,
show latest
# # spec file for package cacti (Version 0.8.7c) # # 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.7c 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 %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 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