Yannik Schmidt e81a69cffd
All checks were successful
ci / docker (push) Successful in 1m9s
fix: use message as link source fallback
2026-02-28 23:54:06 +01:00
2026-02-28 23:44:37 +01:00
2024-11-03 14:11:12 +01:00
2024-02-19 18:40:44 +01:00

HTTP -> Notification Service

Simplistic server to listing for HTTP queries, specifically from Icinga or Grafana and send out Alert-Messages.

HTTP Request

The HTTP request must be a POST-request, with Content-Type: application/json and a json-field containing the key "message" with the value being the message you want to send.

The following locations are supported:

/send-all   	# send a message to all subscribed clients
/send-all-icinga 	# send a message based on icinga-noficiation format

Example (curl)

curl -u nobody:API_PASS -X POST -H "Content-Type: application/json" --data '{"message":"hello world"}' localhost:5000/send-all

Additional Packages Required

The following additional packages might be requried (on Debian) to successfully install the python-ldap-requirement:

apt install libsasl2-dev python-dev libldap2-dev libssl-dev
Description
Simple HTTP-Flask server to forward Icinga Messages to signal
Readme 326 KiB
Languages
Python 97.9%
Dockerfile 2.1%