inv.yml 43.3 KB
Newer Older
1
2
3
4
5
---
all:
  children:
    dc-DC:
      hosts:
6
        noc-node-centos7:
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
          activator_loglevel: info
          activator_power: 2
          activator_script_threads: 20
          activator_tos: 0
          ansible_ssh_pipelining: true
          bi_language: en-us
          bi_loglevel: info
          bi_power: 2
          bi_query_threads: 10
          card_language: en-us
          card_loglevel: info
          card_power: 2
          ch_datasource_loglevel: info
          ch_datasource_power: 2
          chwriter_batch_delay_ms: 1000
          chwriter_batch_size: 50000
          chwriter_channel_expire_interval: 300
          chwriter_loglevel: info
          chwriter_power: 1
          chwriter_records_buffer: 1000000
          classifier_default_interface_profile: default
          classifier_loglevel: info
          classifier_lookup_solution: noc.services.classifier.rulelookup.RuleLookup
          classifier_power: 2
EKbfh's avatar
EKbfh committed
31
          classifier_backup_power: 2
32
33
34
35
          clickhouse_db: noc
          clickhouse_password: noc
          clickhouse_query_size: 262144
          clickhouse_ro_password: noc
EKbfh's avatar
EKbfh committed
36
          clickhouse_ro_grafana_password: noc
37
38
39
40
41
42
43
44
45
          clickhouse_user: noc
          config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
          consul_master_token: null
          consul_power: bootstrap
          consul_replication_token: null
          consul_template_use_dedup: 'False'
          correlator_loglevel: info
          correlator_max_threads: 10
          correlator_power: 1
46
47
          datastream_loglevel: info
          datastream_power: 2
48
          datastream_mode: wait
EKbfh's avatar
EKbfh committed
49
          datastream_whitelist_access: ""
50
51
52
53
54
55
56
57
          discovery_backup_power: 1
          discovery_loglevel: info
          discovery_max_threads: 10
          discovery_power: 2
          escalator_loglevel: info
          escalator_max_threads: 10
          escalator_power: 1
          goss_validate_fw: true
EKbfh's avatar
EKbfh committed
58
          goss_version: 0.3.11
59
60
61
62
63
64
65
66
67
68
69
70
71
72
          grafana_pg_password: grafana
          grafanads_db_threads: 10
          grafanads_loglevel: info
          grafanads_power: 2
          has_svc_activator: true
          has_svc_bi: true
          has_svc_card: true
          has_svc_ch_datasource: true
          has_svc_chwriter: true
          has_svc_classifier: true
          has_svc_clickhouse: true
          has_svc_consul: true
          has_svc_consul_template: true
          has_svc_correlator: true
73
          has_svc_datastream: true
74
75
          has_svc_discovery: true
          has_svc_escalator: true
76
          has_svc_selfmon: true
77
78
79
          has_svc_goss: true
          has_svc_grafana: true
          has_svc_grafanads: true
EKbfh's avatar
EKbfh committed
80
          has_svc_liftbridge: true
81
82
83
84
          has_svc_login: true
          has_svc_mailsender: true
          has_svc_memcached: true
          has_svc_mongod: true
EKbfh's avatar
EKbfh committed
85
          has_svc_metrics: true
86
          has_svc_mrt: true
e_zombie's avatar
e_zombie committed
87
          has_svc_mx: true
EKbfh's avatar
EKbfh committed
88
          has_svc_nats: true
EKbfh's avatar
EKbfh committed
89
          has_svc_nbi: true
90
91
          has_svc_nginx: true
          has_svc_noc: true
e_zombie's avatar
e_zombie committed
92
          has_svc_kafkasender: true
93
94
95
96
97
98
99
          has_svc_pgbouncer: true
          has_svc_ping: true
          has_svc_postgres: true
          has_svc_sae: true
          has_svc_scheduler: true
          has_svc_syslogcollector: true
          has_svc_trapcollector: true
