我使用的虛擬機安裝的centos6.5作爲實驗環境,安裝cacti-0.8.8c,安裝路徑爲“/var/www/html/cacti”,今天就來說說插件realtime插件的安裝。
下載realtime插件
wget http://docs.cacti.net/_media/plugin:realtime-v0.5-2.tgz
解壓並放置到cacti的plugins目錄:
tar zxvf realtime-v0.5-2.tgz
mv realtime /var/www/html/cacti/plugins/
chown -R apache.apache /var/www/html/cacti/plugins/realtime
新建緩存目錄:
mkdir -pv /var/www/html/cacti/cache
chmod -R 777 /var/www/html/cacti/cache
配置和啓用插件:
登錄cacti
【console】->【Plugin Management】,找到realtime安裝並啓用。
【console】->【Settings】->【Misc】,將Cache Directory值設置成“/var/www/html/cacti/cache”。