WebHook broker that accepts notifications from multiple platforms and performs simple actions in response
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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)}