EKbfh's avatar
EKbfh committed
100
          has_svc_ui: true
101
          has_svc_web: true
EKbfh's avatar
EKbfh committed
102
          has_svc_worker: true
103
104
105
106
107
108
109
110
111
          install_method: git
          installation_type: eval
          login_language: en-us
          login_loglevel: info
          login_methods: local
          login_pam_service: noc
          login_power: 2
          login_radius_secret: null
          login_radius_server: null
EKbfh's avatar
EKbfh committed
112
          login_session_ttl: 7d
113
114
115
116
117
118
119
120
121
122
123
124
          mailsender_from_address: noc@example.com
          mailsender_helo_hostname: noc
          mailsender_loglevel: info
          mailsender_power: 1
          mailsender_smtp_password: null
          mailsender_smtp_port: 25
          mailsender_smtp_server: null
          mailsender_smtp_user: null
          mailsender_use_tls: 'False'
          memcached_max_clients: 1024
          memcached_max_memory: 64
          mongod_db: noc
EKbfh's avatar
EKbfh committed
125
          mongod_logging_destination: syslog
126
127
128
129
          mongod_password: noc
          mongod_power: server
          mongod_rs: noc
          mongod_user: noc
EKbfh's avatar
EKbfh committed
130
          mongod_version: "4.4"
131
132
133
          mrt_loglevel: info
          mrt_max_concurrency: 50
          mrt_power: 2
EKbfh's avatar
EKbfh committed
134
135
136
          nats_cluster_user: noc
          nats_cluster_password: noc
          nats_loglevel: info
EKbfh's avatar
EKbfh committed
137
138
139
          nbi_loglevel: info
          nbi_power: 2
          nbi_whitelist_access: ""
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
          nginx_cert: |
            -----BEGIN CERTIFICATE-----
            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
            -----END CERTIFICATE-----

          nginx_cert_key: |
            -----BEGIN PRIVATE KEY-----
            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
            GB3i9UFuEYEVOWBtjzEY5G2K1znlQQ==
            -----END PRIVATE KEY-----
          nginx_external_cert_management: 'False'
          nginx_http_redirect: 'True'
          nginx_json_logging: 'False'
          nginx_self_signed_cerificate: 'True'
          nginx_permit_firewall: 'True'
          noc_all_pools:
            - description: Default pool for NOC
              name: default
          noc_consul_token: noc
          noc_dc: DC
          noc_env: NOC
          noc_env_type: eval
          noc_group: noc
          noc_installation_name: Unconfigured installation
EKbfh's avatar
EKbfh committed
238
          noc_python_interpreter: python3
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
          noc_repo: https://github.com/nocproject/noc.git
          noc_root: /opt/noc
          noc_services:
            - config:
                loglevel: info
                power: 2
                script_threads: 20
                tos: 0
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,yaml:///opt/noc/etc/pool-default.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                  - sae
                  - discovery
                level: pool
                supervisord:
                  command: ./services/activator/service.py
                  oom_score_adj: 300
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
              name: activator
              pool: default
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
            - config:
                loglevel: info
                power: 1
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/selfmon/service.py
                  oom_score_adj: 50
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 2
              name: selfmon
              pool: null
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
            - config:
                language: en-us
                loglevel: info
                power: 2
                query_threads: 10
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                  - clickhouse
                level: global
                required_assets:
                  - bi
                supervisord:
                  command: ./services/bi/service.py
                  oom_score_adj: 50
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 2
              name: bi
              pool: null
            - config:
                language: en-us
                loglevel: info
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                  - nginx
                level: global
                required_assets:
                  - card
                  - web
                supervisord:
                  command: ./services/card/service.py
                  oom_score_adj: 100
                  priority: 300
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 1
              name: card
              pool: null
            - config:
                loglevel: info
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                  - mongod
                level: global
                supervisord:
                  command: ./services/datasource/service.py
                  oom_score_adj: 999
                  priority: 100
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 1MB
                  stopwaitsecs: 3
              name: ch_datasource
              pool: null
            - config:
                batch_delay_ms: 1000
                batch_size: 50000
                channel_expire_interval: 300
                loglevel: info
                power: 1
                records_buffer: 1000000
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                  - clickhouse
                level: global
                supervisord:
                  command: ./services/chwriter/service.py
                  oom_score_adj: 10
                  priority: 300
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 2
              name: chwriter
              pool: null
            - config:
                default_interface_profile: default
                loglevel: info
                lookup_solution: noc.services.classifier.rulelookup.RuleLookup
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,yaml:///opt/noc/etc/pool-default.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                  - mongod
                level: pool
                supervisord:
                  command: ./services/classifier/service.py
                  oom_score_adj: 50
                  priority: 300
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
              name: classifier
              pool: default
            - config:
                loglevel: info
                max_threads: 10
                power: 1
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,yaml:///opt/noc/etc/pool-default.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: pool
                supervisord:
                  command: ./services/correlator/service.py
                  oom_score_adj: 20
                  priority: 150
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 5
              name: correlator
              pool: default
423
424
425
            - config:
                loglevel: info
                power: 2
426
                mode: wait
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                  - mongod
                level: global
                supervisord:
                  command: ./services/datastream/service.py
                  oom_score_adj: 999
                  priority: 100
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 1MB
                  stopwaitsecs: 3
              name: datastream
              pool: null
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
            - config:
                backup_power: 1
                loglevel: info
                max_threads: 10
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,yaml:///opt/noc/etc/pool-default.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: pool
                supervisord:
                  command: ./services/discovery/service.py
                  oom_score_adj: 500
                  priority: 100
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
              name: discovery
              pool: default
            - config:
                loglevel: info
                max_threads: 10
                power: 1
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/escalator/service.py
                  oom_score_adj: 5
                  priority: 50
                  process_name: '%(program_name)s'
                  startretries: 999
                  stdout_logfile_backups: 10
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
              name: escalator
              pool: null
            - config:
                db_threads: 10
                loglevel: info
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                  - grafana
                  - nginx
                level: global
                supervisord:
                  command: ./services/grafanads/service.py
                  oom_score_adj: 900
                  priority: 500
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 1
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 1
              name: grafanads
              pool: null
            - config:
                language: en-us
                loglevel: info
                methods: local
                pam_service: noc
                power: 2
                radius_secret: null
                radius_server: null
                session_ttl: 7
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/login/service.py
                  oom_score_adj: 10
                  priority: 40
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 5
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
              name: login
              pool: null
            - config:
                from_address: noc@example.com
                helo_hostname: noc
                loglevel: info
                power: 1
                smtp_password: null
                smtp_port: 25
                smtp_server: null
                smtp_user: null
                use_tls: 'False'
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/mailsender/service.py
                  oom_score_adj: 100
                  priority: 600
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
              name: mailsender
              pool: null
            - config:
                loglevel: info
                max_concurrency: 50
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/mrt/service.py
                  oom_score_adj: 100
                  priority: 110
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
              name: mrt
              pool: null
e_zombie's avatar
e_zombie committed
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
            - config:
                loglevel: info
                max_concurrency: 1
                power: 1
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/mx/service.py
                  oom_score_adj: 100
                  priority: 110
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
              name: mx
              pool: null
EKbfh's avatar
EKbfh committed
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
            - config:
                loglevel: info
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/nbi/service.py
                  oom_score_adj: 999
                  priority: 100
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 1MB
                  stopwaitsecs: 3
              name: nbi
              pool: null
