HTTP Message

The monitoring message is in JSON formatted object sent over HTTP/s to the configured monitoring address. The HTTP header consists of the following information and header fields:
cad1215
The monitoring message is in JSON formatted object sent over HTTP/s to the configured monitoring address. The HTTP header consists of the following information and header fields:
PUT /{uri}/dxmonitor/v1/{event} HTTP/1.1<CR><LF>
Host: {hostname}<CR><LF>
User-Agent: CA Directory<CR><LF>
Authorization: Basic {credentials}<CR><LF>
Accept: application/json<CR><LF>
Content-Type: application/json; charset=UTF-8<CR><LF>
Content-Length: {length}<CR><LF>
Connection: keep-alive<CR><LF>
Pragma: no-cache<CR><LF>
Cache-Control: no-cache<CR><LF>
<CR><LF>
{JSON message}
Where
uri
The uri is taken from configured monitoring URL, for example, http://host:20000/uri.
event
The events currently supported are: log, alarm, event, cache, stats, dsastats, multiwrite.
hostname
The hostname refers to the full qualified name of the host that is sending information.
credentials
Base64 encoded credentials, if configured.
length
Length of attached JSON message.
JSON message
Object containing monitoring information in JSON format.