TrueSight API Documentation
OverviewAccountActionsAdministration
Alarms v1Alarms v2BatchingDashboards
DatasetsEventsExtended Metrics
HostgroupsGroupsMetersMetricsProduct
PluginsRelaysSourcesSynchronize Data
Tenants
Terms

POST/v1/relays/:relay/output

Adds output messages to the relay. Used by the relay to communicate output from execution and commands

URL Parameters

relay

Hostname of the relay

Request body

The request body should be an array of message objects. Each message object should contain:

type

Message type, can be 'error', 'info', or 'warn'

plugin

Plugin scope of the message (optional)

msg

Text of message

ts

Time stamp in Unix epoch format

Example request

curl https://api.truesight.bmc.com/v1/relays/:relay/output \
-X POST \
-u <email>:<api-token> \
-H "Content-Type: application/json" \
-d '
{
   "type": "error",
   "plugin": "nginx",
   "msg": "There was an error installing the nginx plugin",
   "ts": 1380581486
}'