<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://wiki.ciscolinux.co.uk/index.php?action=history&amp;feed=atom&amp;title=Cacti_spine</id>
	<title>Cacti spine - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.ciscolinux.co.uk/index.php?action=history&amp;feed=atom&amp;title=Cacti_spine"/>
	<link rel="alternate" type="text/html" href="http://wiki.ciscolinux.co.uk/index.php?title=Cacti_spine&amp;action=history"/>
	<updated>2026-04-05T17:16:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>http://wiki.ciscolinux.co.uk/index.php?title=Cacti_spine&amp;diff=1497&amp;oldid=prev</id>
		<title>Pio2pio: Created page with &quot;Cactid is a poller for Cacti that primarily strives to be as fast as possible. For this reason it is written in native C, makes use of POSIX threads, and is linked directly ag...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.ciscolinux.co.uk/index.php?title=Cacti_spine&amp;diff=1497&amp;oldid=prev"/>
		<updated>2015-01-22T17:39:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Cactid is a poller for Cacti that primarily strives to be as fast as possible. For this reason it is written in native C, makes use of POSIX threads, and is linked directly ag...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Cactid is a poller for Cacti that primarily strives to be as fast as possible. For this reason it is written in native C, makes use of POSIX threads, and is linked directly against the net-snmp library for minmumal SNMP polling overhead. Cactid is a replacement for the default cmd.php poller so you must decide if using Cactid makes sense for your installation.&lt;br /&gt;
&lt;br /&gt;
= Installation =&lt;br /&gt;
&lt;br /&gt;
== Pre-requituions ==&lt;br /&gt;
Make sure that the following packages are installed before attempting to compile Spine:&lt;br /&gt;
* net-snmp utilities and development libraries&lt;br /&gt;
* mysql utilities, server and development libraries&lt;br /&gt;
* openssl development libraries&lt;br /&gt;
&lt;br /&gt;
== Compiling ==&lt;br /&gt;
 wget http://www.cacti.net/downloads/spine/cacti-spine-0.8.8c.tar.gz&lt;br /&gt;
 tar xvzf cacti-spine-*.tar.gz&lt;br /&gt;
 cd cacti-spine-*&lt;br /&gt;
 ./configure&lt;br /&gt;
&lt;br /&gt;
Error: &amp;lt;tt&amp;gt;configure: error: Cannot find MySQL headers.  Use --with-mysql= to specify non-default path.&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Solution:''' install &amp;lt;tt&amp;gt;libmysqlclient-dev&amp;lt;/tt&amp;gt; development library &lt;br /&gt;
 sudo apt-get install libmysqlclient-dev&lt;br /&gt;
&lt;br /&gt;
Error: &amp;lt;tt&amp;gt;configure: error: Cannot find SNMP headers.  Use --with-snmp= to specify non-default path.&amp;lt;/tt&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
'''Solution:''' install &amp;lt;tt&amp;gt;libperl-dev&amp;lt;/tt&amp;gt; library. At this point you need net-snmp dev (Ubuntu calls it just snmp package) package.&lt;br /&gt;
 sudo apt-get install libperl-dev&lt;br /&gt;
&lt;br /&gt;
If does not work a whole process of NET-SNMP installation is described http://www.net-snmp.org/wiki/index.php/Net-Snmp_on_Ubuntu&lt;br /&gt;
 wget http://sourceforge.net/projects/net-snmp/files/net-snmp/5.7.3/net-snmp-5.7.3.tar.gz&lt;br /&gt;
 tar -xvzf net-snmp-*.tar.gz&lt;br /&gt;
 cd net-snmp-*&lt;br /&gt;
 ./configure       #go with defaults&lt;br /&gt;
 make&lt;br /&gt;
 sudo make install      #I did not install but ./configure of cacti-spine finished, most likely because libperl-dev has been installed&lt;br /&gt;
 pwd&lt;br /&gt;
 /home/username&lt;br /&gt;
 echo export LD_LIBRARY_PATH=/usr/local/lib &amp;gt;&amp;gt; .bashrc    #For the net-snmp applications to work we need to add an export command to our &amp;quot;.bashrc&amp;quot; file&lt;br /&gt;
&lt;br /&gt;
continue installing spine ..........&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
 sudo make install&lt;br /&gt;
 cp /usr/local/spine/etc/spine.conf.dist /etc/spine.conf&lt;br /&gt;
 vi  /etc/spine.conf         #update DB connection to cacti (the values are not clear at this moment)&lt;br /&gt;
 sudo /usr/local/spine/bin/spine    #test it&lt;br /&gt;
 SPINE: Using spine config file [/etc/spine.conf]&lt;br /&gt;
 01/22/2015 05:33:03 PM - SPINE: Poller[0] FATAL: Connection Failed, Error:'1045', Message:'Access denied for user 'cactiuser'@'localhost' (using password: YES)' (Spine init)&lt;br /&gt;
&lt;br /&gt;
Spine will install to the default location /usr/local/spine. Do not forget to update the /usr/local/spine/etc/spine.conf with the correct database information. Finally update your Cacti settings Spine path to /usr/local/spine/bin/spine and switch the Poller Type to Spine.&lt;br /&gt;
&lt;br /&gt;
= References =&lt;br /&gt;
*[http://www.cacti.net/cactid_info.php Cacti Spine home page]&lt;/div&gt;</summary>
		<author><name>Pio2pio</name></author>
	</entry>
</feed>