[103548] trunk/dports/net/cacti/Portfile

markd at macports.org markd at macports.org
Thu Feb 28 10:39:15 PST 2013


Revision: 103548
          https://trac.macports.org/changeset/103548
Author:   markd at macports.org
Date:     2013-02-28 10:39:15 -0800 (Thu, 28 Feb 2013)
Log Message:
-----------
Changes to notes section only

Modified Paths:
--------------
    trunk/dports/net/cacti/Portfile

Modified: trunk/dports/net/cacti/Portfile
===================================================================
--- trunk/dports/net/cacti/Portfile	2013-02-28 17:06:08 UTC (rev 103547)
+++ trunk/dports/net/cacti/Portfile	2013-02-28 18:39:15 UTC (rev 103548)
@@ -41,14 +41,13 @@
 notes "
 **** To complete the Cacti installation ****
 
-To complete the Cacti installation follow the steps below.  Read the documentation\
-at http://www.cacti.net/documentation.php for operational instructions.
+The full documentation may be found at http://www.cacti.net/documentation.php.
 
 
-1) Install PHP and MySQL 5 (not covered).  These instructions assume MySQL 5 was\
+1) Install PHP and MySQL 5 (not covered).  These instructions assume MySQL 5 was
    installed from MacPorts.
 
-   Check to make sure the PHP variable \"mysql.default_socket\" is set to path\
+   Check to make sure the PHP variable \"mysql.default_socket\" is set to path
    ${prefix}/var/run/mysql5/mysqld.sock by viewing the output of this terminal command:
 	php -i
 
@@ -66,7 +65,7 @@
   Start MySQL:
         sudo ${prefix}/share/mysql5/mysql/mysql.server start
 
-   Set MySQL to start at system boot (optional)
+   Set MySQL to start at system boot
 	sudo launchctl load -w /Library/LaunchDaemons/org.macports.mysql5.plist
 
    Set a root MySQL password.
@@ -75,7 +74,7 @@
    Create a cacti MySQL user and cacti database.
 	mysql5 -u root -p (login with root password set above when prompted)
         mysql> GRANT ALL ON cacti.* to cacti at localhost;
-        mysql> SET PASSWORD FOR cacti at localhost = PASSWORD('<cactidb-pwd>');
+        mysql> SET PASSWORD FOR cacti at localhost = PASSWORD('<my-cactidb-pwd>');
         mysql> flush privileges;
 	mysql> create database cacti;
 	mysql> exit;
@@ -96,7 +95,7 @@
 	\$database_default = \"cacti\";
 	\$database_hostname = \"localhost\";
 	\$database_username = \"cacti\";
-	\$database_password = \"<my-cacti-password>\";
+	\$database_password = \"<my-cactidb-pwd>\";
 
 
 5) Place a symlink for Cacti inside your Apache document root.
@@ -118,10 +117,10 @@
 	${cactidir}/plugins/weathermap/
 
    b) In the Cacti web GUI, go to Configuration -> Plugin Management and you should see your plugin(s) listed.
-      Under 'Actions', click the the install button to install each plugin.
+      Under 'Actions', click the the install icon to install each plugin.
 
    c) Ensure that your Cacti user has permissions to manage the plugins
-	Console -> User Management  (select a Cacti user and allow Configure/Manage or View options as desired)
+      User Management - select a Cacti user and set Configure/Manage or View options as desired
 
 
 8) Go to http://localhost/cacti/install/index.php.
@@ -129,10 +128,24 @@
 	the paths for SNMP / RRDtool / PHP (see below), and click 'Finish'.
 	You may now use Cacti at http://localhost/cacti/index.php.
 
-Paths:
+Verify paths:
 	snmpwalk binary path: /usr/bin/snmpwalk
 	snmpget binary path: /usr/bin/snmpget
 
 	RRDtool binary path: ${prefix}/bin/rrdtool
 	PHP binary path: ${prefix}/bin/php (if not using MacPorts PHP, use appropriate path)
+
+
+9) Create interface traffic graphs
+   a) Devices -> Add
+        -Fill out form for the switch or router
+        -Make sure to include the SNMP community string of the device
+        -Click the 'Create' button to add device
+
+   b) In the devices pane, click on the newly added device to open the edit pane
+        -Click 'Create Graphs for this Host' link
+        -An SNMP query is made and interfaces listed; check the interface(s) to be graphed
+        -Select a graph type from the menu in the bottom right and click the 'Create' button beside it
+
+   c) Place some or all a device's graphs on a graph tree from the Devices or Graph Management section
 "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130228/5126d57f/attachment.html>


More information about the macports-changes mailing list