Web Monitoring with YAML
Tip
YAML parameters for Web Monitoring
Name | Type | Description |
---|---|---|
action Required | String | The ID of the action. |
type Required | String | The type of the action. Should be set to WEB . |
destination Required | String | The target URL. |
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. |
YAML example for Web Monitoring
yamlactions: - 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