Refactoring: Moved check parameters from unsorted.py to dedicated modules (CMK-1393)
[check_mk.git] / notifications / pagerduty
blobf8b53f9253cac81ed84e31400813962158a420a7
1 #!/usr/bin/env python
2 # PagerDuty
3 from cmk.notification_plugins.pagerduty import pagerduty_msg
4 from cmk.notification_plugins.utils import post_request
6 if __name__ == "__main__":
7 # PagerDuty replies with 202 because the request is further processed
8 # by them. Thus their reply only includes field validation checks.
9 post_request(pagerduty_msg, success_code=202)