Monitorix Monitoring Linux Host graphic detailed
Monitorix Introduction
Monitorix is a free and open source lightweight system monitoring tool. With Monitorix you can always control CPU load and temperature, memory consumption, active process, disk usage and temperature, network device traffic, network services and other comprehensive system information. Monitorix requires an Apache WEB server to display these system infographics. So it is particularly suitable for use on Linux servers.
Here are the steps I installed
1. Installation of the environment and the required RPM package
I am installing the CentOS 5 under CentOS 6.4 and it is convenient to install the RPM package using the Yum command. Requires the lamp service to support Apache MySQL PHP. The required download RPM package is as follows
rpmforge-release-0.5.2-2.el5.rf.i386.rpm monitorix-2.2.0-noarch.rpm (These RPM packages need to be downloaded online and some can be installed with the Yum command
2. Install the RPM package below
#yum-y Install perl*
# yum-y Install perl-mime-lite*
# yum-y Install perl-libwww-perl*
# yum-y Install perl*
# yum-y Install rrdtool*
# RPM-IVH rpmforge-release-0.5.2-2.el5.rf.i386.rpm
# RPM-IVH monitorix-3.5.1-1-noarch.rpm
3. Turn on the service and set the boot up
# service Monitorix Start
# Chkconfig Monitorix on
4. Modify the Monitorix configuration file
Modify the/etc/monitorix/monitorix.conf configuration file
<multihost>
Enabled = N
Footer_url = y
Graphs_per_row = 2
remotehost_list = server 1, server 2, server 3
<remotehost_desc>
0 = http://www.example.com,/monitorix,/monitorix-cgi
1 = http://192.168.10.221,/monitorix,/monitorix-cgi
2 = http://192.168.0.100:8080,/,/
</remotehost_desc>
Groups = N
Remotegroup_list = My Group
<remotegroup_desc>
0 = server 2, server 3
</remotegroup_desc>
</multihost>
Restart Monitorix Service
#service Monitorix Restart
Finally, enter Http://localhost:8080/monitorix in the address bar of the browser to monitor the Linux host.
As follows
650) this.width=650; "Width=" "height=" 701 "title=" Qq20140724140304.png "style=" WIDTH:654PX;HEIGHT:327PX; "src=" Http://s3.51cto.com/wyfs02/M02/41/15/wKiom1PQowijKH1CAAE0HX8AKJc349.jpg "alt=" Wkiom1pqowijkh1caae0hx8akjc349.jpg "/>
650) this.width=650; "Width=" "height=" 865 "title=" Qq20140724140350.png "style=" WIDTH:652PX;HEIGHT:437PX; "src=" Http://s3.51cto.com/wyfs02/M02/41/15/wKioL1PQpH7gbWg5AAe0jHKeQ14462.jpg "alt=" Wkiol1pqph7gbwg5aae0jhkeq14462.jpg "/>
650) this.width=650; "Width=" "height=" 862 "title=" Qq20140724140411.png "style=" width:656px;height:393px; "src=" Http://s3.51cto.com/wyfs02/M02/41/16/wKioL1PQpYrAFW9VAAmQ835ub48693.jpg "alt=" Wkiol1pqpyrafw9vaamq835ub48693.jpg "/>
This article from the "Software Testing" blog, declined reprint!