Cacti

From My Notepad
Jump to: navigation, search

Installing Cacti and Smokeping on Ubuntu

apt-get install cacti cacti-spine smokeping

One minute polling

http://dikehtonon.blogspot.com/2011/11/cacti-1-minute-polling-using-spine.html

Installing from Source

Install required software to compile spine:

apt install build-essentials linux-tools-common dos2unix automake autoconf libtool libssl-dev libmysqlclient-dev libsnmp-dev help2man

Output of spine ./bootstrap:

INFO: Spine bootstrap process completed

  These instructions assume the default install location for spine
  of /usr/local/spine.  If you choose to use another prefix, make
  sure you update the commands as required for that new path.

  To compile and install Spine using MySQL versions 5.5 or higher
  please do the following:

  ./configure
  make
  make install
  chown root:root /usr/local/spine/bin/spine
  chmod +s /usr/local/spine/bin/spine

  To compile and install Spine using MySQL versions previous to 5.5
  please do the following:

  ./configure --with-reentrant
  make
  make install
  chown root:root /usr/local/spine/bin/spine
  chmod +s /usr/local/spine/bin/spine

MySQL TimeZone Support

mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql