mirror of
https://github.com/mtan93/cachet-url-monitor.git
synced 2026-04-04 06:13:09 +01:00
16 lines
469 B
Python
16 lines
469 B
Python
#!/usr/bin/env python
|
|
"""
|
|
This file defines all the different status different values.
|
|
These are all constants and are coupled to cachet's API configuration.
|
|
"""
|
|
|
|
|
|
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]
|