2008年11月11日 星期二

Set up CACTI on Ubuntu

1. install cacti, it depends on many packages like snmpd, apache2, mysql-server

sudo apt-get install cacti

2. installation in progress
password of your database's administrative user: password of mysql administrator
mysql application password for cacti: leave it blank, cacti will create a random password
webserver type: apache2

3. visit the webpage of your cacti server, http://localhost/cacti
follow cacti installation guide in your web-browse

4. login with default username and password, admin / admin

5. Devices -> Add
Description: Give this host a meaningful description.
Hostname: localhost
Host Template: Generic SNMP-enabled Host
SNMP Version: Version 1
SNMP Community: public
create

6. Associated Graph Templates -> Add Graph Template
add any you need

7. Associated Data Queries -> Add Data Query
add SNMP - Get Mounted Partitions and SNMP - Interface Statistics
save

8. Create Graphs for this Host
select any items you need
create

9. Graph Trees -> Add
Name: A useful name for this graph tree.
create

10 Tree Item -> Add
Tree Item Type: host
Tree Item Value -> Host: choose what you just created
create

沒有留言: