Web Monitoring with YAML

YAML parameters for Web Monitoring

NameTypeDescription
action RequiredStringThe ID of the action.
type RequiredStringThe type of the action. Should be set to WEB.
destination RequiredStringThe target URL.
headersHeader[]The headers that will be sent with the request.
loginStringThe username required to connect to the server.
passwordStringThe password required to connect to the server.
portStringThe port for the connection.
post_dataStringThe data that will be sent.
textStringThe text that should or should not be present in the response.
text_existenceBooleanDefines whether the response should or should not contain given text. If set, the text argument is required.

YAML example for Web Monitoring

yaml
actions: - action: "Check https://buddy.works/status status" type: "WEB" login: "owner@buddy.works" password: "supersecretpassword" headers: - name: "User-Agent" value: "Buddy" - name: "Content-Type" value: "application/json" post_data: "{\r\n \"test\": true\r\n}" text: "fail" text_existence: true destination: "https://buddy.works/status"

Last modified on Sep 23, 2024