Recent updates to the Edwin Alarm and monitoring platform (Python source)

Source: Internet
Author: User

Since its release, Edwin has received a lot of attention and won many star. Some significant improvements have been made recently, and some of the documentation has been perfected.
Project Address: Https://github.com/harryliu/edwin, welcome fork or PR, if you like, please hit star.

re-introduce the Edwin Project

The Edwin is an alarm and monitoring platform that can be used to monitor anything, such as an anomaly (classified as warning and critical), and can be alerted. You can customize how alerts are notified, such as email/SMS/Phone. In addition, it provides a web UI that can display the status of monitoring metrics in dashboard form.

Edwin for the Monitoring project, from small to large is: Check item, pagelet, page, dashboard. In addition, you can assign one or more team to the check item to be responsible. This flexible organization makes the Edwin Ideal for managing a large number of monitoring items.

In a word, Edwin is a very good monitoring and alarm platform for team use, and is also suitable for multiple teams to share.

main improvement points:
1. Added a new API to get the configuration information for check item
During the agent writing and running process, it is likely to be necessary to understand the configuration information of check item in db, such as whether it has been banned on the server side, or if the check logic is adjusted according to the check instructions set by the server.

2. The server upgraded the third-party library PYPYODBC to version 1.3.
Originally used the PYPYODBC 1.2 version, the actual operation, found a more serious memory leak. After the upgrade, long-term observation, Edwin memory consumption is very smooth.

3. In the API for registering check results, a new parameter is added check_notification_msg
Originally only a textual description of the results of the examination, that is, check_detail_msg, if the examination results are abnormal, this text description will appear in the Web display and alarm messages. In practical use, it is gradually found that using a descriptive text is not appropriate. For example, in an alarm message, we always want to see the most detailed information in the message (such as the limit value of the alarm, etc.) so that the recipient can see the message and know what happened. In the Web display, because the alarm limit value and other information has been shown, the text check results should be direct.
So added a new text check result attribute, namely check_notification_msg, this attribute will appear in the mail alarm, and the original check_detail_msg, will be dedicated to the Web presentation.


4. Textual description of the result of the Check property enabled HTML notation
Check_detail_msg and Check_notification_msg originally did not enable HTML writing, display, the text message is often a long string, simple typesetting can not be done, such as line change. HTML notation is now enabled, Web presentation and message body is more beautiful, of course, you need to handle the escape of HTML special characters, such as display less than sign, need to do HTML escape.


List of documents
1. The default Readme uses the Chinese introduction, has completed, the link readme.md
2. Check item configuration description, completed, link check_item_cfg.md
3. Installation deployment, English completed, link install_and_deploy.md
4. How to develop the agent program, not completed, link write_your_own_agent.md

Recent updates to the Edwin Alarm and monitoring platform (Python source)

Related Article

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.