cacti Poller 설정으로 성능 향상
1. spine 다운로드
http://www.cacti.net/downloads/spine/
[root@cacti01 src]# wget http://www.cacti.net/downloads/spine/cacti-spine-0.8.8a.tar.gz
2. 설치 및 설정
[root@cacti01 src]# tar xvfz cacti-spine-0.8.8a.tar.gz
[root@cacti01 src]# cd cacti-spine-0.8.8a
[root@cacti01 cacti-spine-0.8.8a]# ./configure
[root@cacti01 cacti-spine-0.8.8a]# make && make install
[root@cacti01 cacti-spine-0.8.8a]# cp /usr/local/spine/etc/spine.conf.dist /usr/local/spine/etc/spine.conf
#config.php 파일에 있는 정보와 동일하기 입력
[root@cacti01 cacti-spine-0.8.8a]# vi /usr/local/spine/etc/spine.conf
...
DB_Host localhost
DB_Database cacti
DB_User cactiuser
DB_Pass cactiuser
DB_Port 3306
DB_PreG 0
3. 웹 설정
웹페이지 Console -> Configuration -> Settings -> Paths 에서 spine 경로 설정
/usr/local/spine/bin/spine
3.1 Paths 설정
3.2 Poller 설정
*/5 * * * * /usr/bin/php /home/cacti.sangchul.kr/public_html/cacti/poller.php
'리눅스' 카테고리의 다른 글
cut 명령어 (1) | 2013.07.19 |
---|---|
[cacti] cacti plugin monitor 설치 (0) | 2013.07.18 |
NET-SNMP Cannot find SNMP headers 오류 (0) | 2013.07.18 |
MySQL Cannot find MySQL headers 오류 (0) | 2013.07.18 |
[cacti] cacti plugin realtime 설치 (0) | 2013.07.16 |