Cacti (home)ForumsDocumentation

Differences

This shows you the differences between two versions of the page.

manual:100:1_installation.2_install_windows.8_install_spine [2015/01/15 14:54] (current)
Line 1: Line 1:
 +==== Install Spine ====
 +As of 0.8.8b, the Cacti Group no longer provides compiled Spine binaries.
 +
 +=== Install Cygwin ===
 +  - Download either the x86 or x64 setup from http://www.cygwin.com/
 +  - Run the Cygwin setup
 +    - Select //Install from Internet//
 +    - Select Root Directory:  //C:\cygwin//
 +    - Select a local package directory.  I'd suggest a temporary folder like C:\temp\cygwin\
 +    - Specify your Internet connection
 +    - Select a mirror
 +    - On the Package Selection screen, enable the following (TIP: use the search!):
 +      - autoconf
 +      - automake
 +      - gcc-core
 +      - gzip
 +      - libtool
 +      - make
 +      - net-snmp-devel
 +      - m4
 +      - libmysqlclient-devel
 +      - libmysqlclient
 +      - openssl-devel
 +      - dos2unix
 +      - wget
 +    - Wait for the installation to complete.   Move the cygwin setup to the C:\cygwin\ folder for future usage. 
 +
 +=== Download Source Code ===
 +  - Download from [[http://www.cacti.net/spine_download.php|Cacti.net]]
 +  - Extract the Spine zip file contents into C:\Cygwin\usr\src\<spineversion>.
 +
 +=== Compile ===
 +  - Open Cygwin shell prompt (C:\Cygwin\cygwin.bat) and brace yourself to use unix commands on windows.
 +  - Change directory to the spine source code: ''cd /usr/src/cacti-spine-0.8.8c''
 +  - Run bootstrap to prepare Spine for compilation: ''./bootstrap''
 +  - Follow the instruction which bootstrap will output if all is good to go.
 +  - Wait for the compile to complete.
 +
 +=== Configure ===
 +  - Make a copy of C:\Cygwin\usr\local\spine\etc\spine.conf.dist, rename it to **spine.conf**, and move to //C:\Cygwin\usr\local\spine\bin\//.
 +  - Edit spine.conf:
 +<code>
 +DB_Host       127.0.0.1 or hostname (not localhost)
 +DB_Database   cacti
 +DB_User       cactiuser
 +DB_Password   cacti
 +DB_Port       3306
 +</code>
 +  - Open a Windows Command Prompt
 +  - Ensure that Spine runs well by executing: ''C:\Cygwin\usr\local\spine\bin\spine.exe -R -S -V 3''
 +  - In Cacti Settings -> Poller, update the path to Spine and switch the Poller Type to Spine.
 +  - If all is good Spine will be run from the poller in place of cmd.php.
  





Personal Tools