Home Page

Contact Me

MAC OS X

Linux

Linux Servers Fedora Core 4

Linux Servers - CentOS

Linux Servers Fedora Core 5

Linux Servers Fedora Core 7

Linux Servers Fedora 8

OpenWRT

NSLU2

LinuxCluster

Hardware Hacking Projects

Speaker Building Projects

Electronics Projects

Other Sites





History / Status

  • DONE

Introduction

This HOWTO describes setting up a dedicated linux server for SNMP management. The setup is based on Cacti.

Setting Up The Base Server

  • Start with the base server setup for fedora core 7.

Instaall Softwre

One quick yum line will get everything we need.
> yum install cacti net-snmp-utils

Configure Cacti

The apache config file for cacti only allows connections from the local host. We want to allow connections from the local network. Edit cacti.conf all access from the local network.
> nano -w /etc/httpd/conf.d/cacti.conf

Next we need to setup some basic mysql settings.
> /usr/bin/mysql -p -u root
mysql> create database cactidb;
mysql> grant all on cactidb.* to root;
mysql> grant all on cactidb.* to root@localhost;
mysql> grant all on cactidb.* to cactiuser;
mysql> grant all on cactidb.* to cactiuser@localhost;
mysql> set password for cactiuser@localhost=password('cactipass');
mysql> exit;

Now edit /usr/share/cacti/include/db.php and enter your database information.

Now we need to create the database tables.
> mysql -p -u root cactidb < /usr/share/doc/cacti-0.8.6j/cacti.sql

Now load up the cacti web page and follow the instructions.

Conclusion

That's the complete setup. Be sure to read the documentation at the cacti website.

Links

cacti - http://www.cacti.net

Comments

Add Comment 
Sign as Author 
Enter code 409


Google
 
Theme by Richard Camp
(C) Copyright 1996-2007 by Richard Camp All rights reserved