e_zombie's avatar
e_zombie committed
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
            - config:
                loglevel: info
                power: 1
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/kafkasender/service.py
                  oom_score_adj: 100
                  priority: 110
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
              name: kafkasender
              pool: null
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
            - config:
                backup_power: 1
                loglevel: info
                power: 4
                restore_threshold: 0
                throttle_threshold: 0
                tos: 0
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,yaml:///opt/noc/etc/pool-default.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: pool
                supervisord:
                  command: ./services/ping/service.py
                  oom_score_adj: 200
                  priority: 90
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 1
                  user: root
              name: ping
              pool: default
            - config:
                db_threads: 4
                loglevel: info
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/sae/service.py
                  oom_score_adj: 300
                  priority: 90
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 1
              name: sae
              pool: null
            - config:
                loglevel: info
                max_threads: 10
                power: 1
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/scheduler/service.py
                  oom_score_adj: 100
                  priority: 50
                  process_name: '%(program_name)s'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
              name: scheduler
              pool: null
            - config:
                listen_syslog: 0.0.0.0:514
                loglevel: info
                power: 1
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,yaml:///opt/noc/etc/pool-default.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: pool
                supervisord:
                  command: ./services/syslogcollector/service.py
                  oom_score_adj: 50
                  priority: 200
                  process_name: '%(program_name)s'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 3
                  user: root
              name: syslogcollector
              pool: default
            - config:
                listen_traps: 0.0.0.0:162
                loglevel: info
                power: 1
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,yaml:///opt/noc/etc/pool-default.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: pool
                supervisord:
                  command: ./services/trapcollector/service.py
                  oom_score_adj: 50
                  priority: 200
                  process_name: '%(program_name)s'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 2
                  user: root
              name: trapcollector
              pool: default
            - config:
                language: en-us
                loglevel: info
                max_threads: 10
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                  - nginx
                level: global
                required_assets:
                  - web
                  - mib
                supervisord:
                  command: ./services/web/service.py
                  oom_score_adj: 300
                  priority: 50
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 2
              name: web
              pool: null
EKbfh's avatar
EKbfh committed
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
            - config:
                loglevel: info
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                  - nginx
                level: global
                supervisord:
                  command: ./services/ui/service.py
                  oom_score_adj: 300
                  priority: 50
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 2
              name: ui
              pool: null
            - config:
                loglevel: info
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/metrics/service.py
                  oom_score_adj: 300
                  priority: 50
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 2
              name: metrics
              pool: null
            - config:
                backup_power: 1
                loglevel: info
                power: 2
              config_order: yaml:///opt/noc/etc/tower.yml,yaml:///opt/noc/etc/settings.yml,env:///NOC
              environment:
                category: internal
                depends:
                  - noc
                level: global
                supervisord:
                  command: ./services/worker/service.py
                  oom_score_adj: 300
                  priority: 50
                  process_name: '%(program_name)s-%(process_num)02d'
                  startretries: 999
                  stdout_logfile_backups: 3
                  stdout_logfile_maxbytes: 10MB
                  stopwaitsecs: 2
              name: worker
              pool: null
845
846
          noc_user: noc
          noc_version: microservices
847
          noc_web_host: noc-node-centos7
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
          node_id: 1
          pgbouncer_max_clients: 3000
          pgbouncer_max_db_connections: 10
          ping_backup_power: 1
          ping_loglevel: info
          ping_power: 4
          ping_restore_threshold: 0
          ping_throttle_threshold: 0
          ping_tos: 0
          playbook_link: git+https://github.com/nocproject/ansible_deploy@microservices
          postgres_max_clients: 300
          postgres_noc_db: noc
          postgres_noc_password: noc
          postgres_noc_user: noc
          postgres_power: master
          postgres_replicator_password: noc
          postgres_superuser_password: noc
865
          postgres_version: "14"
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
          required_assets:
            - web
            - mib
            - bi
            - card
          sae_db_threads: 4
          sae_loglevel: info
          sae_power: 2
          scheduler_loglevel: info
          scheduler_max_threads: 10
          scheduler_power: 1
          syslogcollector_listen_syslog: 0.0.0.0:514
          syslogcollector_loglevel: info
          syslogcollector_power: 1
          syslogcollector_permit_firewall: 1
Aleksey Shirokih's avatar
Aleksey Shirokih committed
881
          tower_data: /tmp/dist
882
          tower_ssh_keys: /opt/tower/var/tower/ssh/NOC
EKbfh's avatar
EKbfh committed
883
          trapcollector_listen_traps: "0.0.0.0:162"
884
885
886
887
888
889
890
          trapcollector_loglevel: info
          trapcollector_power: 1
          trapcollector_permit_firewall: 1
          web_language: en-us
          web_loglevel: info
          web_max_threads: 10
          web_power: 2
891
    noc-config-noc-node-centos7:
892
      hosts:
893
        noc-node-centos7: {}
894
895
    nodes:
      hosts:
896
        noc-node-centos7: {}
897
898
    svc-activator:
      children:
899
        cfg-activator-default-noc-node-centos7:
900
          hosts:
901
            noc-node-centos7: {}
902
903
904
        svc-activator-read: {}
    svc-activator-exec:
      hosts:
905
        noc-node-centos7: {}
906
907
    svc-bi:
      children:
908
        cfg-bi-noc-node-centos7:
909
          hosts:
910
            noc-node-centos7: {}
911
912
913
        svc-bi-read: {}
    svc-bi-exec:
      hosts:
914
        noc-node-centos7: {}
915
916
    svc-card:
      children:
917
        cfg-card-noc-node-centos7:
918
          hosts:
919
            noc-node-centos7: {}
920
921
922
        svc-card-read: {}
    svc-card-exec:
      hosts:
923
        noc-node-centos7: {}
924
925
    svc-ch_datasource:
      children:
926
        cfg-ch_datasource-noc-node-centos7:
927
          hosts:
928
            noc-node-centos7: {}
929
930
931
        svc-ch_datasource-read: {}
    svc-ch_datasource-exec:
      hosts:
932
        noc-node-centos7: {}
933
934
    svc-chwriter:
      children:
935
        cfg-chwriter-noc-node-centos7:
936
          hosts:
937
            noc-node-centos7: {}
938
939
940
        svc-chwriter-read: {}
    svc-chwriter-exec:
      hosts:
941
        noc-node-centos7: {}
942
943
    svc-classifier:
      children:
944
        cfg-classifier-default-noc-node-centos7:
945
          hosts:
946
            noc-node-centos7: {}
947
948
949
        svc-classifier-read: {}
    svc-classifier-exec:
      hosts:
950
        noc-node-centos7: {}
951
952
    svc-clickhouse:
      children:
953
        cfg-clickhouse-noc-node-centos7:
954
          hosts:
955
            noc-node-centos7: {}
956
957
        svc-clickhouse-read:
          hosts:
958
            noc-node-centos7: {}
959
960
    svc-clickhouse-exec:
      hosts:
961
        noc-node-centos7: {}
962
963
    svc-consul:
      children:
964
        cfg-consul-noc-node-centos7:
965
          hosts:
966
            noc-node-centos7: {}
967
968
        svc-consul-read:
          hosts:
969
            noc-node-centos7: {}
970
971
    svc-consul-exec:
      hosts:
972
        noc-node-centos7: {}
973
974
    svc-consul-template:
      children:
975
        cfg-consul-template-noc-node-centos7:
976
          hosts:
977
            noc-node-centos7: {}
978
979
        svc-consul-template-read:
          hosts:
980
            noc-node-centos7: {}
981
982
    svc-consul-template-exec:
      hosts:
983
        noc-node-centos7: {}
984
985
    svc-correlator:
      children:
986
        cfg-correlator-default-noc-node-centos7:
987
          hosts:
988
            noc-node-centos7: {}
989
990
991
        svc-correlator-read: {}
    svc-correlator-exec:
      hosts:
992
        noc-node-centos7: {}
993
994
    svc-datastream:
      children:
995
        cfg-datastream-noc-node-centos7:
996
          hosts:
997
            noc-node-centos7: {}
998
999
1000
        svc-datastream-read: {}
    svc-datastream-exec:
      hosts:
For faster browsing, not all history is shown. View entire blame