Ernie's VMware Cacti built on FreeBSD UNIX

Q. What is this?
A. This is Cacti and Plugins including Weathermap built on FreeBSD inside VMware to Ernie's specifications.
     Ultimately this is a VM Appliance.
        (There is actually much more, none of which is my creation, this a huge collection of opensource software neatly integrated by me)

Q. Where do I get this Cacti VM?
A. Download it here at http://www.n3ncy.com/NMSWorld/UNIX/VMware/Cacti-FreeBSD-VMware-N3NCY.zip
    Login as user: root and password: rootpassword
    Type: menu and run the setup script

Q. What specifically is in this VMware image?
A. A nice collection of pre-configured open source software including:
    - FreeBSD UNIX v6.2 RELEASE built to Ernie's specifications
    - PERL v5.8.8 and many carefully selected modules
    - PHP v5.2.4 that I custom compiled from source
    - Apache v2.2.6 that I custom compiled from source
    - Net-SNMP v5.4 that I custom compiled from source
    - MySQL v5.45 that I custom compiled from source
    - RRDTool v1.23 that I custom compiled from source via FreeBSD's Ports
    - Cacti and Many Plugins:
    - Various other key ingredients compiled from source with the help of the FreeBSD Ports Collection
        - OpenSSL
        - OpenSSH
        - GD
        - NTop
        - Tripwire
    And even more!

Q. What could this be used for?
A. Here are just a few things you could use this for:
    - Rapidly deploy Cacti, FreeBSD, Apache, MySQL, Net-SNMP or any combination of these
    - Testing out Cacti and various plugins without breaking your production system
            - Test drive Cacti without building a system yourself
            - Beta test new Cacti plugins and features including SVN code

Q. How do I use this VM?
A. Install one of the free VMWare products like:
    - VMWare Free Server or VMWare Free Player
    - Download and unzip this VMWare Cacti VM built on FreeBSD
    - Open the VMDK file with either the VMWare Server or Player

Q. How do you configure this VM for use on my network?
A. Follow these simple instructions to run the "setup" script from the "menu"

    Log is as
        Username:  root
        Password: rootpassword
    Type:
        menu <PRESS ENTER>
   

    Choose the Setup menu option:
        1 <PRESS ENTER>
   

    <PRESS ENTER>
   

    Answer some configuration questions:
   

    Type:
        Y <PRESS ENTER>
    Or type N for No to restart the configuration questions
   

    <PRESS ENTER>
   

    Log is as
        Username:  root
        Password: rootpassword
    Open your web browser and connect to Cacti!
   


    Test drive Cacti or use as you see fit!

Q. How would a person test SVN code, for example Cactid using this?
A. By setting up a VM and connecting via SSH and issuing some commands like:
    # Change to a source directory
            cd /usr/src
    # Checkout (download new code)
            svn checkout svn://cvs.cacti.net/var/svnroot/cacti
    # Copy some code to a working directory and switch to that directory
            cp -R /usr/src/cacti/branches/BRANCH_0_8_6/cactid/ /usr/src/cactid/
            cd /usr/src/cactid
    # Issue some pre-compile time commands
            autoheader
            autoconf
            aclocal
            automake
    # Set any environment variables as you see fit
            LD_LIBRARY_PATH=/usr/local/lib:/opt/net-snmp/lib/:/opt/mysql/lib/mysql/
            export LD_LIBRARY_PATH
    # Configure the source code as you see fit
            ./configure --prefix=/opt/apache/htdocs/cacti --with-mysql=/opt/mysql --with-snmp=/opt/net-snmp
    # Compile the new code into a binary
            make
    # Install the binary
            make install
    # Clean up
            make clean
    # Configure any settings specific to your newly installed program
            vi /etc/cactid.conf
    # Test out your new binary!
            /opt/apache/htdocs/cacti/bin/cactid

Q. What VMware optimizations have been made?
A. This VM has the toolkit loaded and will run in either single or dual CPU mode correctly if your system supports it!
        The underlying FreeBSD Kernel has been recompiled to support SMP if you have dual CPUs.
       

 

All of the mentioned software components on this page and / or contained within this VM are copyright to their respective companies, organizations or individuals.
I take no responsibility and shall be held harmless for anything you do. Use at your own risk!