· KLDP.org · KLDP.net · KLDP Wiki · KLDP BBS ·
cactiÀÇ ¼³Ä¡

Cacti ¼³Ä¡

¹æâÇö (winchild@sds.co.kr) / (ÁÖ)»ïÁ¤µ¥ÀÌÅͼ­ºñ½º ¿¬±¸¼Ò

ÃÖÁ¾°»½ÅÀÏ: 2006³â10¿ù31ÀÏ 9½Ã26ºÐ

¼Ò°³

cacti ´Â MRTG ¸¦ ´ëüÇÏ´Â º»°ÝÀûÀÎ ½Ã½ºÅÛ»óŸ¦ ¸ð´ÏÅ͸µ ÇÏ´Â ÇÁ·Î±×·¥ÀÌ´Ù. cacti ´Â SNMP ·Î ¿äûÀ» º¸³»°í, ±× °á°ú¸¦ XML ±â¹ÝÀÇ ½ºÅ©¸³Æ®·Î ÆĽÌÇÏ¿©, ±× °á°ú¸¦ rrdtool¸¦ ÀÌ¿ëÇÏ¿© Àü¿ëÀÇ µ¥ÀÌÅͺ£À̽º·Î ÀúÀåÇÏ°í, »ç¿ëÀÚÀÇ ¸ñÀû¿¡ ¸Â´Â ´Ù¾çÇÑ ±×·¡ÇÁ¸¦ Ãâ·ÂÇÑ´Ù.

ÇÊ¿äÇÑ°Í

catci ¼³Ä¡


# tar xvzf /home/archives/cacti-0.8.6h.tar.gz

cacti µ¥ÀÌÅÍ º£À̽º »ý¼º
# mysqladmin create cacti

µ¥ÀÌÅͺ£À̽º¿¡ ÇÊ¿äÇÑ Å×ÀÌºí ¹× µ¥ÀÌÅÍ »ý¼º
# cd /home/cacti-0.8.6h
# mysql cacti < cacti.sql

cacti µ¥ÀÌÅͺ£À̽º Á¢±Ù±ÇÇÑ ¼³Á¤.
# mysql mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4 to server version: 5.0.16-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY '******';
Query OK, 0 rows affected (0.00 sec)

mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)

mysql>

cacti À¯Àú »ý¼º
# /usr/sbin/useradd -c "Cacti" cacti

  1. Edit include/config.php and specify the MySQL user, password and
    database for your Cacti configuration.
 $database_default = "cacti";
 $database_hostname = "localhost";
 $database_username = "cacti";
 $database_password = "*****";

rra, log µð·ºÅ丮 WEB ¿¡¼­ ÀÛ¼ºÇϵµ·Ï ±ÇÇÑ ¼³Á¤
# chomod 777 rra log

¾ÆÆÄÄ¡ÀÇ °æ·Î¸¦ cacti ¿¡ ¿¬°áµÇµµ·Ï ¼öÁ¤. °¡»óÈ£½ºÆ®¸¦ ¼³Á¤ÇÒ °æ¿ì¿¡´Â ´Ù¸¦ ¼ö ÀÖÀ½.
# cd /usr/local/apache2
# mv htdocs htdocs.orig
# ln -s /home/cacti-0.8.6h htdocs

Å©·ÐÅ×ÀÌºí¿¡ poller °¡ ±¸µ¿µÇµµ·Ï ¼öÁ¤. poller.php ÀÇ °æ·Î´Â ¼³Ä¡°æ·Î¿¡ ÁØÇÑ´Ù. 5ºÐ¸¶´Ù ½ÇÇàÇÑ´Ù. È®½ÇÈ÷ Çϱâ À§ÇÏ¿© php ÀÎÅÍÇÁ¸®ÅÍ °æ·Î¸¦ full °æ·Î¸¦ ³Ö´Â´Ù.
 */5 * * * * cacti /usr/local/bin/php /home/cacti-0.8.6h/poller.php > /dev/null 2>&1

rrdtool ÀÇ ¹öÀüÀÌ 1.1 °ú 1.2 ¹öÀüÀÇ ¼³Á¤ÀÌ ´Ù¸£´Ù. Setting ¿¡¼­ rrdtool ÀÇ ¹öÀüÀ» È®ÀÎÈÄ¿¡ Á¤È®ÇÏ°Ô ¼³Á¤ÇØ ÁÖ¾î¾ß ÇÑ´Ù. Á¤È®ÇÏ°Ô ¸ÂÃß¾î ÁÖÁö ¾ÊÀ¸¸é ±×·¡ÇÁ°¡ Á¦´ë·Î ±×·ÁÁöÁö ¾Ê´Â´Ù.

NET-SNMP ¼³Ä¡

net-snmp °¡ ¾øÀ» °æ¿ì ¼³Ä¡

# tar xzf ../archives/net-snmp-5.1.4.pre1.tar.gz
# cd net-snmp-5.1.4.pre1
# ./configure
contact: <ÀÚ½ÅÀÇ email ÁÖ¼Ò>
system: <½Ã½ºÅÛÀÇ ¸íĪ>
# make
# make install

¼³Á¤ ¹× ½ÇÇà

http://<URL ÁÖ¼Ò>/

·Î±×ÀÎ ÆäÀÌÁö

µðÆúÆ® ¾ÆÀ̵ð "admin" ºñ¹Ð¹øÈ£ "admin"

ºñ¹Ð¹øÈ£¸¦ º¯°æÇÑ´Ù. ³ª¿À´Â ¸Þ½ÃÁö¸¦ Àо¸é¼­, ÀûÀýÇÏ°Ô ´ëóÇÏ¸é µÈ´Ù. ƯÈ÷ ÇÊ¿äÇÑ À¯Æ¿¸®Æ¼ÀÇ °æ·Î¿¡ À¯ÀÇÇÑ´Ù.


À§Å°ÆäÀÌÁöÀÇ ÆäÀÌÁöÀ̸§ÀÌ À§Å°À§Å° ±ÔÄ¢¿¡ ¸ÂÁö ¾Ê´Â °Í °°½À´Ï´Ù. ¹Ù²Ü À̸§À» ´Ù½Ã °ñ¶óº¸½Ã±æ ¹Ù¶ø´Ï´Ù. ¶Ç, À§Å°È¨ÆäÀÌÁö¸¦ ¸¸µé °ÍÀ» Àû±Ø ±ÇÀåÇØ µå¸®¸ç, Çʸí ÆäÀÌÁö¸¦ ²À Àо½Ã±æ ¹Ù¶ø´Ï´Ù. --WkPark

ID
Password
Join
You are secretive in your dealings but never to the extent of trickery.


sponsored by andamiro
sponsored by cdnetworks
sponsored by HP

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2006-10-31 09:31:17
Processing time 0.0051 sec