Cacti

From OpenSimulator

Revision as of 03:03, 24 October 2008 by Phrearch (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Install instructions

  • Install RRDTools; Probably in your distro's repo, otherwise download with:
svn co svn://svn.oetiker.ch/rrdtool/branches/1.2/program

Check the instuctions how to build rrdtools

  • Install net-snmp; Probably in your distro's repo, otherwise download with:
svn co https://net-snmp.svn.sourceforge.net/svnroot/net-snmp net-snmp 

Check the instuctions how to build net-snmp

  • Download cacti
  • Copy cacti into your Apache's www directory (/srv/http in this tutorial)
  • Add a cacti database into mysql, and add give a cacti-user all privileges for that database
  • Edit /srv/http/cacti/include/config.php, and fill in the mysql info
  • Create a crontab
crontab -e
# paste this line in, and save
* * * * * php /srv/http/serverstats/poller.php > /dev/null 2>&1
  • Login to cacti from the browser with admin,admin and change the password

Ok, this was the first part. Cacti is running, and you've installed all necessary software. Get yourself a nice cup of coffee if you wish, so we can proceed to the next level: Setting up snmp to return the stats that we so desperatly want...

Personal tools
General
About This Wiki