latest version: 0.8.7b
 
 Cacti (home)ForumsRepositoryDocumentation

Cacti: The complete RRDTool-based graphing solution.
 
Latest Files
cacti-0.8.7b.tar.gz...
cacti-0.8.7b.zip...

Information
What is Cacti?
Features
Changelog
Screen Shots
Sites that Use Cacti

Downloads
Download Cacti
Official Patches
Additional Scripts

Spine (Cactid)
Information
Changelog
Download
Official Patches
Installation

Development
Road Map
SourceForge
SVN Repository
Browse SVN
Report a Bug

Support
Documentation
Forums
Mailing Lists
FAQ

Donate
Support Cacti
Contributers

Compiling Cactid for Windows under Cygwin

In order to compile Cactid for Windows, there are several pre-requisites. Once you have the prerequisites installed, it is quite simple to create a Cactid binary.

Prerequisites

  • Cygwin
  • Net-SNMP
  • MySQL Client Libraries

This version of Cactid is tested under Cygwin. Other ANSI C/POSIX emulators such as SFU from Microsoft have not been tested in this release. If you plan on using Microsofts SFU, please provide build details.

Installing Cygwin

The first requirement is to have Cygwin installed. Cygwin can be download from the following Web site:

http://www.cygwin.com

You will find a a simple “Setup” program. Simply follow the instructions in the setup program to complete the install. If space is not a concern, I suggest you install the entire suite of tools.

Installing Net-SNMP

Net-SNMP is quite a safe install as well. Once you have Cygwin installed, you simply need to download the Net-SNMP source and execute a few commands from a bash shell and you will have finished.

Net-SNMP can be downloaded by following the link below:

http://www.net-snmp.org

You should download to a directory such as c:\cygwin\src\net-snmp-5.x.x. Once downloaded to that directory, open a bash shell and follow the steps below:

cd /src/net-snmp-5.x.x
./configure
make
make install

If you haven’t done so already, you need to specify the following system environment variables:

MIBS=ALL
MIBSDIR=C:/PHP/MIBS

Installing MySQL Client Libraries

Once you have successfully made and installed Net-SNMP, you will have to install the MySQL client libraries. The main difference between the entire MySQL database server build and the Client Libraries, is command line settings. When you download MySQL source, you get both the Server and the Client Libraries.

To obtain MySQL Source Code, follow the link below:

http://www.mysql.com

Once there, you will follow the link to the “Developer Zone” and from there, you will goto downloads. Note: Please insure that you do NOT download the Windows specific source. You should download and expand to a directory such as c:\cygwin\src\mysql-4.0.20d. Once extracted to that directory, open a bash shell and follow the instructions below:

cd /src/mysql-4.0.20d
./configure –-without-server
make
make install

Compiling Cactid

Finally, you have to make and install Cactid. To do so, you must first download Cactid source code to a directory such as c:\cygwin\src\cactid. Once you have done that, simply follow the instructions below from a bash shell:

cd /src/cactid
./configure
make

Once you have made the code, simply copy it to the c:\cactid directory, modify your cactid.conf directory and your are ready to go.

Testing Cactid

To test the software, first, disable your poller from the User Interface. Then, turn logging to something other than None or Low, say Medium, High, or even Debug. Then, open a DOS shell and change directories to c:\cactid and run the code.

You should find that data is being returned and the code working fine. At this time, you will be ready to enable you poller and select cactid as your poller moving forward.

 
 
 
RRDTool PHP jEdit

Copyright (C) 2004-2007 The Cacti Group. Please ask before taking.