inv.yml 40.8 KB
Newer Older
1
2
3
4
5
---
all:
  children:
    dc-DC:
      hosts:
EKbfh's avatar
EKbfh committed
6
        noc-node-freebsd12:
7
8
9
10
11
          activator_loglevel: info
          activator_power: 2
          activator_script_threads: 20
          activator_tos: 0
          ansible_ssh_pipelining: true
Dmitry Lukhtionov's avatar
Dmitry Lukhtionov committed
12
          ansible_python_interpreter: /usr/local/bin/python
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
          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
32
          classifier_backup_power: 2
33
34
35
36
37
38
39
40
41
42
43
44
45
          clickhouse_db: noc
          clickhouse_password: noc
          clickhouse_query_size: 262144
          clickhouse_ro_password: noc
          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
          correlator_backup_power: 1
47
48
          datastream_loglevel: info
          datastream_power: 2
49
          datastream_mode: wait
EKbfh's avatar
EKbfh committed
50
          datastream_whitelist_access: ""
51
52
53
54
55
56
57
58
          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
59
          goss_version: 0.3.11
60
61
62
63
64
65
66
67
68
69
70
71
72
73
          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
74
          has_svc_datastream: true
75
76
          has_svc_discovery: true
          has_svc_escalator: true
77
          has_svc_selfmon: true
78
79
          has_svc_grafana: true
          has_svc_grafanads: true
EKbfh's avatar
EKbfh committed
80
          has_svc_liftbridge: true
81
82
83
84
85
          has_svc_login: true
          has_svc_mailsender: true
          has_svc_memcached: true
          has_svc_mongod: true
          has_svc_mrt: true
e_zombie's avatar
e_zombie committed
86
          has_svc_mx: true
EKbfh's avatar
EKbfh committed
87
          has_svc_nats: true
EKbfh's avatar
EKbfh committed
88
          has_svc_nbi: true
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
          has_svc_nginx: true
          has_svc_noc: true
          has_svc_nsqd: true
          has_svc_nsqlookupd: true
          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
          has_svc_web: true
          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
110
          login_session_ttl: 7d
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
          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
          mongod_engine: wiredTiger
          mongod_logging_destination: file
          mongod_password: noc
          mongod_power: server
          mongod_rs: noc
          mongod_user: noc
EKbfh's avatar
EKbfh committed
129
          mongod_version: 4.0
130
131
132
          mrt_loglevel: info
          mrt_max_concurrency: 50
          mrt_power: 2
EKbfh's avatar
EKbfh committed
133
134
135
          nats_cluster_user: noc
          nats_cluster_password: noc
          nats_loglevel: info
EKbfh's avatar
EKbfh committed
136
137
138
          nbi_loglevel: info
          nbi_power: 2
          nbi_whitelist_access: ""
139
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
          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
237
          noc_python_interpreter: python3
238
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
          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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
            - 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
283
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
423
            - 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
                  - nsqlookupd
                  - nsqd
                  - 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
424
425
426
            - config:
                loglevel: info
                power: 2
427
                mode: wait
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
              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
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
585
            - 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
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
            - 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
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
            - 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
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
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
            - 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
                  - nsqlookupd
                  - nsqd
                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
          noc_user: noc
          noc_version: microservices
EKbfh's avatar
EKbfh committed
768
          noc_web_host: noc-node-freebsd12
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
          node_id: 1
          nsqd_max_messages_in_memory: 10000
          nsqd_max_msg_size: 1048576
          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
          postgres_version: 9.6
          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
804
          tower_data: /tmp/dist
805
806
807
808
809
810
811
812
813
          tower_ssh_keys: /opt/tower/var/tower/ssh/NOC
          trapcollector_listen_traps: 0.0.0.0:162
          trapcollector_loglevel: info
          trapcollector_power: 1
          trapcollector_permit_firewall: 1
          web_language: en-us
          web_loglevel: info
          web_max_threads: 10
          web_power: 2
EKbfh's avatar
EKbfh committed
814
    noc-config-noc-node-freebsd12:
815
      hosts:
EKbfh's avatar
EKbfh committed
816
        noc-node-freebsd12: {}
817
818
    nodes:
      hosts:
EKbfh's avatar
EKbfh committed
819
        noc-node-freebsd12: {}
820
821
    svc-activator:
      children:
