Cacti安裝測(cè)試(圖)
Cacti安裝配置測(cè)試及報(bào)警
本文講述的是Cacti安裝配置與測(cè)試。Cacti安裝配置、Cacti測(cè)試
測(cè)試:點(diǎn)擊Send a Test Email,測(cè)試成功如下所示:
收到的測(cè)試郵件范例:
- 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.
下面我以進(jìn)程報(bào)警為例,來(lái)設(shè)置具體的報(bào)警信息(CPU,DISK,服務(wù),網(wǎng)絡(luò)等等)
在console選項(xiàng)卡下左側(cè)菜單中點(diǎn)擊Threshold Templates .
如果沒(méi)有出現(xiàn)Threshold Templates選項(xiàng),那么有可能你還沒(méi)有導(dǎo)入插件的數(shù)據(jù)庫(kù)文件.
在如下圖所示中點(diǎn)擊Add按鈕來(lái)添加一個(gè)Threshold模板
添加進(jìn)程監(jiān)控的模板,無(wú)論是linux還是windows都是使用的Host MIB - Processes
可以選擇proc
我設(shè)置的300個(gè)***進(jìn)程
Alert E-Mail 寫(xiě)上通知的郵件地址即可.然后保存.
應(yīng)用剛才創(chuàng)建的Threshold模板
在console選項(xiàng)卡下點(diǎn)擊Management ->Devices,選擇要應(yīng)用此模板的Host,點(diǎn)擊最上面的Create Graphs for this Host鏈接,然后點(diǎn)擊Auto-create thresholds鏈接來(lái)應(yīng)用剛創(chuàng)建的Threshold模板.
需要做的是,監(jiān)控的主機(jī)要設(shè)置監(jiān)控磁盤,如Associated Graph Templates ———- Host MIB - Processes 要選上,不然thold取不到數(shù)據(jù)的.
設(shè)置完成后在console選項(xiàng)卡下左側(cè)菜單中點(diǎn)擊Thresholds,在此可以管理已創(chuàng)建的警報(bào),如下:
看第1條,Processes [proc] 300 ,超過(guò)300個(gè)進(jìn)程數(shù),出現(xiàn)紅色警告了,那我們?nèi)タ此袥](méi)有發(fā)信呢?
果然收到信件了…到此Cacti安裝配置測(cè)試及報(bào)警完成!***節(jié):Cacti安裝配置
【編輯推薦】