Cacti安裝測試(圖)
Cacti安裝配置測試及報警
本文講述的是Cacti安裝配置與測試。Cacti安裝配置、Cacti測試
測試:點擊Send a Test Email,測試成功如下所示:
收到的測試郵件范例:
- This is a test message generated from Cacti. This message was sent to test the configuration of your Mail Settings.
- Your email settings are currently set as follows
- Method: SMTP
- Host: mail.xok.la
- Port: 25
- Authenication: true
- Username: xok.la
- Password: (Not Shown for Security Reasons)
配置完成后別忘記save.
下面我以進程報警為例,來設置具體的報警信息(CPU,DISK,服務,網絡等等)
在console選項卡下左側菜單中點擊Threshold Templates .

如果沒有出現Threshold Templates選項,那么有可能你還沒有導入插件的數據庫文件.
在如下圖所示中點擊Add按鈕來添加一個Threshold模板

添加進程監控的模板,無論是linux還是windows都是使用的Host MIB - Processes

可以選擇proc

我設置的300個***進程

Alert E-Mail 寫上通知的郵件地址即可.然后保存.
應用剛才創建的Threshold模板
在console選項卡下點擊Management ->Devices,選擇要應用此模板的Host,點擊最上面的Create Graphs for this Host鏈接,然后點擊Auto-create thresholds鏈接來應用剛創建的Threshold模板.
需要做的是,監控的主機要設置監控磁盤,如Associated Graph Templates ———- Host MIB - Processes 要選上,不然thold取不到數據的.
設置完成后在console選項卡下左側菜單中點擊Thresholds,在此可以管理已創建的警報,如下:

看第1條,Processes [proc] 300 ,超過300個進程數,出現紅色警告了,那我們去看他有沒有發信呢?

果然收到信件了…到此Cacti安裝配置測試及報警完成!***節:Cacti安裝配置
【編輯推薦】

















