apache / hertzbeat

Apache HertzBeat(incubating) is a real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities.
https://hertzbeat.apache.org/
Apache License 2.0
5.24k stars 910 forks source link

[feature] Implement IMAP protocol support #2059

Closed zuobiao-zhou closed 1 month ago

zuobiao-zhou commented 1 month ago

What's changed?

The IMAP protocol, also known as the Internet Message Access Protocol, is similar to the POP3 protocol and can be used to monitor mailbox information. However, the IMAP protocol provides users with a more convenient and reliable experience because it can monitor more detailed mailbox information, including specific information under each folder in the mailbox.

This PR implements support for the IMAP protocol and provides monitoring templates for QQ email and NetEase email

It should be noted that in order to implement Java's support for UTF-7 encoding, a third-party package com.beetstra.utf7 has been introduced, which uses the MIT License.

I will add ut and help doc later.

image image

Checklist

Add or update API

zuobiao-zhou commented 1 month ago

All tasks have been completed.

tomsun28 commented 1 month ago

👍lgtm! Recommended that merge this after releasing version 1.6.0.