Opsgenie API HTTPS Monitor
This uses the new authorization method required by Opsgenie's v2 API. Authorization key passed into script and included in header.
There are 2 arguments that are part of this script.
- Client Identifier: Shown below in <Client_Identifier>
- GenieKey
Example
https://api.opsgenie.com/v2/heartbeats/<Client_Identifier>/ping'
--header 'Authorization: GenieKey aa0a000-00aa-000a-000a-0aa0a0aaaa00