Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to return HTTP response text for SMTP #5454

Open
krowvin opened this issue Dec 20, 2024 · 0 comments
Open

Option to return HTTP response text for SMTP #5454

krowvin opened this issue Dec 20, 2024 · 0 comments
Labels
area:notifications Everything related to notifications feature-request Request for new features to be added type:enhance-existing feature wants to enhance existing monitor

Comments

@krowvin
Copy link

krowvin commented Dec 20, 2024

πŸ“‘ I have found these related issues/pull requests

Did not see related issue

🏷️ Feature Request Type

Change to existing notification-provider, Change to existing monitor

πŸ”– Feature description

Requesting the SMTP notification option allow optional toggling (opt in) of the monitor to return its response text.

βœ”οΈ Solution

  1. User sets up alert for HTTP GET on a REST API
  2. User enables SMTP
  3. User checks box to enable response text
  4. Code returns the HTTP response in the body of the email with a set character limit of ####

❓ Alternatives

Allowing a response message lets you do things like create cgi-bin scripts that can dymancally change response codes and return additional JSON data based on the response returned.

πŸ“ Additional Context

Having control of also being able to optionally set response body in the email will add more definition to the alerts.

Here are examples of what i was able to do in my own clone for what I need.
image
image

Having this going forward would certainly make it easier for me to update!

@krowvin krowvin added the feature-request Request for new features to be added label Dec 20, 2024
@krowvin krowvin changed the title Option to return HTTP / check data for SMTP Option to return HTTP response text for SMTP Dec 20, 2024
@CommanderStorm CommanderStorm added area:notifications Everything related to notifications type:enhance-existing feature wants to enhance existing monitor labels Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:notifications Everything related to notifications feature-request Request for new features to be added type:enhance-existing feature wants to enhance existing monitor
Projects
None yet
Development

No branches or pull requests

2 participants