Web Monitoring with YAML

YAML parameters for Web Monitoring

NameTypeDescription
action
Required
StringThe ID of the action.
type
Required
StringThe type of the action. Should be set to WEB.
destination
Required
StringThe 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

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 April 26, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.