This post to explain about installation, not configuration cacti. Configuration cacti immediately will be posted.

To install Cacti in ubuntu 12.04, please follow step by step like below:

1. Install SNMP Service

 $ sudo apt-get install snmpd

2. Configuration

$ sudo mv /etc/snmp/snmpd.conf /etc/snmp/

3.  Create new file: /etc/snmp/snmpd.conf:

$ nano /etc/snmp/snmpd.conf

rocommunity public
syslocation "PANBAR" 

4.  Edit: /etc/default/snmpd:
# snmpd options (use syslog, close stdin/out/err). 
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/' 

# snmpd options (use syslog, close stdin/out/err). 
#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/'
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/ -c /etc/snmp/snmpd.conf' 

 5.  Restart Services 

$ /etc/init.d/snmpd restart

6.  Install SNMP

$ sudo apt-get install snmp 

 7.  For Try
$ snmpwalk -v 1 -c public -O e

Finally, try to access your cacti with http://localhost/cacti. And than you can configuration  in there.

Good Luck!

Post a Comment