安装Monitorix 到CentOS 6.5 x86-64
2014-12-12 09:27
597 查看
yum -y install rrdtool rrdtool-perl perl-libwww-perl perl-MailTools perl-MIME-Lite perl-CGI perl-DBI perl-XML-Simple perl-Config-General perl-HTTP-Server-Simple perl-IO-Socket-SSL
rpm -ivh monitorix-3.6.0-1.noarch.rpm
vi /etc/monitorix/monitorix.conf
service monitorix start
http://monitorix-server-ip:8080/monitorix
Apache statistics (apache.rrd)
vi /etc/httpd/conf/httpd.conf
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order Allow,Deny
Allow from all # you should replace "all" with specific ip address for security, like "localhost other-ip"
</Location>
Notes:
1. for Virtual Host, put "Location" section into "Virtual Host" section
2. for using .htaccess, put "RewriteRule ^(server-info|server-status) - [L]" before any RewriteRule
service httpd restart
vi /etc/monitorix/monitorix.conf
apache = y
<apache>
list = http://localhost/server-status?auto rigid = 0, 2, 0
limit = 100, 100, 100
</apache>
service monitorix restart
本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1589049
rpm -ivh monitorix-3.6.0-1.noarch.rpm
vi /etc/monitorix/monitorix.conf
service monitorix start
http://monitorix-server-ip:8080/monitorix
Apache statistics (apache.rrd)
vi /etc/httpd/conf/httpd.conf
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order Allow,Deny
Allow from all # you should replace "all" with specific ip address for security, like "localhost other-ip"
</Location>
Notes:
1. for Virtual Host, put "Location" section into "Virtual Host" section
2. for using .htaccess, put "RewriteRule ^(server-info|server-status) - [L]" before any RewriteRule
service httpd restart
vi /etc/monitorix/monitorix.conf
apache = y
<apache>
list = http://localhost/server-status?auto rigid = 0, 2, 0
limit = 100, 100, 100
</apache>
service monitorix restart
本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1589049
相关文章推荐
- centos6.5 x86_64安装oracle 11.2.0.3grid
- CentOS-6.5-x86_64 最小化安装后,如何安装 man 程序?
- centos6.5_x86_64 下安装 Oracle11gR2 的详细过程
- CentOS 6.5-x86-64下安装KVM
- centos6.5_x86_64 下安装 Oracle11gR2 的详细过程
- CentOS-6.5-x86_64 最小化安装,共安装了多少个软件包,是那些软件包?
- CentOS-6.5-x86_64 最小化安装,已安装包的总数,这些包?
- 如何在CentOS-6.5-x86_64安装Git
- CentOS 6.5 x86_64操作系统图文安装指南
- centos6.5_x86_64 下 nginx 1.10.1、php7 安装记录
- Centos6.5_x86_64 编译安装Subversion-1.8.5
- CentOS-6.5-x86_64-bin-DVD1.iso在虚拟机里安装时的注意事项
- centos6.5 x86_64安装oracle 11.2.0.3grid
- CentOS-6.5-x86_64 安装 Jenkins
- CentOS-6.5-x86_64安装文件
- Centos6.5 x86_64系统安装kvm虚拟机—基础篇
- Centos 6.5 x86_64 安装或者设置花生壳ddns的技巧
- 利用U盘与163的yum源镜像网站安装Centos6.5 x86_64系统 推荐
- CentOS-6.5-x86_64 安装 Maven
- CentOS-6.5-x86_64 安装 apache-tomcat-7.0.68.tar.gz