ผู้เขียน หัวข้อ: CACTI Traffic Grapher ( MRTG )  (อ่าน 16726 ครั้ง)

0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้

doramon

  • บุคคลทั่วไป
CACTI Traffic Grapher ( MRTG )
« เมื่อ: ธันวาคม 14, 2007, 17:05:17 PM »
0
โปรแกรม CACTI Traffic Grapher คืออะไร
----------------------------------------------------------------
CACTI Traffic Grapher หรือเรียกกันสั้นๆว่า “CACTI” เป็น Open Source Software ซึ่งทำหน้าที่ในการแสดงปริมาณข้อมูลทั้งขาเข้า/ออก ในเครือข่าย โดยจะแสดงผลออกมาในรูปแบบของกราฟ สามารถเข้าใจและเปรียบเทียบระดับการใช้งานได้ง่ายขึ้น อีกทั้งยังมีประสิทธิภาพเพิ่มขึ้นจาก กราฟในรูปแบบเดิมซึ่งใช้ โปรแกรม MRTG ด้วยความละเอียดของมุมมองด้านต่างๆที่มากขึ้น


ความแตกต่างระหว่าง MRTG กับ CACTI
---------------------------------------------------------------
โดยหลักการทำงานทั่วไป ทั้ง MRTG และ CACTI สามารถแสดงผลกราฟได้เหมือนกัน แต่ CACTI ใช้ RRDTool เป็นตัวทำงาน จึงสามารถเก็บข้อมูลให้อยู่ในรูปแบบ Database จึงทำให้สามารถย้อนกลับไปดูกราฟในวันและเวลาที่ต้องการ อีกทั้งยังสามารถ Zoom กราฟที่แสดงเพื่อรายละเอียดที่มากขึ้น รวมถึงรูปแบบการแสดงผลที่สวยงาม และมีประสิทธิภาพมากกว่า ซึ่งทั้งหมดนี้สามารถทำให้เข้าใจและนำข้อมูลสถิติต่างๆมาใช้ได้ง่ายขึ้น

สามารถไปเอาได้ที่ www.cacti.net หรือhttp://ftp.buu.ac.th/pub/opensource/cacti-install/

Cacti Installation

Dependencies
Cacti requires:

rrdtool:
http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/rrdtool-1.0.35.tar.gz

net-snmp (for SNMP support):
http://sourceforge.net/project/showfiles.php?group_id=12694ucd-snmp-4.2.3.tar.gz

PHP 4 or newer.
MySQL 3.23 or newer.

Installation Instructions

Extract the distribution tarball.

shell> tar xzvf cacti-version.tar.gz



Create the MySQL database:

shell> mysqladmin create cacti



Import the default cacti database:

shell> mysql cacti < cacti.sql



Optional: Create a MySQL username and password for cacti.

shell> mysql --user=root mysql
mysql> GRANT ALL ON cacti.* TO cactiuser@localhostIDENTIFIED BY 'somepassword';
mysql> flush privileges;






Edit include/config.php.

Specify the MySQL user, password and database for your cacti configuration.

$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "cacti";




Edit php.ini.

Make sure you have the following options set in your php.ini file:

register_globals = On
register_argc_argv = On



Set the appropriate permissions on cacti's directories for graph/log generation. You should execute these commands from inside cacti's directory to change the permissions.

shell> chown cactiuser rra/ log/



(Enter a valid username for cactiuser, this user will also be used in the next step for data gathering.)

Add a line to your /etc/crontab file similar to:

*/5 * * * * cactiuser php /var/www/html/cacti/cmd.php > /dev/null 2>&1




Replace cactiuser with the valid user specified in the previous step.
Replace /var/www/html/cacti/ with your full cacti path.

Point your web browser to:

http://your-server/cacti/
Log in the with a username/password of admin. You will be required to change this password immediatly. Make sure to fill in all of the path variables carefully and correctly on the following screen.

doramon

  • บุคคลทั่วไป
Re: CACTI Traffic Grapher ( MRTG )
« ตอบกลับ #1 เมื่อ: ธันวาคม 14, 2007, 17:26:46 PM »
0
เอกสาร
« แก้ไขครั้งสุดท้าย: ธันวาคม 31, 2009, 16:36:19 PM โดย doraemon »

ออฟไลน์ SrWooD

  • Hero Member
  • *****
  • กระทู้: 1,024
  • Respect: +1
    • ดูรายละเอียด
