Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "searches": {
- "alert_id1": {
- "data": {
- "properties": {
- "etag": "*",
- "Category": "Alert",
- "DisplayName": "HTTP Error code from XXX",
- "Query": "Response_s!=\\'200\\'",
- "Version": "1"
- }
- },
- "schedules": {
- "myschedule1": {
- "data": {
- "etag": "*",
- "properties": {
- "Interval": 6,
- "QueryTimeSpan": 6,
- "Enabled": "true"
- }
- },
- "actions": {
- "myaction1": {
- "etag": "*",
- "properties": {
- "Name": "MyEmailAction",
- "Version": "1",
- "Type": "Alert",
- "Threshold": {
- "Operator": "gt",
- "Value": 0
- },
- "EmailNotification": {
- "Recipients": ["recipient1@example.com",
- "recipient2@example.com"],
- "Subject": "This is the subject Error from XXX",
- "Attachment": "None"
- }
- }
- }
- }
- }
- }
- },
- "alert_id2": {
- "data": {
- "etag": "*",
- "properties": {
- "Category": "Alert",
- "DisplayName": "HTTP Error code from XXX",
- "Query": "Response_s!=\\'200\\'",
- "Version": "1"
- }
- },
- "schedules": {
- "myschedule2": {
- "data": {
- "etag": "*",
- "properties": {
- "Interval": 5,
- "QueryTimeSpan": 5,
- "Enabled": "true"
- }
- },
- "actions": {
- "myaction2": {
- "etag": "*",
- "properties": {
- "Name": "MyEmailAction2",
- "Version": "1",
- "Type": "Alert",
- "Threshold": {
- "Operator": "gt",
- "Value": 0
- },
- "EmailNotification": {
- "Recipients": [
- "hilko.krueger@example.com",
- "recipient2@example.com"
- ],
- "Subject": "This is the subject Error from XXX2",
- "Attachment": "None"
- }
- }
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement