生產環境:
OS:CentOS 6.7
監控軟件:Cacti 0.8.8a
插件:Realtime 0.5
問題描述:
安裝完realtime,在每一個監控圖邊上,都會有一個小圖標,此時點擊這個小圖標,不會出來實時的數據,會報“The Image Cache Directory directory does not exist. Please firstcreate it and set permissions and then attempt to open another realtime graph”。提示出沒有Cache目錄以及權限等的錯誤,需要進一步配置後才能取到數據。
操作步驟如下:
[root@sky9896 sky]# cd /usr/share/cacti/
[root@sky9896 cacti]# mkdir cache
[root@sky9896 cacti]# chown apache.root cache
登陸cacti網頁:http://117.40.239.9/cacti
打開“Console → Settings → Misc”,設置“Cache Diredtiory”爲“/usr/share/cacti/cache/”,保存後會出現 [OK: DIRFOUND]