ubuntu Nagios 監控安裝

來源:互聯網
上載者:User

標籤:

一:添加使用者:
useradd -m nagiospasswd nagios添加使用者組,(注意:Ubuntu8.04以後使用者組已經存在)groupadd nagiosusermod -G nagios nagios
二:下載

下載 Nagios Core、Nagios Plugins、Nagios Addons:

wget http://sourceforge.net/projects/nagios/files/latest/download\?source\=fileswget http://nagios-plugins.org/download/nagios-plugins-2.0.3.tar.gzwget http://downloads.sourceforge.net/project/nagios/nrpe-2.x/nrpe-2.15/nrpe-2.15.tar.gz\?r\=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fnagios%2Ffiles%2Fnrpe-2.x%2Fnrpe-2.15%2F\&ts\=1432707148\&use_mirror\=heanet
三:安裝
apt-get install apache2 php5 libssl0.9.8 libssl-dev openssl安裝nagios主程式:tar -xzvf nagios-3.2.1.tar.gz cd nagios-3.2.1./configure --prefix=/usr/local/nagiosmake allmake installmake install-init # 安裝初始化指令碼可用/etc/init.d/nagios start啟動安裝nagios-plugins:tar -xzvf nagios-plugins-1.4.15.tar.gz mkdir /usr/local/nagios-pluginscd nagios-plugins-1.4.15./configure --prefix=/usr/local/nagios-pluginsmake allmake installmv /usr/local/nagios-plugins/libexec /usr/local/nagios安裝nrpe:tar -xzvf nrpe-2.15.tar.gz cd nrpe-2.15./configure --enable-ssl --enable-command-argsmake allcp src/check_nrpe /usr/local/nagios/libexec

ubuntu Nagios 監控安裝

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.