Created
October 27, 2019 18:49
-
-
Save gspncr/805899774f92367b6148ea9e6900eb9a to your computer and use it in GitHub Desktop.
New Relic Partner enablement - post monitor to json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://synthetics.newrelic.com/synthetics/api/v3/monitors | |
Header: | |
X-Api-Key {{apiKey}} | |
Content-Type application/json | |
Body: | |
{ | |
"name": "Gary Homepage", | |
"type": "SIMPLE", | |
"frequency": 30, | |
"uri": "https://my-lab-4-hostname.com:8080/wordpress/", | |
"locations": ["AWS_US_WEST_1","AWS_EU_WEST_2"], | |
"status": "ENABLED", | |
"slaThreshold": "1.0", | |
"options": { | |
"validationString": "New Relic", | |
"verifySSL": false, | |
"treatRedirectAsFailure": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment