分类: 系统运维
2011-11-11 10:50:52
不得不推荐的 。本来要自己安装CACTI结果整了好几次最后都算了 配置太麻烦了 还要装这装那的,后来就搜索出CACTI_EZ结果中文结果出来的都是同一个IP的下载地址的VM ISO,没有一个能下载的 后来索性去谷歌换了一种方式 一下子搜索出来一堆~~!
Ernie's VMware Cacti built on FreeBSD UNIX
几个截图~~!
配置说明:
built on UNIX
Q. What is this?
A. This is and including built on inside to .
Ultimately this is a .
(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
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
Choose the Setup menu option:
1
Answer some configuration questions:
Type:
Y
Or type N for No to restart the configuration questions
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 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!