EKbfh's avatar
EKbfh committed
822
        cfg-activator-default-noc-node-freebsd12:
823
          hosts:
EKbfh's avatar
EKbfh committed
824
            noc-node-freebsd12: {}
825
826
827
        svc-activator-read: {}
    svc-activator-exec:
      hosts:
EKbfh's avatar
EKbfh committed
828
        noc-node-freebsd12: {}
829
830
    svc-bi:
      children:
EKbfh's avatar
EKbfh committed
831
        cfg-bi-noc-node-freebsd12:
832
          hosts:
EKbfh's avatar
EKbfh committed
833
            noc-node-freebsd12: {}
834
835
836
        svc-bi-read: {}
    svc-bi-exec:
      hosts:
EKbfh's avatar
EKbfh committed
837
        noc-node-freebsd12: {}
838
839
    svc-card:
      children:
EKbfh's avatar
EKbfh committed
840
        cfg-card-noc-node-freebsd12:
841
          hosts:
EKbfh's avatar
EKbfh committed
842
            noc-node-freebsd12: {}
843
844
845
        svc-card-read: {}
    svc-card-exec:
      hosts:
EKbfh's avatar
EKbfh committed
846
        noc-node-freebsd12: {}
847
848
    svc-ch_datasource:
      children:
EKbfh's avatar
EKbfh committed
849
        cfg-ch_datasource-noc-node-freebsd12:
850
          hosts:
EKbfh's avatar
EKbfh committed
851
            noc-node-freebsd12: {}
852
853
854
        svc-ch_datasource-read: {}
    svc-ch_datasource-exec:
      hosts:
EKbfh's avatar
EKbfh committed
855
        noc-node-freebsd12: {}
856
857
    svc-chwriter:
      children:
EKbfh's avatar
EKbfh committed
858
        cfg-chwriter-noc-node-freebsd12:
859
          hosts:
EKbfh's avatar
EKbfh committed
860
            noc-node-freebsd12: {}
861
862
863
        svc-chwriter-read: {}
    svc-chwriter-exec:
      hosts:
EKbfh's avatar
EKbfh committed
864
        noc-node-freebsd12: {}
865
866
    svc-classifier:
      children:
EKbfh's avatar
EKbfh committed
867
        cfg-classifier-default-noc-node-freebsd12:
868
          hosts:
EKbfh's avatar
EKbfh committed
869
            noc-node-freebsd12: {}
870
871
872
        svc-classifier-read: {}
    svc-classifier-exec:
      hosts:
EKbfh's avatar
EKbfh committed
873
        noc-node-freebsd12: {}
874
875
    svc-clickhouse:
      children:
EKbfh's avatar
EKbfh committed
876
        cfg-clickhouse-noc-node-freebsd12:
877
          hosts:
EKbfh's avatar
EKbfh committed
878
            noc-node-freebsd12: {}
879
880
        svc-clickhouse-read:
          hosts:
EKbfh's avatar
EKbfh committed
881
            noc-node-freebsd12: {}
882
883
    svc-clickhouse-exec:
      hosts:
EKbfh's avatar
EKbfh committed
884
        noc-node-freebsd12: {}
885
886
    svc-consul:
      children:
EKbfh's avatar
EKbfh committed
887
        cfg-consul-noc-node-freebsd12:
888
          hosts:
EKbfh's avatar
EKbfh committed
889
            noc-node-freebsd12: {}
890
891
        svc-consul-read:
          hosts:
EKbfh's avatar
EKbfh committed
892
            noc-node-freebsd12: {}
893
894
    svc-consul-exec:
      hosts:
EKbfh's avatar
EKbfh committed
895
        noc-node-freebsd12: {}
896
897
    svc-consul-template:
      children:
EKbfh's avatar
EKbfh committed
898
        cfg-consul-template-noc-node-freebsd12:
899
          hosts:
EKbfh's avatar
EKbfh committed
900
            noc-node-freebsd12: {}
901
902
        svc-consul-template-read:
          hosts:
EKbfh's avatar
EKbfh committed
903
            noc-node-freebsd12: {}
904
905
    svc-consul-template-exec:
      hosts:
EKbfh's avatar
EKbfh committed
906
        noc-node-freebsd12: {}
907
908
    svc-correlator:
      children:
EKbfh's avatar
EKbfh committed
909
        cfg-correlator-default-noc-node-freebsd12:
910
          hosts:
