2012-05-28

Scientific Linux release 6.2 (Carbon) (5) - Cacti [3] 設定與調整

這一篇 - Scientific Linux Cacti (YUM版) [3] 設定與調整
下一篇 - Scientific Linux Cacti (YUM版) ?

設定與調整

在 cacti 的目錄下新增 plugins 的資料匣 (權限最好改成 cacti:cacti ),這是 cacti plugins management 規定的外掛路徑。

plugins 下載可至 http://docs.cacti.net/ ,這邊先下載 settings、monitor、thold 至 plugins 資料匣中解開;再來到 cacti-web 點左列選單中的「Plugin Management」,應該就可以看到這三個外掛的列表,可以按下「↓」來”install”,再按「→」來”enable”,如果要暫時取消,可按「←」來”diable”,如果要解除,可按「↑」來”uninstall”。

plugins:settings 安裝後,會在左邊選單的 Settings 會多一個「Mail / DNS」分頁

plugins:monitor 安裝後,會在左邊選單的 Settings 多一個「Misc」分頁

plugins:thold 安裝後,會在左邊選單的 Management 區域多「Notification List」與「Thresholds」,並在 Settings 中多一個「Thresholds」分頁

在左邊選單的 Settings 中需要特別設定的應該只有「Mail / DNS」,設定 test mail 與你要用來通知的 sender 就好,但這邊提醒,在 「Mail Services」選 SMTP 應該比較不會有問題,其他的 PHP:mail() 或 sendmail 方式可能都會產生一些問題…比如你的 SELinux 把 httpd_can_sendmail 停掉了,你又要設定讓 httpd_can_sendmail 給 on 起來,就要用 「setsebool -P httpd_can_sendmail 1」(註:-P 是永駐),就算改了這個也不一定會有結果,總之,還是用 SMTP 吧。


沒有留言: