yum -y install perl monitorix perl-CGI perl-HTTP-Server-Simple perl-rrdtool perl-Config-General perl-LWP-Protocol-https perl-LWP-Protocol-http10
-验证Monitorix的安装版本:
monitorix -v
/etc/monitorix/monitorix.conf
systemctl start monitorx.service
systemctl enable monitorx.service
systemctl restart monitorix
http://b.htmltoo.com:8080/monitorix
-要想同时监控多个linux主机 。需要在要每个linux主机上安装"monitorix",并修改其中一个linux主机的配置文件:monitorix.conf。
找到并修改成以下内容:
<multihost>
enabled = n //将enable改成y
footer_url = y
graphs_per_row = 2
remotehost_list = server 1
<remotehost_desc>
1=http://172.16.0.102:8080,/,/ //这里更改为要监控的主机IP地址:
</remotehost_desc>
签名:这个人很懒,什么也没有留下!