Lightweight monitoring Tool--monit

Source: Internet
Author: User

Today we found a lightweight tool that is much lighter than cacti and nagios ....


Very simple installation

http://mmonit.com/monit/

Configure the file to run after decompression.

Vim/etc/monitrc

Set Daemon #check service at second

Set Logfile/var/log/monit.log #save Log

Set Pidfile/var/run/monit.pid #pid file

Set mailserver localhost #primary mail server

#--8<--
#set mail-format {
#      from: [email protected] $HOST
#    subject:monit alert--  $EVENT $SERVICE
#   message: $EVENT SERVICE $SERVICE
# & nbsp;               Date:         $DATE
#                  action:      $ACTION
#                  host:         $HOST
#                  Description: $DESCRIPTION
#
#            Your Faithful employee,
#            Monit
#}

# #--8<--

The above is the alert format

Set alert [email protected] #接收mail

Set httpd port 2812 and

Use Address xxx.xxx.xxx #访问monit地址

Allow 0.0.0.0/0.0.0.0 #允许所有地址访问, you can specify an address, a network segment access

Allow Admin:monit #用户名与密码

After modifying the configuration file, move the configuration file to/etc/and execute bin/monit to start

http://192.168.xx.xx:2812/

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/6B/65/wKioL1UsxKDwYh1KAAFEEkAncIc406.jpg "title=" Sogou 20150414153016.png "alt=" wkiol1usxkdwyh1kaafeekancic406.jpg "/>650) this.width=650;" Src= "http://s3.51cto.com /wyfs02/m00/6b/65/wkiol1usxmhhow2gaafeekancic711.jpg "title=" Sogou 20150414153016.png "alt=" Wkiol1usxmhhow2gaafeekancic711.jpg "/>


PDF Description Document

Https://mmonit.com/documentation/mmonit_manual.pdf

The monitoring syntax and instructions are in the PDF.


Grammar follow-up study.

This article is from the "Joewen" blog, make sure to keep this source http://303528.blog.51cto.com/293528/1632303

Lightweight monitoring Tool--monit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.