Nagios - NRPE 介紹

NRPE 2.x Documentation

(2.12 update: 2008-3-12)
The NRPE addon is designed to allow you to execute Nagios plugins on remote Linux/Unix machines. The main
reason for doing this is to allow Nagios to monitor "local" resources (like CPU load, memory usage, etc.) on
remote machines. Since these public resources are not usually exposed to external machines, an agent like
NRPE must be installed on the remote Linux/Unix machines.
check_nrpe 允許監控遠程主機的本地資源,但遠程主機必須安裝nrpe,即客戶端的一個接收發送器


Note: It is possible to execute Nagios plugins on remote Linux/Unix machines through SSH. There is a
check_by_ssh plugin that allows you to do this. Using SSH is more secure than the NRPE addon, but it also
imposes a larger (CPU) overhead on both the monitoring and remote machines. This can become an issue when
you start monitoring hundreds or thousands of machines. Many Nagios admins opt for using using the NRPE
addon because of the lower load it imposes.
另外可以建立在ssl的基礎上,保證傳輸的安全性,但會損失主機一定的性能

我的建議:
如果是各個地區,國家,或者機房有多臺服務器,可在相應的機房負載較輕的機器裝一個NRPE,然後通過中心的check_nrpe來遠程調用檢查,這樣,只需要維護一臺機器的nagios,要知道,nagios裏的參數很多,如果每個地方放一臺nagios,那樣會增加不少工作量,而nrpe則不同,只是一些簡單的安裝操作而已,你可以在NRPE文檔中找到"Indirect Checks"的圖例,

 

 

這是一種非常好的檢查架構,當然,如果你要做細至的檢查,服務器的每一個參數,只能本地運行的話,那就會比較麻煩了

發佈了36 篇原創文章 · 獲贊 1 · 訪問量 4萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章