Go to Download plugin: http://docs.cacti.net/plugin:realtime
then copy tgz file to cacti plugin path as my path:
#cd /var/www/html/cacti/plugins
#mv /var/www/html/cacti/plugins/realtime.tgz
#tar -xzvf /var/www/html/cacti/plugins/realtime.tgz
then go to cacti interface => go to Plugin Management => then click on enable plugin.
go to insert to cacti database by:
mysql -u root -p
Enter password:
mysql>use cacti;
mysql>insert into settings (name,value) values ('realtime_cache_path','/tmp');