centos5.5 Linux安装nagios3.2.1总结
;ts=1282636582&mirror=cdnetworks-kr-2
nagios-3.2.1.tar.gz
tar -zxvf nagios-3.2.1.tar.gz tar -zxvf nagios-plugins-1.4.15.tar.gz
进入nagios安装目录开始编译安装nagios软件
make install make install-init **生成init启动脚本 make install-config **设置相应的目录权限 make install-commandmode **生成模板配置文件 make install-webconf **生成apache配置文件
使用htpasswd 命令创建nagios的Web接口访问用户名和密码.
Newpassword: Re-type newpassword:
nagiosadmin:5DV3J8lr7mUJ6 **密码已经加密了
接下来开始编译安装nagios的插件. cdnagios-plugins-1.4.15 ./configure--with-nagios-user=nagios --with-nagios-group=nagios make make install
将nagios加到服务列表中并使之在系统启动时自动启动 chkconfig --add nagios chkconfig nagios on chkconfig --list nagios nagios 0:off 1:off 2:on 3:on 4:on 5:on 6:off
Copyright(c) 2009-2010 Nagios Core Development Team and Community Contributors Copyright (c)1999-2009 Ethan Galstad LastModified: 03-09-2010 License:GPL
Readingconfiguration data...
Processingobject config file ''/usr/local/nagios/etc/objects/commands.cfg''... Processingobject config file ''/usr/local/nagios/etc/objects/contacts.cfg''... Processingobject config file ''/usr/local/nagios/etc/objects/timeperiods.cfg''... Processingobject config file ''/usr/local/nagios/etc/objects/templates.cfg''... Processingobject config file ''/usr/local/nagios/etc/objects/localhost.cfg''...
Checkinghosts...
Checkinghost groups...
Checkingservice groups...
Checkingcontacts...
Checkingcontact groups...
Checkingservice escalations...
Checkingservice dependencies...
Checkinghost escalations...
Checkinghost dependencies...
Checkingcommands...
Checkingtime periods...
Checkingfor circular paths between hosts... Checkingfor circular host and service dependencies... Checkingglobal event handlers... Checkingobsessive compulsive proc |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |