tower.yml 1.41 KB
Newer Older
1
2
---
forms:
3
4
5
6
7
  correlator:
    description: >
      <strong>Service type</strong>: Internal <br/>
      <strong>Short description</strong>: Correlator <br/>
      <strong>Long description</strong>: Correlate events to alarms. <br/>
Aleksey Shirokih's avatar
Aleksey Shirokih committed
8
      <strong>Scale Recommendations</strong>: Have to be at least one per pool and not more than one on each node.  <br/>
9
      <strong>docs</strong>: <a href=http://docs.getnoc.com/en/latest/services/correlator/ target=_blank>Correlator</a><br/>
Aleksey Shirokih's avatar
Aleksey Shirokih committed
10
      <strong>Placement constraint</strong>: Place more correlators to different nodes. <br/>
11
12
13
14
    power:
      default: 1
      label: "Instances"
      type: int
15
      max: 1
16
      min: 0
17
18
19
20
21
22
    backup_power:
      default: 1
      label: "Additional Instances"
      type: int
      max: 16
      min: 0
23
24
25
26
27
28
29
30
31
32
    loglevel:
      default: info
      label: Loglevel
      type: list
      options:
        - disabled
        - debug
        - info
        - warning
        - error
EKbfh's avatar
EKbfh committed
33
        - critical
34
35
36
37
    max_threads:
      default: 10
      label: "Correlator threads"
      type: int
Aleksey Shirokih's avatar
Aleksey Shirokih committed
38

39
40
services:
  correlator:
41
42
    level: pool
    category: internal
Aleksey Shirokih's avatar
Aleksey Shirokih committed
43
44
45
46
47
48
49
50
51
52
    supervisord:
      command: "./services/correlator/service.py"
      process_name: "%(program_name)s-%(process_num)02d"
      oom_score_adj: 20
      priority: 150
      startretries: 999
      stopwaitsecs: 5
      stdout_logfile_maxbytes: 10MB
      stdout_logfile_backups: 3
    depends:
Aleksey Shirokih's avatar
Aleksey Shirokih committed
53
      - noc
EKbfh's avatar
EKbfh committed
54
      - liftbridge