WebHook broker that accepts notifications from multiple platforms and performs simple actions in response
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sensu.py 224B

123456789
  1. from .service import Service
  2. class Sensu(Service):
  3. def __init__(self):
  4. super().__init__("sensu")
  5. def accept_hook(self, identifier, request):
  6. yield {"type": "sensu", **request.get_json(force=True)}