TCP Monitoring with YAML

YAML parameters for TCP Monitoring

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to TCP.
destination
Required
StringThe target URL.
port
Required
StringThe port for the connection.
post_dataStringThe data that will be sent.
textStringText that should or should not be present in the response.

YAML example for TCP Monitoring

actions:
- action: "Check site status"
type: "TCP"
port: "4567"
post_data: "test"
text: "ok"
destination: "$site"
variables:
- key: "site"
value: "app.buddy.works"