summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/sdc-frontend/chef-repo/cookbooks/sdc-catalog-fe/files/default/FE-ecomp-error-configuration.yaml
blob: 8982b2424f5f3027a57d986f87c9fe05c864fe66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
###########################################
# Note the conventions of the field values:
# type can be one of: CONFIG_ERROR, SYSTEM_ERROR, DATA_ERROR, CONNECTION_PROBLEM
# severity can be one of: WARN, ERROR, FATAL
# alarmSeverity can be one of: CRITICAL,MAJOR,MINOR,INFORMATIONAL,NONE
# code is a unique integer in range of 3003-9999 (3000-3002 are occupied for internal usage)
# The above enumeration values are out-of-the-box and can be changed in code. 
# In case of config and code mismatch, the appropriate error will be printed to log
#
# Range of FE codes - 8000-9999


errors:
    FeHealthCheckConnectionError: {
        type: CONNECTION_PROBLEM,
        code: ASDC_8000,
        severity: ERROR,
        description: "Connection error during FE Health Check",
        alarmSeverity: CRITICAL
    }
    FeHttpLoggingError: {
        type: SYSTEM_ERROR,
        code: ASDC_8001,
        severity: ERROR,
        description: "Error when logging FE HTTP request/response",
        alarmSeverity: MINOR
    }
    FePortalServletError: {
        type: SYSTEM_ERROR,
        code: ASDC_8002,
        severity: ERROR,
        description: "Error when trying to access FE Portal page",
        alarmSeverity: MAJOR
    }
    FeHealthCheckGeneralError: {
        type: SYSTEM_ERROR,
        code: ASDC_8004,
        severity: ERROR,
        description: "General error during FE Health Check",
        alarmSeverity: CRITICAL
    }
    FeHealthCheckRecovery: {
        type: RECOVERY,
        code: ASDC_8005,
        severity: INFO,
        description: "BE Health Check Recovery",
        alarmSeverity: INFORMATIONAL
    }