Performance monitoring tool Munin

The actual scene


 The company's products to be seen whether Ubuntu host capability to measure customer site products to meet the needs of high-frequency use

 

Selection


 After comparing a lot of tools, consider the time factor cost, with a relatively simple Munin

 

installation steps


1. apt-get install munin

2. Place the following statement in front of the # removed

// generates a file storage path 
dbdir / var / lib / munin htmldir / var / cache / munin / www started at / var / log / angina rundir / var / RUN / the munin
// the HTML template path
tmpldir / etc / the munin / Templates
// hostname modify (if necessary), the position following the following line
# a simple host tree

3. Configure the web server to allow access munin page, such as Nginx

server {

        listen 88
server_name munin_server; location / { root / var / cache / munin / www; index index.html index.htm; }

4. Restart munin and nginx

service munin-node restart
service nginx restart

 

Instructions


Access Path: http: //127.0.0.1: 88 / (if it is outside the network, replaces the external network address is 127.0.0.1)

Many indicators can be seen daily, weekly, monthly and yearly statistics view, very convenient

 

 

Extension: server performance monitoring of key indicators


  •  CPU: idle index, the higher the free end of the load

      

  • Memory : See unused size, the greater the smaller the unused server load

      

  • Disk: IO Wait Time greater, the larger the disk. IOwait divided into Read IO Wait Time and Write IO Wait TIme

        

  • Network: the network and look into the average bandwidth and server bandwidth to do with the percentage (this is Ali cloud and Huawei cloud clearer)

         

 

 

 Extension: Other common tools


  1.  Zabbix: the most widely used enterprise applications
  2. Nagios: Open Source powerful graphical tools
  3. open-falcon: millet open source monitoring system , more suitable for domestic use habits programmer
  4. MRTG: graphical interface tool

         The first three are open source monitoring tools are often used to compare, contrast can refer to the following ( evaluation on this network, just a reference tool only to achieve maximum value at the appropriate scene )

        

        Reference: https://www.cnblogs.com/taiyonghai/p/6651805.html

 

Extension: Under Linux common supervisory command


  1. top: a powerful real-time performance monitoring command, is strongly recommended
  2. free: Checking the Memory Usage
  3. df: View disk space
  4. netstat: View network case

 

Guess you like

Origin www.cnblogs.com/roostinghawk/p/10927516.html