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

Adding alert transport for ilert. #15880

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lprosch
Copy link

@lprosch lprosch commented Mar 5, 2024

Please give a short description what your pull request is for

DO NOT DELETE THE UNDERLYING TEXT

Please note

Please read this information carefully. You can run ./lnms dev:check to check your code before submitting.

  • Have you followed our code guidelines?
  • If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
  • If my Pull Request makes discovery/polling/yaml changes, I have added/updated test data.

Testers

If you would like to test this pull request then please run: ./scripts/github-apply <pr_id>, i.e ./scripts/github-apply 5926
After you are done testing, you can remove the changes with ./scripts/github-remove. If there are schema changes, you can ask on discord how to revert.

@lprosch lprosch force-pushed the ilert_transport branch 4 times, most recently from 8bbd215 to 5abc303 Compare March 5, 2024 16:33
$data = ['apiKey' => $opts, 'eventType' => $alert_data['event_type'], 'summary' => $alert_data['msg']];
$data = json_encode($data);

$curl = curl_init('https://api.ilert.com/api/events');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@murrant murrant added the User-Pending Currently waiting for user response label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Alerting 🔔 User-Pending Currently waiting for user response
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants