Skip to content

Status check not working on one site #124

@iburrows

Description

@iburrows

Hi, the monitor is working well for all of the endpoints except for one. Even though the endpoint returns 200.
It is for a Hashicorp Vault instance and returns:

{
  "initialized": true,
  "sealed": false,
  "standby": false,
  "performance_standby": false,
  "replication_performance_mode": "disabled",
  "replication_dr_mode": "disabled",
  "server_time_utc": 1588661588,
  "version": "1.4.0",
  "cluster_name": "vault-cluster",
  "cluster_id": "123456qwqw-sdfs"
}

The monitor always shows that part of the requests are filling the threshold.
This is my config file:

api:
  # cachet url
  url: https://status.com/api/v1
  # cachet api token
  token: TOKEN
  insecure: false
date_format: 02/01/2006 15:04:05 MST
monitors:
  - name: Vault
    target: https://vault.instance/v1/sys/health
    strict: true
    method: GET
    component_id: 6
    interval: 10
    timeout: 1
    threshold: 80
    expected_status_code: 200

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions