Nagios 簡易架設 (SuSE)
Nagios
http://www.nagios.org/
Nagios is a powerful monitoring system that enables organizations to identify and resolve IT infrastructure problems before they affect critical business processes.
Nagios monitors your entire IT infrastructure to ensure systems, applications, services, and business processes are functioning properly. In the event of a failure, Nagios can alert technical staff of the problem, allowing them to begin remediation processes before outages affect business processes, end-users, or customers. With Nagios you'll never be left having to explain why a unseen infrastructure outage hurt your organization's bottom line.
What Nagios Provides
By using Nagios, you can:
Plan for infrastructure upgrades before outdated systems cause failures
Respond to issues at the first sign of a problem
Automatically fix problems when they are detected
Coordinate technical team responses
Ensure your organization's SLAs are being met
Ensure IT infrastructure outages have a minimal effect on your organization's bottom line
Monitor your entire infrastructure and business processes
以上訊息來自nagios官網~大至上說明了nagios的功能
相關說明文件網站上提供的很完整,包含數種平台的QuickStart(快速安裝啟動)
http://support.nagios.com/knowledgebase
安裝流程大至上是這樣…
1.安裝nagios
2.設定nagios
3.在Apache中加入nagios
4.啟動Apache及nagios
相關路徑及說明:
■ /etc/nagios/. Configuration files
■ /usr/lib/nagios/plugins/. Plugins for checking hosts and services
■ /usr/lib/nagios/cgi/. CGI scripts for the web server
■ /var/log/nagios/. Log files of Nagios
■ /var/spool/nagios/. Spool file of Nagios
■ /etc/apache2/conf.d/ Configuration files of the web server
■ /usr/share/nagios/ Content files of the web server
如位置不同,請自行查找~
自己也來個QuickStart >.<
環境:OS:openSuSE 11.1 32Bits
套件安裝
The base package of Nagios
#zypper install nagios
Plugins needed for Nagios checks
#zypper install nagios-plugins
A web server for Nagios
#zypper install nagios-www
找尋驗證使用者帳/密的檔案位置,並新增nagiosadmin使用者/密碼
#cat /etc/apache2/conf.d/nagios.conf | grep AuthUserFile
#htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin
啟動Apache,nagios並測試連入
#/etc/init.d/apache2 start
#/etc/init.d/nagios start
使用Browse 輸入 http://localhost/nagios 再輸入帳號/密碼
clinet 安裝 NRPE、NSClient++