网络主机监控-nagios应用漫谈(二)
Nagios安装:
安装组件:Yum –y instsll httpd gcc glibc glibc-common* gd* php php-MySQL mysql mysql-server
让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:申请域名、雅安服务器托管、营销软件、网站建设、鄂尔多斯网站维护、网站推广。
添加用户与组:
useradd nagios
groupadd nagios
useradd –G nagios nagios
安装nagios:
Tar zxvf nagios-3.2.1.tar.gz
Cd nagios-3.2.1
./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios
Make all
make install Make install-init Make install-commmode Make-install-config Make install-webconf vi /usr/local/apache2/conf/httpd.conf ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd Require valid-user /usr/local/apahce/bin/apachectl restart //重启apache添加apache支持
新闻标题:网络主机监控-nagios应用漫谈(二)
链接地址:http://azwzsj.com/article/jdssoo.html