EKbfh's avatar
EKbfh committed
911
            noc-node-freebsd12: {}
912
913
914
        svc-correlator-read: {}
    svc-correlator-exec:
      hosts:
EKbfh's avatar
EKbfh committed
915
        noc-node-freebsd12: {}
916
917
    svc-datastream:
      children:
EKbfh's avatar
EKbfh committed
918
        cfg-datastream-noc-node-freebsd12:
919
          hosts:
EKbfh's avatar
EKbfh committed
920
            noc-node-freebsd12: {}
921
922
923
        svc-datastream-read: {}
    svc-datastream-exec:
      hosts:
EKbfh's avatar
EKbfh committed
924
        noc-node-freebsd12: {}
925
926
    svc-discovery:
      children:
EKbfh's avatar
EKbfh committed
927
        cfg-discovery-default-noc-node-freebsd12:
928
          hosts:
EKbfh's avatar
EKbfh committed
929
            noc-node-freebsd12: {}
930
931
        svc-discovery-read:
          hosts:
EKbfh's avatar
EKbfh committed
932
            noc-node-freebsd12: {}
933
934
    svc-discovery-exec:
      hosts:
EKbfh's avatar
EKbfh committed
935
        noc-node-freebsd12: {}
936
937
    svc-escalator:
      children:
EKbfh's avatar
EKbfh committed
938
        cfg-escalator-noc-node-freebsd12:
939
          hosts:
EKbfh's avatar
EKbfh committed
940
            noc-node-freebsd12: {}
941
942
943
        svc-escalator-read: {}
    svc-escalator-exec:
      hosts:
EKbfh's avatar
EKbfh committed
944
        noc-node-freebsd12: {}
945
946
    svc-goss:
      children:
EKbfh's avatar
EKbfh committed
947
        cfg-goss-noc-node-freebsd12:
948
          hosts:
EKbfh's avatar
EKbfh committed
949
            noc-node-freebsd12: {}
950
951
952
        svc-goss-read: {}
    svc-goss-exec:
      hosts:
EKbfh's avatar
EKbfh committed
953
        noc-node-freebsd12: {}
954
955
    svc-grafana:
      children:
EKbfh's avatar
EKbfh committed
956
        cfg-grafana-noc-node-freebsd12:
957
          hosts:
EKbfh's avatar
EKbfh committed
958
            noc-node-freebsd12: {}
959
960
        svc-grafana-read:
          hosts:
EKbfh's avatar
EKbfh committed
961
            noc-node-freebsd12: {}
962
963
    svc-grafana-exec:
      hosts:
EKbfh's avatar
EKbfh committed
964
        noc-node-freebsd12: {}
965
966
    svc-grafanads:
      children:
EKbfh's avatar
EKbfh committed
967
        cfg-grafanads-noc-node-freebsd12:
968
          hosts:
EKbfh's avatar
EKbfh committed
969
            noc-node-freebsd12: {}
970
971
972
        svc-grafanads-read: {}
    svc-grafanads-exec:
      hosts:
EKbfh's avatar
EKbfh committed
973
        noc-node-freebsd12: {}
EKbfh's avatar
EKbfh committed
974
975
976
977
978
979
980
981
    svc-liftbridge:
      children:
        cfg-liftbridge-noc-node-freebsd12: {}
      vars:
        liftbridge_loglevel: info
    svc-liftbridge-exec:
      hosts:
        noc-node-freebsd12: {}
982
983
    svc-login:
      children:
EKbfh's avatar
EKbfh committed
984
        cfg-login-noc-node-freebsd12:
985
          hosts:
EKbfh's avatar
EKbfh committed
986
            noc-node-freebsd12: {}
987
988
989
        svc-login-read: {}
    svc-login-exec:
      hosts:
EKbfh's avatar
EKbfh committed
990
        noc-node-freebsd12: {}
991
992
    svc-mailsender:
      children:
EKbfh's avatar
EKbfh committed
993
        cfg-mailsender-noc-node-freebsd12:
994
          hosts:
EKbfh's avatar
EKbfh committed
995
            noc-node-freebsd12: {}
996
997
998
        svc-mailsender-read: {}
    svc-mailsender-exec:
      hosts:
EKbfh's avatar
EKbfh committed
999
        noc-node-freebsd12: {}
1000
    svc-memcached:
For faster browsing, not all history is shown. View entire blame