nikoo 发表于 2018-8-30 12:07:18

安装Monitorix 到CentOS 6.5 x86-64

  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
  
  SetHandler server-status
  Order Allow,Deny
  Allow from all# you should replace "all" with specific ip address for security, like "localhost other-ip"
  
  Notes:
  1. for Virtual Host, put "Location" section into "Virtual Host" section
  2. for using .htaccess, put "RewriteRule ^(server-info|server-status) - " before any RewriteRule
  service httpd restart
  vi /etc/monitorix/monitorix.conf
  apache          = y
  
  list = http://localhost/server-status?auto
  rigid = 0, 2, 0
  limit = 100, 100, 100
  
  service monitorix restart

页: [1]
查看完整版本: 安装Monitorix 到CentOS 6.5 x86-64