Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status check not working on one site #124

Open
iburrows opened this issue May 5, 2020 · 0 comments
Open

Status check not working on one site #124

iburrows opened this issue May 5, 2020 · 0 comments

Comments

@iburrows
Copy link

iburrows commented May 5, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant