-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
1Panel Version
v2.0.12 || v2.0.13
Please describe your needs or suggestions for improvements
Currently, the alert notification function only supports one configuration per notification method, making it impossible to configure different senders or recipients for different alert levels.
Please describe the solution you suggest
It is recommended to add an "Add Notification Method" button in the red rectangle area. Clicking the button would allow selecting the notification method to add (SMS, email, webhook), adding a blank notification method (similar to the initially unconfigured email setup). For webhook, it only needs to support configuring POST and GET types, the API URL, and the Body (using template syntax in the body to receive the system alert content, e.g., ${}).
Additional Information
PS. Since the 1panel version I am currently using does not support SMS notification configuration, my local implementation only adds multi-configuration support for webhooks. SMS notification methods have not undergone compatibility testing. Are you willing to accept this pull request?