mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-05-10 06:16:05 +01:00
Initial attempt at creating incidents when an URL becomes unhealthy. Missing to actually call it from the scheduler. #3
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
COMPONENT_STATUS_OPERATIONAL = 1
|
||||
COMPONENT_STATUS_PERFORMANCE_ISSUES = 2
|
||||
COMPONENT_STATUS_PARTIAL_OUTAGE = 3
|
||||
COMPONENT_STATUS_MAJOR_OUTAGE = 4
|
||||
|
||||
COMPONENT_STATUSES = [COMPONENT_STATUS_OPERATIONAL,
|
||||
COMPONENT_STATUS_PERFORMANCE_ISSUES, COMPONENT_STATUS_PARTIAL_OUTAGE,
|
||||
COMPONENT_STATUS_MAJOR_OUTAGE]
|
||||
Reference in New Issue
Block a user