1 / 10

課程二

課程二. 複習 -30min 安裝 phpMyAdmin ( 執行資料匯出 / 匯入 ) host.xls 編輯 排 cron 更新資料庫內容 目錄說明 / 設定系統 logrotate 更新與設定套件 - Realtime 匯入與安裝 Cisco interface status 套件 & CDEF 異動 備份與復原. 上次課程複習. 安裝 CactiEZ ( 簡體 ) or Ubuntu Server 設定 SW - 新增設備 流量 & CPU(5MIN)

Download Presentation

課程二

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 課程二 • 複習-30min • 安裝 phpMyAdmin • (執行資料匯出/匯入) host.xls 編輯 • 排 cron 更新資料庫內容 • 目錄說明/ 設定系統 logrotate • 更新與設定套件 - Realtime • 匯入與安裝 Cisco interface status 套件 & CDEF異動 • 備份與復原

  2. 上次課程複習 • 安裝 CactiEZ (簡體) or Ubuntu Server • 設定 SW - 新增設備 • 流量 & CPU(5MIN) • 出圖 {graph} -> (Tree view) / (List view) • 產生樹及樹中樹-(掛設備與掛圖形-差異) • 新增圖形說明 {console}->(Graph Management) (有) int /(無) CPU • 新增 (圖形 title)中文說明 • 調整單一或是多個圖形視覺大小 • 複製單一DS對應多個圖形 • Monitor 主機 (調整 hostdown 時說明與聲音) • 第一次接觸 THOLD / CDEF 用法 • -> 發出 Email • ->安裝 Syslog • 新增模組 / 匯出模組 • RRD / RRA

  3. Cacti dir/ Logrotate • Cacti Dir • <cacti_dir> • cli -> reindex / repair db / add device • docs -> http://IP/docs/html/ • Image -> logo • Include-> config.php • Install • Lib • Log • Resource • RRA • Scripts • Logrotate –設定 (請參考 word) • vi /etc/logrotate.d/cactilog • logrotate /etc/logrotate.conf -v

  4. Cacti 更新 plugin • 網頁移除 • 資料夾移至 /home/update • Winscp 將已下載的資料夾放入 <cacti_dir>/plugins 並更改權限 • 網頁開啟服務 (檢查版本) • 設定參數 / 檢查 clog / 開啟服務

  5. Cisco Interface Status - CDEF • Import Cisco Interface Status • 參考 http://forums.cacti.net/viewtopic.php?f=12&t=17722 • 下載與匯入模組 • 確認更新的套件 • 分析模組內容 • 測試與上線 • 出圖與數值確認 • 更改單一圖形顏色與大小。更改全部圖形顏色與大小 • 建立單一DS(RRD資料)的THOLD/建立大量DS 的THOLD圖形資料 • 建立 Aggregate • 建立 CDEF

  6. Cacti 備份/復原 • Backup • mkdir -p /home/backup/cacti • vi /var/www/cacti/backup.sh • chmod 755 /var/www/cacti/backup.sh • Restore • mysql -uroot -pdbadmin cacti < /home/backup/cacti/mysql.cacti.$日期 • tar -jxvf /home/backup/cacti/html.$日期.tar.bz2 • Others • /etc/cron.d/cacti • /home/change/ • /home/backup/cacti • /php.ini • …

  7. Cacti 官網介紹 CACTI (一) • Superlink 安裝 • 調整視窗的大小 • 連結網頁 • 使用者權限了解 • 中文處理-產生中文的 Tag • DNS / WWW 監控 • 下載模組 • 安裝 Perl 模組 • 利用一台 DNS 查詢多個 DNS 解析時間 • 整合 Aggregate • 集中化管理簡易做法 • 利用 Superlink • 配合 RRD -> MRTG

  8. Cacti 官網介紹 CACTI (二) • 大量設備建置的方式 – cli • /var/www/cacti/cli • 配合 特製的.xls & host.xls • 撘配 Autom8 套件 • Windows 管理 • WMI 監控管理 • Cacti 可監控項目 • Debug 方式 • 執行 • SNMP 監控管理 • 可監控項目 • 常見問題 (效能+穩定性) • 執行 • UNIX AIX 管理 • 客制化 (SSH Trush + Command + Module or XML ) • SNMP

  9. Cacti 官網介紹 CACTI (三) • 系統升級 (0.8.7e->0.8.7g) • 流程 • 注意事項 • VM 管理 • 收集 VM API & SNMP • 產生 Cacti 外掛模組 • 新增 Cacti Data Template • 新增 Cacti Graph Template • DB 管理 • 收集 DB 訊息-PHP SQL & MSSQL & Oracle • 產生 Cacti 外掛模組 • 新增 Cacti Data Template • 新增 Cacti Graph Template

  10. Cacti 官網介紹 CACTI (四) • Syslog (syslog-ng -> rsyslog ) • Email • 簡訊 • Mactrack • IP-Mac 管理 • DLink & 3COM • 新增大量設備 • WeatherMap • Device 的圖形 • 流量的圖形 • 非流量的圖形

More Related