proxy代理   soft软件   IT 业界特快   norton 诺顿病毒库   代理列表   search FTP搜索   whois IP地理位置   blog 追求完美  
money理财   life生活   RSS聚合门户   firefox WEB浏览器   免费域名   typeset 假古文   AntiVirus 反病毒   ipcn 站点导航  

« RRD RPN Expressions 表达式对 UN 的处理 | Main | 判断 ip 格式的 php 程序代码 »

June 16, 2006

nagios 2.4 相关地址与安装手记

版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。
https://windtear.net/archives/2006/06/16/001007.html
http://windtear.net/archives/2006/06/16/001007.html

nagios 2.4 相关地址与安装手记

Nagios 2.4 	05/31/2006
Nagios 1.4.1 	05/15/2006

http://www.nagios.org/download/

http://prdownloads.sourceforge.net/nagios/nagios-2.4.tar.gz?download
http://dag.wieers.com/packages/nagios/

Official Nagios Plugins
http://sourceforge.net/project/showfiles.php?group_id=29880
http://prdownloads.sourceforge.net/nagios/nrpe-2.5.1.tar.gz?download
http://prdownloads.sourceforge.net/nagios/nsca-2.6.tar.gz?download

http://prdownloads.sourceforge.net/nagiosplug/nagiosmib-1.0.0.tar.gz?download
http://prdownloads.sourceforge.net/nagiosplug/nagios-plugins-1.4.3.tar.gz?download

http://nchc.dl.sourceforge.net/sourceforge/nagiosplug/nagiosmib-1.0.0.tar.gz
http://nchc.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.3.tar.gz

libjpeg-devel-6b-30.i386.rpm
libpng-devel-1.2.2-25.i386.rpm
gd-devel-1.8.4-12.3.1.i386.rpm
zlib-devel-1.1.4-8.1.i386.rpm

./configure --prefix=/data/nagios --with-nagios-user=nagios --with-nagios-group=nagios \
--with-command-user=nagios --with-command-group=nagiocmd

 General Options:
 -------------------------
        Nagios executable:  nagios
        Nagios user/group:  nagios,nagios
       Command user/group:  nobody,nobody
            Embedded Perl:  no
             Event Broker:  yes
        Install ${prefix}:  /data/nagios
                Lock file:  ${prefix}/var/nagios.lock
           Init directory:  /etc/rc.d/init.d
                  Host OS:  linux-gnu

Please supply a command line argument (i.e. 'make all').  Other targets are:
   nagios cgis contrib modules
   clean
   install install-base install-cgis install-html install-config install-init \
   install-commandmode fullinstall

  make install
     - This installs the main program, CGIs, and HTML files

  make install-init
     - This installs the init script in /etc/rc.d/init.d

  make install-commandmode
     - This installs and configures permissions on the
       directory for holding the external command file

  make install-config
     - This installs *SAMPLE* config files in /data/nagios/etc
       You'll have to modify these sample files before you can
       use Nagios.  Read the HTML documentation for more info
       on doing this.  Pay particular attention to the docs on
       object configuration files, as they determine what/how
       things get monitored!

make all
make install
make install-init
make install-commandmode
make install-config

如果不用make install-commandmode脚本 手工的话
chown nagios:nagiocmd /data/nagios/var/rw
chmod 2775 /data/nagios/var/rw

cd nagios-plugins-1.4.3
./configure --prefix=/data/nagios
make
make install

本blog相关文章:
nagios 在 Debian 的部署结构
http://windtear.net/archives/2005/11/15/000825.html
本blog WWW

Posted by windtear at June 16, 2006 11:55 PM

本站使用中的任何问题,请与 windtear @ windtear.net 联系
Copyright© 1999-2024 Windtear. All rights reserved.