
IncludeAllDisks 10% for all partitions and disks 5 www-data php /opt/cacti/poller. Add the following (assuming a machine with a single ‘/' partition): Add the following scheduler entry in the crontab so that Cacti can poll every five minutes. 1.3.6.1.4.3.0ĭisk StatisticsThe nf needs to be edited. Configure cacti to your favourite settings.ĬPUpercentage of user CPU time.

On the MySQL screen, either create your own password for cacti's database access, or leave it blank for it to automatically generate one for you.ĥ. During the "Configuring Cacti" prompt, make sure to select "Apache2." You will be presented with an additional "Configuring cacti" prompt that will ask if you'd like to configure your database with dbconfig-common. Before installing Cacti we must install a few basic dependencies that are critical to the installation of Cacti. Run the following command to set the timezone: dpkg-reconfigure tzdata Installing Dependencies. On the "libphp-adodb" prompt you can safely select "Ok". Keep in mind that Cacti uses the timezone set on the monitoring machine when generating its graphs. apt-get install mysql-server apache2 libapache2-mod-php5 php5-mysql php5-cli php5-snmpĤ. snmpwalk -v1 -cpublic localhost # Test if SNMP is workingġ. etc/init.d/snmpd restart # Restart snmpdĨ. nano /etc/snmp/nf # Edit community to e.g. nano /etc/default/snmpd # Add "export MIBS=/usr/share/mibs"Ħ. nano /etc/snmp/nf # Comment out the line "mibs:"ĥ. download-mibs # Update MIBS definitionsĤ.


nano /etc/apt/sources # Add contrib and non-freeģ.
