File: INSTALL

package info (click to toggle)
cacti-spine 0.8.7e-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,900 kB
  • ctags: 534
  • sloc: ansic: 4,564; sh: 882; makefile: 70
file content (61 lines) | stat: -rw-r--r-- 2,760 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
------------------------------------------
spine: a backend data gatherer for cacti
------------------------------------------
REQUIREMENTS
 
- net-snmp development libraries
- mysql development libraries
- openssl development libraries
 

NOTES

- to minimize the impact of MIB files for net-snmp, utilize the
  --disable-mib-loading configure option in net-snmp (vers 5.1 and above).
 
- Spine requires -lmysqlclient_r to compile. Some early distributions
  of MySQL did not include those libraries.  If that is the case, you
  will be required to compile and build against MySQL with thread
  safety enabled.  It is suggested you simply use a modern distro of Linux.
  
- Be sure you have a good development environment including autoconf,
  automake and libtool to compile.
 
- There are a number of configure options.  To view them, run ./configure --help
  there are a few specific to Spine.  They are as follows:

  --enable-popen                    - By default, spine uses nitfy_popen.  The problem
                                      with popen is that if a script times out, there is
                                      not easy way to cleanup.
  --enable-threadsafe-gethostbyname - If your OS has a native threadsafe version of
                                      gethostbyname, enable use this option.
  --enable-solaris-priv             - Enable support for the Solaris process privilege 
                                      model (default: disabled)                                      
  --with-max-mysql-buffer=65536     - MySQL can handle very large insert buffers.
                                      Changing this size can alter spine performance.
                                      Make this value at least four times as large
                                      as the results-buffer.
  --with-results-buffer=1024        - Some scripts can have very large results that
                                      need to be returned to cacti's poller_output
                                      table.  You can control the size of this buffer
                                      using this option.
  --with-max-scripts=20             - Each spine process have launch several scripts.
                                      If your scripts have large amounts of "wait" time
                                      increasing this value may improve performance.  Keep
                                      in mind that this will increase server load.

- If ./configure fails with the error 'libtool.m4 and ltmain.sh have 
  a version mismatch!', run the following:
 
  ./bootstrap 

- Make sure to rename /etc/spine.conf.dist to spine.conf and make changes to match
  your database


INSTALL

  ./configure
  make
  make install