Nagios 外掛 NagVIs - 讓 nagios 更圖形化了
作者:cross 日期:2011-04-26 18:19
Display of single Hosts and Services
Visualize a complete Host- or Servicegroup with one icon
Display the summary state of a Host and all its services
Display only the real problems
Sub-map icons which represent a complete NagVis Map in one icon (drill down)
Visualization of complete IT processes using self drawn graphics
Online documentation of IT environments including current states
Visualisation of network traffic using weathermap lines
Multilingual capabilities
Web configuration interface (WUI)
需求:
NDoutils : 因為 nagvis 需要讀取資料庫,正好搭配 ndoutils 可以將 nagios 的資料、狀態都寫在資料庫裡
需求套件:
nagios+NConf - php的web管理工具
作者:cross 日期:2011-04-25 22:00
功能:
- effortlessly maintain a distributed Nagios topology
- user-friendly web-GUI
- host & service templates
- graphical dependency viewer
- multiple authentication modes
- Nagios config importer
- CSV file importer
- perl database API
- data schema customizable and expandable
- runs on Linux / Apache / PHP / MySQL
nagios+nagiosgraph用rrdtool畫圖收集服務性能數據
作者:cross 日期:2011-04-24 12:08
http://nagiosgraph.sourceforge.net/
環境: fedora 12 x64
需要套件:
下載 nagiosgraph-1.4.4-1.fc14.noarch.rpm
rpm 安裝後,它會自動重啟nagios,
好像也不用再動什麼就可以了 !!
增加連結在 nagios 的圖形管理介面裡
環境: fedora 12 x64
需要套件:
到 http://sourceforge.net/projects/nagiosgraph/files/nagiosgraph/perl-GD
perl-rrdtool
下載 nagiosgraph-1.4.4-1.fc14.noarch.rpm
rpm 安裝後,它會自動重啟nagios,
好像也不用再動什麼就可以了 !!
增加連結在 nagios 的圖形管理介面裡
標籤: nagios nagiosgraph
nagios+NDOutils 儲存設定檔及事件至MySQL資料庫裡
作者:cross 日期:2011-04-24 00:37
nagios 2 升級到 3 備註
作者:cross 日期:2011-04-06 17:15
nagios + nrpe 監控遠端 Linux 主機的CPU或硬碟空間
作者:cross 日期:2010-10-23 17:02
nagios 可以用來監控主機的服務運作狀態,比方說 ping不ping的到、http可不可以瀏覽等等,
以上都是被監控者不需要作什麼額外設定就可以即時被監控得到的,
假如現在我要監控遠端主機的 CPU、硬碟空間、記憶體等等,怎麼作?
Nagios 提供了一個外掛,叫 NRPE (Nagios Remote Plugin Executor),
它可以讓 nagios server 在固定時間去抓 nagios client 被監控的項目回來判斷是否ok。
如何作 :
Nagios Client 端 (被監控者) ------------------------------
以上都是被監控者不需要作什麼額外設定就可以即時被監控得到的,
假如現在我要監控遠端主機的 CPU、硬碟空間、記憶體等等,怎麼作?
Nagios 提供了一個外掛,叫 NRPE (Nagios Remote Plugin Executor),
它可以讓 nagios server 在固定時間去抓 nagios client 被監控的項目回來判斷是否ok。
如何作 :
Nagios Client 端 (被監控者) ------------------------------
Nagios 監控通知概念
作者:cross 日期:2008-12-19 10:23
host 的 check-host-alive 使用 check_interval 5,每五分鐘間隔檢查,當發生第一次不 ok 時,檢查間隔變為每10秒一次,檢查十次不ok,變為 HARD 狀態發送通知
check_interval 5
max_check_attempts 10
notification_interval 25
nagios.log
2008-12-02.10:11:45 [1228183905] HOST ALERT: ssorc.tw;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds
2008-12-02.10:11:55 [1228183915] HOST ALERT: ssorc.tw;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds
2008-12-02.10:12:05 [1228183925] HOST ALERT: ssorc.tw;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds
2008-12-02.10:12:15 [1228183935] HOST ALERT: ssorc.tw;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds
2008-12-02.10:12:25 [1228183945] HOST ALERT: ssorc.tw;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds
2008-12-02.10:12:35 [1228183955] HOST ALERT: ssorc.tw;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds
2008-12-02.10:12:45 [1228183965] HOST ALERT: ssorc.tw;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seconds
2008-12-02.10:12:55 [1228183975] HOST ALERT: ssorc.tw;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seconds
2008-12-02.10:13:05 [1228183985] HOST ALERT: ssorc.tw;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10 seconds
2008-12-02.10:13:15 [1228183995] HOST ALERT: ssorc.tw;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds
2008-12-02.10:13:15 [1228183995] HOST NOTIFICATION: nagios-admin-email-cross;ssorc.tw;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds
當 Host DOWN 狀態,有其它監控服務時,比方說是 HTTP,此時也是 Critical,它只有呈現紅色顯示,並不會發送通知,



