When a notification to a subscribed URL is sent, the Content-type header value is set to application/json
. When an event occurs, the OTD sends HTTP POST to the endpoint with a message body that contains a JSON document with the name/value pairs as described in this section.
Table 13-1 JSON properties common to all events
JSON property | Description |
---|---|
event-type |
Type of the event. Value: |
domain-name |
Name of the domain where Oracle Traffic Director instance is configured. |
instance-name |
Name of the Oracle Traffic Director instance. |
timestamp |
The time when the event occurred and detected by OTD. |
Table 13-2 JSON property specific to origin-server-status-change event
JSON property | Description |
---|---|
pool-name |
Origin server pool name to which the origin server is associated with. |
host |
Origin server host for which the status being sent. |
port |
Origin server port. |
status |
Online or offline. |
reason |
Reason for Oracle Traffic Director marking the origin server as offline or online. |
protocol |
Health check protocol used. |