Re: CACTI Traffic Grapher ( MRTG )
« ตอบกลับ #2 เมื่อ: ธันวาคม 15, 2007, 06:37:19 AM »
0
ขอบคุณครับ อ.อ๊อด
โรงพยาบาลโพธิ์ทอง จังหวัดอ่างทอง

ออฟไลน์ armds

  • Hero Member
  • *****
  • กระทู้: 1,084
  • armds
  • Respect: +10
    • ดูรายละเอียด
Re: CACTI Traffic Grapher ( MRTG )
« ตอบกลับ #3 เมื่อ: ธันวาคม 15, 2007, 09:33:56 AM »
0
ขอบคุณ  อ.อ๊อด  เดี่ยวจะลองมาใช้ดูครับ  เคยลงแล้วติดที่  ไม่มี  ไฟล์  sql  ให้มา ครับ
« แก้ไขครั้งสุดท้าย: ธันวาคม 15, 2007, 09:36:48 AM โดย armds »
โรงพยาบาลสมเด็จพระยุพราชด่านซ้าย จ.เลย
ขนาด 60 เตียง นวก. คอมพิวเตอร์ ขึ้นระบบ ปี 2548
ขอบคุณ อ.ชัยพร อ.สุชัย อ.เดชา อ.doreamon อ.naj อ.ขวด และอ.ในเว็บ hosxp.net ทุกท่าน

ออฟไลน์ kwithaya

  • Full Member
  • ***
  • กระทู้: 112
  • All 4 Network By me
  • Respect: 0
    • ดูรายละเอียด
Re: CACTI Traffic Grapher ( MRTG )
« ตอบกลับ #4 เมื่อ: ธันวาคม 15, 2007, 11:32:52 AM »
0
เรียน อ.อ็อด

ในส่วนที่เป็น SNMP อุปกรณ์ เช่น switch ต้องรองรับ ทั้ง SNMP version 1,2 ด้วยหรือป่าว ครับ
วิทยา กรวิทยาศิลป
IT Outsourcing Network Consultant / All Solution [Wire, Wireless]  Mobile: 086-3517107

doramon

  • บุคคลทั่วไป
Re: CACTI Traffic Grapher ( MRTG )
« ตอบกลับ #5 เมื่อ: ธันวาคม 15, 2007, 13:44:48 PM »
0
cisco  2600  ที่ผมใช้อยู่รองรับครับ
จริงๆๆ  แล้ว อุปกรณ์รุ่นใหม่  น่าจะรองรับหมดแล้วครับ
แต่ไม่ใช้ชื่อ SNMP ( สำหรับ windows , linux ) 

อุปกรณ์จะใช้อีกชื่อครับ แต่ทำงานเหมือนกัน  แต่เวลาเิปิดระบบนี้จะทำให้ อุปกรณ์ทำงานมากขึ้นครับ 


doramon

  • บุคคลทั่วไป
Re: CACTI Traffic Grapher ( MRTG )
« ตอบกลับ #6 เมื่อ: ธันวาคม 15, 2007, 16:36:42 PM »
0
ขอบคุณ  อ.อ๊อด  เดี่ยวจะลองมาใช้ดูครับ  เคยลงแล้วติดที่  ไม่มี  ไฟล์  sql  ให้มา ครับ

มันมี cacti.sql  มาด้วยอยู่แล้วครับ

ที่ผมชอบใช้มันเพราะว่าเป็น PHP +  MYSQL


ออฟไลน์ - -"

  • Newbie
  • *
  • กระทู้: 3
  • Respect: 0
    • ดูรายละเอียด
Re: CACTI Traffic Grapher ( MRTG )
« ตอบกลับ #7 เมื่อ: พฤศจิกายน 12, 2009, 22:25:57 PM »
0
ช่วยหน่อย ค่ะ ๆๆ

ติดตั้งไม่ได้ อ่ะ ค่ะ ๆๆ

รัน หน้า เว็ป แล้ว ไม่ขึ้นอะไรเลย ค่ะ ๆๆ

ใคร รู้ ช่วย หน่อย นะ ค่ะ ๆๆ
 

ออฟไลน์ nong_tha

  • Newbie
  • *
  • กระทู้: 11
  • Respect: 0
    • ดูรายละเอียด
Re: CACTI Traffic Grapher ( MRTG )
« ตอบกลับ #8 เมื่อ: ธันวาคม 31, 2009, 14:50:08 PM »
0