Template Version: @(#)sac_nextcase 1.68 02/23/09 SMI This information is Copyright 2009 Sun Microsystems 1. Introduction 1.1. Project/Component Working Name: Cacti 0.8.x 1.2. Name of Document Author/Supplier: Author: Rajiv Rajanna 1.3 Date of This Document: 24 November, 2009 4. Technical Description 1. Introduction 1.1. Project/Component Working Name: Port cacti 0.8.x to OpenSolaris
1.2. Name of Document Author/Supplier: Author: Rajiv Rajanna 1.3. Date of This Document: 23 November 2009 2. Project Summary 2.1 Project Description This project will port cacti 0.8.x(0.8.7e) to OpenSolaris. Cacti will be installed as SUNWcacti which will be part of SFW consolidation. 4. Technical Description: Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is also SNMP support for those used to creating traffic graphs with MRTG. cacti is free software distributed under the terms of GNU GENERAL PUBLIC LICENSE Version 2, June 1991 5. Interfaces Exported interface Classification Interface type ============================= ============== ============== SUNWcacti Uncommitted Package name /usr/cacti/poller.php Committed This script runs through crontab at peroidic intervals set by the user /usr/cacti/cli/add_data_query.php Committed Command /usr/cacti/cli/add_device.php Committed Command /usr/cacti/cli/add_graphs.php Committed Command /usr/cacti/cli/add_graph_template.php Committed Command /usr/cacti/cli/add_perms.php Committed Command /usr/cacti/cli/add_tree.php Committed Command /usr/cacti/cli/copy_user.php Committed Command /usr/cacti/cli/host_update_template.php UnCommitted Command /usr/cacti/cli/import_template.php Uncommitted Command /usr/cacti/cli/poller_data_sources_reapply_names.php UnCommitted Command /usr/cacti/cli/poller_graphs_reapply_names.php Committed Command /usr/cacti/cli/poller_output_empty.php Committed Command /usr/cacti/cli/poller_reindex_hosts.php Committed Command /usr/cacti/cli/rebuild_poller_cache.php Committed Command /usr/cacti/cli/repair_database.php Uncommitted Command /usr/cacti/cli/structure_rra_paths.php Uncommitted Command /usr/cacti/cli/upgrade_database.php Uncommitted Command /usr/cacti/include/config.php Committed Contains database config params such as db type, user, password Imported interface Classification Comments ======================= ============== =================================== SUNWmysql5 Uncommitted MySQL Database Management System (usr component) SUNWmysql-base Uncommitted MySQL Database Management System (Base) SUNWphp52 Uncommitted PHP Server 5.2 SUNWphp52- mysql Uncommitted PHP 5.2 module for MySQL SUNWapch22m-php52 Uncommitted PHP Server 5.2 module for Apache Web Server V2.2 SUNWphp52-mysql Uncommitted PHP 5.2 module for MySQL SUNWapch22 Uncommitted Apache Web Server V2.2 SUNWapch22m-fcgid Uncommitted FastCGI plugin for Apache Web Server V2.2 SUNWapch22m-php52 Uncommitted PHP Server 5.2 module for Apache Web Server V2.2 SUNWapch22m-security Uncommitted Mod Security plugin for Apache Web Server V2.2 SUNWapr13 Uncommitted Apache Portable Runtime (APR) 1.3 development header files and libraries SUNWapu13 Uncommitted Apache Portable Runtime Utility (APR-util) 1.3 development header files and libraries SUNWapu13-ldap Uncommitted Apache Portable Runtime Utility (APR-util) 1.3 LDAP's stub SUNWrrdtool Uncommitted Data analysis tool generating graphical representations SUNWnet-snmp-core Uncommitted Net-SNMP Agent files and libraries SUNWnet-snmp-utils Uncommitted Net-SNMP Agent applications and utilities SUNWnet-snmp-addons Uncommitted Net-SNMP addon libraries SUNWperl584core Uncommitted Perl 5.8.4 (core) SUNWperl584usr Uncommitted Perl 5.8.4 (non-core) 6. Resources and Schedule: 6.4. Product Approval Committee requested information: 6.4.1. Consolidation or Component Name: SFW 6.5. ARC review type: Automatic 6.6. ARC Exposure: open Reference Documents =================== [1] http://cacti.net/ ================================================================ Appendix 1: cacti Directory and File Structure. /usr/cacti: about.php auth_changepassword.php auth_login.php cacti.sql cdef.php cmd.php color.php data_input.php data_queries.php data_sources.php data_templates.php gprint_presets.php graph_image.php graph.php graph_settings.php graphs_items.php graphs_new.php graphs.php graph_templates_inputs.php graph_templates_items.php graph_templates.php graph_view.php graph_xport.php host.php host_templates.php index.php LICENSE logout.php poller_commands.php poller_export.php poller.php README rra.php script_server.php script_server.pl settings.php templates_export.php templates_import.php tree.php user_admin.php utilities.php /usr/cacti/cli: add_data_query.php add_device.php add_graphs.php add_graph_template.php add_perms.php add_tree.php copy_user.php host_update_template.php .htaccess import_template.php poller_data_sources_reapply_names.php poller_graphs_reapply_names.php poller_output_empty.php poller_reindex_hosts.php rebuild_poller_cache.php repair_database.php structure_rra_paths.php upgrade_database.php /usr/cacti/docs: CHANGELOG CONTRIB README /usr/cacti/docs/html: advanced_topics.html basics.html batch_copy_users.html bsd_ports.html cacti_help.html cdefs.html check_cacti_poller.html check_data_gathering.html check_mysql_updating.html check_rrd_graph.html check_rrd_numbers.html check_rrd_owner.html check_rrd_updating.html check_zero_values.html cli_add_data_query.html cli_add_device.html cli_add_graphs.html cli_add_graph_template.html cli_add_perms.html cli_add_tree.html cli_copy_user.html cli_poller_graphs_reapply_names.html cli_poller_output_empty.html cli_poller_reindex_hosts.html copying_user.html create_new_user.html data_input_methods.html data_presentation.html data_queries.html data_storage.html debugging.html debug_miscellaneous.html debug_rpm_installation.html delete_users.html enable_disable_users.html faq.html graph_howto.html graph_overview.html graph_snmp_oid.html graph_templates.html graph_viewing.html guest_access.html host_templates.html host_variables.html how_to.html index.html installation.html install_unix.html install_windows.html LICENSE.html making_scripts_work_with_cacti.html migration_php_scripts_to_script_server.html new_graphs.html operating_principles.html php_script_server.html reference.html requirements.html rrdtool_features.html script_query_xml.html scripts.html snmp_query_xml.html template_export.html template_import.html templates.html testing_script_in_script_server.html unix_apply_patches.html unix_configure_cacti.html unix_configure_httpd.html unix_configure_mysql.html unix_configure_php.html unix_configure_spine.html upgrade.html upgrade_using_hostmib_data_queries.html user_management.html using_spine.html variables.html /usr/cacti/docs/html/images: data_source_title_example1.png data_source_title_example2.png data_source_title_template.png data_template.png export_template.png graph_template.png graph_tree.png host_template.png import_template.png new_device.png new_graphs.png principles_of_operation.png user_management_batch_copy_1.png user_management_batch_copy_2.png user_management_copy_1.png user_management_copy_2.png user_management_delete_1.png user_management_delete_2.png user_management_edit.png user_management_enable_disable_1.png user_management_enable_disable_2.png user_management_list.png user_management_new.png /usr/cacti/docs/pdf: README /usr/cacti/docs/txt: manual.txt /usr/cacti/images: arrow.gif auth_deny.gif auth_login.gif auth_logout.gif button_add.gif button_cancel2.gif button_cancel.gif button_clear.gif button_colapse_all.gif button_create.gif button_default.gif button_delete.gif button_expand_all.gif button_export.gif button_go.gif button_help.gif button_import.gif button_no.gif button_purge.gif button_refresh.gif button_save.gif button_view.gif button_yes.gif cacti_about_logo.gif cacti_backdrop2.gif cacti_backdrop.gif cacti_logo.gif calendar.gif delete_icon.gif delete_icon_large.gif favicon.ico graph_page_top.gif graph_properties.gif graph_query.png graph_zoom.gif hide.gif left_border.gif menuarrow.gif menu_line.gif move_down.gif move_left.gif move_right.gif move_up.gif reload_icon_small.gif shadow.gif shadow_gray.gif show.gif tab_cacti.gif tab_console_down.gif tab_console.gif tab_graphs_down.gif tab_graphs.gif tab_mode_list_down.gif tab_mode_list.gif tab_mode_preview_down.gif tab_mode_preview.gif tab_mode_tree_down.gif tab_mode_tree.gif tab_settings_down.gif tab_settings.gif transparent_line.gif /usr/cacti/include: auth.php bottom_footer.php config.php global_arrays.php global_constants.php global_form.php global.php global_settings.php layout.js main.css top_graph_header.php top_header.php zoom.js /usr/cacti/include/jscalendar: calendar.js calendar-setup.js /usr/cacti/include/jscalendar/lang: calendar-hu.js calendar-it.js calendar-jp.js calendar-ko.js calendar-ko-utf8.js calendar-lt.js calendar-lt-utf8.js calendar-lv.js calendar-nl.js calendar-no.js calendar-pl.js calendar-pl-utf8.js calendar-pt.js calendar-ro.js calendar-ru.js calendar-ru_win_.js calendar-si.js calendar-sk.js calendar-sp.js calendar-sv.js calendar-tr.js calendar-zh.js cn_utf8.js /usr/cacti/include/treeview: ftiens4_export.js ftiens4.js ftv2blank.gif ftv2lastnode.gif ftv2mlastnode.gif ftv2mnode.gif ftv2node.gif ftv2plastnode.gif ftv2pnode.gif ftv2vertline.gif ua.js /usr/cacti/install: 0_8_1_to_0_8_2.php 0_8_2a_to_0_8_3.php 0_8_2_to_0_8_2a.php 0_8_3_to_0_8_4.php 0_8_4_to_0_8_5.php 0_8_5a_to_0_8_6.php 0_8_6c_to_0_8_6d.php 0_8_6d_to_0_8_6e.php 0_8_6f_to_0_8_6g.php 0_8_6g_to_0_8_6h.php 0_8_6h_to_0_8_6i.php 0_8_6j_to_0_8_7.php 0_8_6_to_0_8_6a.php 0_8_7a_to_0_8_7b.php 0_8_7b_to_0_8_7c.php 0_8_7c_to_0_8_7d.php 0_8_7d_to_0_8_7e.php 0_8_7_to_0_8_7a.php 0_8_to_0_8_1.php index.php install_finish.gif install_next.gif /usr/cacti/lib: api_automation_tools.php api_data_source.php api_device.php api_graph.php api_poller.php api_tree.php auth.php cdef.php database.php data_query.php export.php functions.php graph_export.php graph_variables.php html_form.php html_form_template.php html.php html_tree.php html_utility.php html_validate.php import.php ldap.php ping.php poller.php rrd.php snmp.php sort.php template.php time.php timespan_settings.php tree.php utility.php variables.php xml.php /usr/cacti/lib/adodb: adodb-csvlib.inc.php adodb-datadict.inc.php adodb-errorhandler.inc.php adodb-error.inc.php adodb-errorpear.inc.php adodb-exceptions.inc.php adodb.inc.php adodb-iterator.inc.php adodb-lib.inc.php adodb-pear.inc.php adodb-perf.inc.php adodb-php4.inc.php adodb-time.inc.php adodb-xmlschema.inc.php license.txt toexport.inc.php tohtml.inc.php /usr/cacti/lib/adodb/datadict: datadict-access.inc.php datadict-db2.inc.php datadict-firebird.inc.php datadict-generic.inc.php datadict-ibase.inc.php datadict-informix.inc.php datadict-mssql.inc.php datadict-mysql.inc.php datadict-oci8.inc.php datadict-postgres.inc.php datadict-sapdb.inc.php datadict-sybase.inc.php /usr/cacti/lib/adodb/drivers: adodb-access.inc.php adodb-ado5.inc.php adodb-ado_access.inc.php adodb-ado.inc.php adodb-ado_mssql.inc.php adodb-borland_ibase.inc.php adodb-csv.inc.php adodb-db2.inc.php adodb-fbsql.inc.php adodb-firebird.inc.php adodb-ibase.inc.php adodb-informix72.inc.php adodb-informix.inc.php adodb-ldap.inc.php adodb-mssql.inc.php adodb-mssqlpo.inc.php adodb-mysqli.inc.php adodb-mysql.inc.php adodb-mysqlt.inc.php adodb-netezza.inc.php adodb-oci805.inc.php adodb-oci8.inc.php adodb-oci8po.inc.php adodb-odbc.inc.php adodb-odbc_mssql.inc.php adodb-odbc_oracle.inc.php adodb-odbtp.inc.php adodb-odbtp_unicode.inc.php adodb-oracle.inc.php adodb-pdo.inc.php adodb-postgres64.inc.php adodb-postgres7.inc.php adodb-postgres.inc.php adodb-proxy.inc.php adodb-sapdb.inc.php adodb-sqlanywhere.inc.php adodb-sqlite.inc.php adodb-sqlitepo.inc.php adodb-sybase.inc.php adodb-vfp.inc.php /usr/cacti/lib/adodb/lang: adodb-ar.inc.php adodb-bg.inc.php adodb-bgutf8.inc.php adodb-ca.inc.php adodb-cn.inc.php adodb-cz.inc.php adodb-de.inc.php adodb-en.inc.php adodb-es.inc.php adodb-fr.inc.php adodb-hu.inc.php adodb-it.inc.php adodb-nl.inc.php adodb-pl.inc.php adodb-pt-br.inc.php adodb-ro.inc.php adodb-ru1251.inc.php adodb-sv.inc.php /usr/cacti/log: cacti.log .htaccess .placeholder /usr/cacti/resource: /usr/cacti/resource/script_queries: host_cpu.xml host_disk.xml unix_disk.xml /usr/cacti/resource/script_server: host_cpu.xml host_disk.xml /usr/cacti/resource/snmp_queries: host_disk.xml interface.xml kbridge.xml net-snmp_disk.xml netware_cpu.xml netware_disk.xml /usr/cacti/rra: .placeholder /usr/cacti/scripts: 3com_cable_modem.pl diskfree.pl diskfree.sh linux_memory.pl loadavg_multi.pl loadavg.pl ping.pl query_host_cpu.php query_host_partitions.php query_unix_partitions.pl sql.php ss_fping.php ss_host_cpu.php ss_host_disk.php ss_sql.php unix_processes.pl unix_tcp_connections.pl unix_users.pl weatherbug.pl webhits.pl 6. Resources and Schedule 6.4. Steering Committee requested information 6.4.1. Consolidation C-team Name: SFW 6.5. ARC review type: FastTrack 6.6. ARC Exposure: open