Hi there,
I noticed my cachet status not being updates, when check fails. When creating new items and setting them to "unhealthy", they are automatically shifted to "healthy" (I guess by cachet-monitor). Afterwards it notes unhealthy states, but does not update the status at cachet:
INFO [2021-10-23 19:49:57,357] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - Unexpected HTTP status (404)
WARNING [2021-10-23 19:49:57,357] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - Failure #1 with threshold set to 3
INFO [2021-10-23 19:49:57,357] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - No changes to component status.
INFO [2021-10-23 19:49:57,357] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - Unexpected HTTP status (404)
WARNING [2021-10-23 19:49:57,357] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - Failure #2with threshold set to 3
INFO [2021-10-23 19:49:57,357] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - No changes to component status.
INFO [2021-10-23 19:45:18,026] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - Unexpected HTTP status (404)
WARNING [2021-10-23 19:45:18,050] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - Failure #3 with threshold set to 3
INFO [2021-10-23 19:45:18,050] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - No changes to component status.
INFO [2021-10-23 19:49:57,357] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - Unexpected HTTP status (404)
WARNING [2021-10-23 19:49:57,357] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - Failure #4 with threshold set to 3
INFO [2021-10-23 19:49:57,357] cachet_url_monitor.configuration.Configuration.wordpress-docker-service - No changes to component status.
Cachet Monitor is configured as illustrated below:
endpoints:
- name: wordpress-docker-service
url: https://www.my-wordpress-example.de/
method: GET
timeout: 2 # seconds
expectation:
- type: HTTP_STATUS
status_range: 200-300
incident: MAJOR
allowed_fails: 3
component_id: 29
action:
- UPDATE_STATUS
public_incidents: true
latency_unit: ms
frequency: 30
cachet:
api_url: https://status.example.de/api/v1
token:
- type: TOKEN
value: ***
messages:
incident_outage: "{name} is unavailable"
incident_operational: "{name} is operational"
incident_performance: "{name} has degraded performance"
Do I check incorrectly or do something wrong?
I am using cachet:latest and cachet-monitor:latest.
BTW: Is there any setting for logging WARNING, only? These Info notifications are nice, but flooding.
Hi there,
I noticed my cachet status not being updates, when check fails. When creating new items and setting them to "unhealthy", they are automatically shifted to "healthy" (I guess by cachet-monitor). Afterwards it notes unhealthy states, but does not update the status at cachet:
Cachet Monitor is configured as illustrated below:
Do I check incorrectly or do something wrong?
I am using
cachet:latestandcachet-monitor:latest.BTW: Is there any setting for logging
WARNING, only? TheseInfonotifications are nice, but flooding.