Environment:
Centos5.5 ip:192.168.100.153 Cacti
Centos5.5 ip:192.168.100.151 DNS
Demand:
Deployment Cacti+monitor+told+ntop can monitor deployment properly
Implement:
First, early deployment
1, first of all to ensure that lamp can be normal operation, we use the source to install the relevant installation specific to see our lamp deployment. Of course, you can also use the RPM or Yum installation ~
Ensure lamp is installed properly or yum install yum install-y php php-mysql php-snmp mysql mysql-server net-snmp net-snmp-libs net-snmp-utils php-pdo pe Rl-dbd-mysql Red regardless of our source code installation lamp is RPM or yum need to install;
2, to ensure that DNS can resolve our cacti server. Add a record;
Ii. deployment of cacti;
1, the installation of SNMP, we use Yum installation, relatively dependent on the package more than we directly yum to install it; clients also need to install NET-SNMP net-snmp-libs
Yum–y Install NET-SNMP net-snmp-libs net-snmp-utils PHP-SNMP
2. After installation, we edit the SNMP profile and restart the service.
Vim/etc/snmp/snmp.conf Modify three lines
Com2sec Notconfiguser 192.168.100.153 Public to modify the IP address of the cost machine
Access Notconfiggroup "" Any noauth exact none none modified to all
View all included 1 80 remove the front "#" number
Service SNMPD Restart
3. Compile and install rrdtool files
Extract Tar zxf rrdtool-1.2.30.tar.gz
Enter RRDtool
./configure does not need to be installed with the installation directory by default
Make && make install edit complete
If compilation fails
[Root@localhost cacti+ntop+awstats]# tar zxvf cgilib-0.5.tar.gz
[Root@localhost cgilib-0.5]# make
[Root@localhost cgilib-0.5]# CP Libcgi.a/usr/local/lib
[Root@localhost cgilib-0.5]# CP cgi.h/usr/include/
[root@localhost cacti+ntop+awstats]# yum-y Install Libart_lgpl-devel pango-devel (if not available)