Presence Canary
- Token is defined by the environment variable
OPERATOR_TOKEN
Usage
- Set up your canary listener at some accessible URL
- Configure manual actions to send a
POST
request:- With the
Authorization
header set toBearer $OPERATOR_TOKEN
- and a plaintext request body that describes the reason for the ping
- With the
- You can access the URL in a browser to see the 8 latest pings, with timestamps.
Pinging with cURL
$ curl \
-H "Authorization: $OPERATOR_TOKEN" \
-d "$REASON" \
"$CANARY_URL"
[...]