Knowledge

Web Monitoring

Parameters

Name Description
action Required String The ID of the action.
destination Required String The target URL.
type Required String The type of the action. Should be set to WEB.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
headers Header[] The headers that will be sent with the request.
login String The username required to connect to the server.
password String The password required to connect to the server.
port String The port for the connection.
post_data String The data that will be sent.
text String The text that should or should not be present in the response.
text_existence Boolean Defines whether the response should or should not contain given text. If set, the text argument is required.

Example

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"

Get started now

14 days of unlimited trial. No credit card required.