mtakaki / cachet-url-monitor

URL monitor plugin for cachethq.io
MIT License
124 stars 48 forks source link

Regex doesn't match text on checked site page #138

Open ratkobucic opened 1 year ago

ratkobucic commented 1 year ago

I want to check and report if Bitbucket have some issues on any component. Checking https://bitbucket.status.atlassian.com/ status page and trying to match regex for "All Systems Operational" but that fails for some reason, even that text is found on page? Any idea what I'm doing wrong ?

  - CREATE_INCIDENT
  - UPDATE_STATUS
  allowed_fails: 1
  component_id: 2
  expectation:
  - incident: MAJOR
    status_range: 200-300
    type: HTTP_STATUS
  - type: REGEX
    regex: "^All Systems Operational$"
  frequency: 300
  method: GET
  name: Codebase
  public_incidents: true
  timeout: 30
  url: https://bitbucket.status.atlassian.com/