Cacti (home)ForumsDocumentation

Differences

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

manual:087:1_installation.1_install_unix.6_install_and_configure_spine [2010/08/12 10:29]
Linegod fix DB_Pass
manual:087:1_installation.1_install_unix.6_install_and_configure_spine [2011/05/20 08:50] (current)
gandalf list required packages
Line 3: Line 3:
 Spine is a very fast poller engine, written in C. It is an optional replacement for cmd.php. If you decide to use it, you will have to install it explicitely. It does not come with cacti itself. Spine is a very fast poller engine, written in C. It is an optional replacement for cmd.php. If you decide to use it, you will have to install it explicitely. It does not come with cacti itself.
 The easiest way is to install Spine using rpm or ports. You will find packages for Spine at the main cacti site or from your distribution. The easiest way is to install Spine using rpm or ports. You will find packages for Spine at the main cacti site or from your distribution.
-To compile Spine, please download it to any location of your liking. Then, please issue from the downloaded directory following commands+To compile Spine, please download it to any location of your liking.  
 +You will require some packages, for Fedora e.g. 
 +  - net-snmp-devel 
 +  - mysql-devel 
 +  - openssl-devel 
 +and the toolchain 
 +  - dos2unix 
 +  - autoconf 
 +  - automake 
 +  - binutils 
 +  - libtool 
 +  - gcc 
 +  - cpp 
 +  - glibc-headers 
 +  - kernel-headers 
 +  - glibc-devel 
 +Don't forget to check the official patch download directory and install the patches listed there. To do so, you will require the packages 
 +  - wget 
 +  - patch 
 + 
 +To ease the pre-compilation process, a file //bootstrap// is provided. So, please issue from the downloaded directory following commands
 <code> <code>
-shell>aclocal +shell>sh bootstrap
-shell>libtoolize --force  (glibtoolize --force on Max OS) +
-shell>autoheader +
-shell>autoconf +
-shell>automake+
 shell>./configure shell>./configure
 shell>make shell>make
 shell>make install shell>make install
 </code> </code>
-"make install" has to be run as root. On latest spine versions, there's a script called "bootstrap" that performs all this stuff; again, root permissions are required for install.+"make install" has to be run as root.
 Assuming, you've managed to install Spine correctly, you will have to configure it. The configuration file may be placed in the same directory as Spine itself or at /etc/Spine.conf. Assuming, you've managed to install Spine correctly, you will have to configure it. The configuration file may be placed in the same directory as Spine itself or at /etc/Spine.conf.
 <code> <code>
Line 24: Line 40:
 </code> </code>
 All other pre 0.8.6 settings are obsolete. All other pre 0.8.6 settings are obsolete.
 +With spine087g, there's a new option to run in compat mode when using Cacti pre-087g. It's called
 +<code>
 +DB_PreG         0
 +</code>
 +Set it to //0// when using cacti087g. Else, set it to //1//.





Personal Tools