Log monitoring-file Update Time Monitoring

Source: Internet
Author: User

In addition to the ps command or query port, the Process status can be confirmed by checking related logs. If the process log settings are reasonable, the log file should contain the process information, including the processed data and exceptions. Because the log file is written, the log timestamp is updated accordingly. By monitoring whether the log file is refreshed, you can check whether the process has any errors, such as process suspension and client connection failure, the database is disconnected.


In our supported applications, we also used to check whether the log update date is consistent with the system date to determine whether the process is normal. According to the check results, most of the processes can be checked in this way. There are some non-"active" processes: processes without data to be processed, their logs are not updated for many days, so some additional configuration files are added to this configuration file, and these files are ignored during the check.


From the running status, the effect is good.


This article from the "Automated O & M" blog, please be sure to keep this source http://wuliming.blog.51cto.com/9058188/1440886

Log monitoring-file Update Time Monitoring

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.