@cryptotaxi247 / netdata-1 / commits / 812eb6287

cmake log2journal netdatacli (#16688)

* log2journal should not be linked against libnetdata; netdatacli is now linked against libnetdata so it does not need to redefine functions in libnetdata * reformatting for smaller width

Costa Tsaousis committed Dec 29, 2023 at 15:38 UTC 812eb6287404a0a644bb1f091d9a01a36a4227c3
3 files changed +1186 -1095
CMakeLists.txt
+1182 -998
@@ -413,756 +413,840 @@ endif()
413 # source files
414 #
415
416 -set(LIBJUDY_PREV_FILES libnetdata/libjudy/src/JudyL/JudyLPrev.c
417 - libnetdata/libjudy/src/JudyL/JudyLPrevEmpty.c)
418 -
419 -set(LIBJUDY_NEXT_FILES libnetdata/libjudy/src/JudyL/JudyLNext.c
420 - libnetdata/libjudy/src/JudyL/JudyLNextEmpty.c)
421 -
422 -set(LIBJUDY_SOURCES libnetdata/libjudy/src/Judy.h
423 - libnetdata/libjudy/src/JudyCommon/JudyMalloc.c
424 - libnetdata/libjudy/src/JudyCommon/JudyPrivate.h
425 - libnetdata/libjudy/src/JudyCommon/JudyPrivate1L.h
426 - libnetdata/libjudy/src/JudyCommon/JudyPrivateBranch.h
427 - libnetdata/libjudy/src/JudyL/JudyL.h
428 - libnetdata/libjudy/src/JudyL/JudyLByCount.c
429 - libnetdata/libjudy/src/JudyL/JudyLCascade.c
430 - libnetdata/libjudy/src/JudyL/JudyLCount.c
431 - libnetdata/libjudy/src/JudyL/JudyLCreateBranch.c
432 - libnetdata/libjudy/src/JudyL/JudyLDecascade.c
433 - libnetdata/libjudy/src/JudyL/JudyLDel.c
434 - libnetdata/libjudy/src/JudyL/JudyLFirst.c
435 - libnetdata/libjudy/src/JudyL/JudyLFreeArray.c
436 - libnetdata/libjudy/src/JudyL/j__udyLGet.c
437 - libnetdata/libjudy/src/JudyL/JudyLGet.c
438 - libnetdata/libjudy/src/JudyL/JudyLInsArray.c
439 - libnetdata/libjudy/src/JudyL/JudyLIns.c
440 - libnetdata/libjudy/src/JudyL/JudyLInsertBranch.c
441 - libnetdata/libjudy/src/JudyL/JudyLMallocIF.c
442 - libnetdata/libjudy/src/JudyL/JudyLMemActive.c
443 - libnetdata/libjudy/src/JudyL/JudyLMemUsed.c
444 - libnetdata/libjudy/src/JudyL/JudyLTables.c
445 - libnetdata/libjudy/src/JudyHS/JudyHS.c
446 - ${LIBJUDY_PREV_FILES}
447 - ${LIBJUDY_NEXT_FILES})
448 -
449 -set(LIBNETDATA_FILES ${CONFIG_H}
450 - libnetdata/adaptive_resortable_list/adaptive_resortable_list.c
451 - libnetdata/adaptive_resortable_list/adaptive_resortable_list.h
452 - libnetdata/config/appconfig.c
453 - libnetdata/config/appconfig.h
454 - libnetdata/aral/aral.c
455 - libnetdata/aral/aral.h
456 - libnetdata/avl/avl.c
457 - libnetdata/avl/avl.h
458 - libnetdata/buffer/buffer.c
459 - libnetdata/buffer/buffer.h
460 - libnetdata/circular_buffer/circular_buffer.c
461 - libnetdata/circular_buffer/circular_buffer.h
462 - libnetdata/clocks/clocks.c
463 - libnetdata/clocks/clocks.h
464 - libnetdata/completion/completion.c
465 - libnetdata/completion/completion.h
466 - libnetdata/datetime/iso8601.c
467 - libnetdata/datetime/iso8601.h
468 - libnetdata/datetime/rfc7231.c
469 - libnetdata/datetime/rfc7231.h
470 - libnetdata/datetime/rfc3339.c
471 - libnetdata/datetime/rfc3339.h
472 - libnetdata/dictionary/dictionary.c
473 - libnetdata/dictionary/dictionary.h
474 - libnetdata/eval/eval.c
475 - libnetdata/eval/eval.h
476 - libnetdata/facets/facets.c
477 - libnetdata/facets/facets.h
478 - libnetdata/functions_evloop/functions_evloop.c
479 - libnetdata/functions_evloop/functions_evloop.h
480 - libnetdata/gorilla/gorilla.cc
481 - libnetdata/gorilla/gorilla.h
482 - libnetdata/health/health.c
483 - libnetdata/health/health.h
484 - libnetdata/july/july.c
485 - libnetdata/july/july.h
486 - libnetdata/inlined.h
487 - libnetdata/json/json.c
488 - libnetdata/json/json.h
489 - libnetdata/json/jsmn.c
490 - libnetdata/json/jsmn.h
491 - libnetdata/libnetdata.c
492 - libnetdata/libnetdata.h
493 - libnetdata/line_splitter/line_splitter.c
494 - libnetdata/line_splitter/line_splitter.h
495 - libnetdata/libnetdata.h
496 - libnetdata/locks/locks.c
497 - libnetdata/locks/locks.h
498 - libnetdata/log/journal.c
499 - libnetdata/log/journal.h
500 - libnetdata/log/log.c
501 - libnetdata/log/log.h
502 - libnetdata/os.c
503 - libnetdata/os.h
504 - libnetdata/simple_hashtable.h
505 - libnetdata/endian.h
506 - libnetdata/onewayalloc/onewayalloc.c
507 - libnetdata/onewayalloc/onewayalloc.h
508 - libnetdata/popen/popen.c
509 - libnetdata/popen/popen.h
510 - libnetdata/procfile/procfile.c
511 - libnetdata/procfile/procfile.h
512 - libnetdata/query_progress/progress.c
513 - libnetdata/query_progress/progress.h
514 - libnetdata/required_dummies.h
515 - libnetdata/socket/security.c
516 - libnetdata/socket/security.h
517 - libnetdata/simple_pattern/simple_pattern.c
518 - libnetdata/simple_pattern/simple_pattern.h
519 - libnetdata/socket/socket.c
520 - libnetdata/socket/socket.h
521 - libnetdata/statistical/statistical.c
522 - libnetdata/statistical/statistical.h
523 - libnetdata/storage_number/storage_number.c
524 - libnetdata/storage_number/storage_number.h
525 - libnetdata/string/string.c
526 - libnetdata/string/string.h
527 - libnetdata/threads/threads.c
528 - libnetdata/threads/threads.h
529 - libnetdata/url/url.c
530 - libnetdata/url/url.h
531 - libnetdata/uuid/uuid.c
532 - libnetdata/uuid/uuid.h
533 - libnetdata/string/utf8.h
534 - libnetdata/worker_utilization/worker_utilization.c
535 - libnetdata/worker_utilization/worker_utilization.h
536 - libnetdata/http/http_access.c
537 - libnetdata/http/http_access.h
538 - libnetdata/http/http_defs.c
539 - libnetdata/http/http_defs.h
540 - libnetdata/dyn_conf/dyn_conf.c
541 - libnetdata/dyn_conf/dyn_conf.h)
416 +set(LIBJUDY_PREV_FILES
417 + libnetdata/libjudy/src/JudyL/JudyLPrev.c
418 + libnetdata/libjudy/src/JudyL/JudyLPrevEmpty.c
419 +)
420 +
421 +set(LIBJUDY_NEXT_FILES
422 + libnetdata/libjudy/src/JudyL/JudyLNext.c
423 + libnetdata/libjudy/src/JudyL/JudyLNextEmpty.c
424 +)
425 +
426 +set(LIBJUDY_SOURCES
427 + libnetdata/libjudy/src/Judy.h
428 + libnetdata/libjudy/src/JudyCommon/JudyMalloc.c
429 + libnetdata/libjudy/src/JudyCommon/JudyPrivate.h
430 + libnetdata/libjudy/src/JudyCommon/JudyPrivate1L.h
431 + libnetdata/libjudy/src/JudyCommon/JudyPrivateBranch.h
432 + libnetdata/libjudy/src/JudyL/JudyL.h
433 + libnetdata/libjudy/src/JudyL/JudyLByCount.c
434 + libnetdata/libjudy/src/JudyL/JudyLCascade.c
435 + libnetdata/libjudy/src/JudyL/JudyLCount.c
436 + libnetdata/libjudy/src/JudyL/JudyLCreateBranch.c
437 + libnetdata/libjudy/src/JudyL/JudyLDecascade.c
438 + libnetdata/libjudy/src/JudyL/JudyLDel.c
439 + libnetdata/libjudy/src/JudyL/JudyLFirst.c
440 + libnetdata/libjudy/src/JudyL/JudyLFreeArray.c
441 + libnetdata/libjudy/src/JudyL/j__udyLGet.c
442 + libnetdata/libjudy/src/JudyL/JudyLGet.c
443 + libnetdata/libjudy/src/JudyL/JudyLInsArray.c
444 + libnetdata/libjudy/src/JudyL/JudyLIns.c
445 + libnetdata/libjudy/src/JudyL/JudyLInsertBranch.c
446 + libnetdata/libjudy/src/JudyL/JudyLMallocIF.c
447 + libnetdata/libjudy/src/JudyL/JudyLMemActive.c
448 + libnetdata/libjudy/src/JudyL/JudyLMemUsed.c
449 + libnetdata/libjudy/src/JudyL/JudyLTables.c
450 + libnetdata/libjudy/src/JudyHS/JudyHS.c
451 + ${LIBJUDY_PREV_FILES}
452 + ${LIBJUDY_NEXT_FILES}
453 +)
454 +
455 +set(LIBNETDATA_FILES
456 + ${CONFIG_H}
457 + libnetdata/adaptive_resortable_list/adaptive_resortable_list.c
458 + libnetdata/adaptive_resortable_list/adaptive_resortable_list.h
459 + libnetdata/config/appconfig.c
460 + libnetdata/config/appconfig.h
461 + libnetdata/aral/aral.c
462 + libnetdata/aral/aral.h
463 + libnetdata/avl/avl.c
464 + libnetdata/avl/avl.h
465 + libnetdata/buffer/buffer.c
466 + libnetdata/buffer/buffer.h
467 + libnetdata/circular_buffer/circular_buffer.c
468 + libnetdata/circular_buffer/circular_buffer.h
469 + libnetdata/clocks/clocks.c
470 + libnetdata/clocks/clocks.h
471 + libnetdata/completion/completion.c
472 + libnetdata/completion/completion.h
473 + libnetdata/datetime/iso8601.c
474 + libnetdata/datetime/iso8601.h
475 + libnetdata/datetime/rfc7231.c
476 + libnetdata/datetime/rfc7231.h
477 + libnetdata/datetime/rfc3339.c
478 + libnetdata/datetime/rfc3339.h
479 + libnetdata/dictionary/dictionary.c
480 + libnetdata/dictionary/dictionary.h
481 + libnetdata/eval/eval.c
482 + libnetdata/eval/eval.h
483 + libnetdata/facets/facets.c
484 + libnetdata/facets/facets.h
485 + libnetdata/functions_evloop/functions_evloop.c
486 + libnetdata/functions_evloop/functions_evloop.h
487 + libnetdata/gorilla/gorilla.cc
488 + libnetdata/gorilla/gorilla.h
489 + libnetdata/health/health.c
490 + libnetdata/health/health.h
491 + libnetdata/july/july.c
492 + libnetdata/july/july.h
493 + libnetdata/inlined.h
494 + libnetdata/json/json.c
495 + libnetdata/json/json.h
496 + libnetdata/json/jsmn.c
497 + libnetdata/json/jsmn.h
498 + libnetdata/libnetdata.c
499 + libnetdata/libnetdata.h
500 + libnetdata/line_splitter/line_splitter.c
501 + libnetdata/line_splitter/line_splitter.h
502 + libnetdata/libnetdata.h
503 + libnetdata/locks/locks.c
504 + libnetdata/locks/locks.h
505 + libnetdata/log/journal.c
506 + libnetdata/log/journal.h
507 + libnetdata/log/log.c
508 + libnetdata/log/log.h
509 + libnetdata/os.c
510 + libnetdata/os.h
511 + libnetdata/simple_hashtable.h
512 + libnetdata/endian.h
513 + libnetdata/onewayalloc/onewayalloc.c
514 + libnetdata/onewayalloc/onewayalloc.h
515 + libnetdata/popen/popen.c
516 + libnetdata/popen/popen.h
517 + libnetdata/procfile/procfile.c
518 + libnetdata/procfile/procfile.h
519 + libnetdata/query_progress/progress.c
520 + libnetdata/query_progress/progress.h
521 + libnetdata/required_dummies.h
522 + libnetdata/socket/security.c
523 + libnetdata/socket/security.h
524 + libnetdata/simple_pattern/simple_pattern.c
525 + libnetdata/simple_pattern/simple_pattern.h
526 + libnetdata/socket/socket.c
527 + libnetdata/socket/socket.h
528 + libnetdata/statistical/statistical.c
529 + libnetdata/statistical/statistical.h
530 + libnetdata/storage_number/storage_number.c
531 + libnetdata/storage_number/storage_number.h
532 + libnetdata/string/string.c
533 + libnetdata/string/string.h
534 + libnetdata/threads/threads.c
535 + libnetdata/threads/threads.h
536 + libnetdata/url/url.c
537 + libnetdata/url/url.h
538 + libnetdata/uuid/uuid.c
539 + libnetdata/uuid/uuid.h
540 + libnetdata/string/utf8.h
541 + libnetdata/worker_utilization/worker_utilization.c
542 + libnetdata/worker_utilization/worker_utilization.h
543 + libnetdata/http/http_access.c
544 + libnetdata/http/http_access.h
545 + libnetdata/http/http_defs.c
546 + libnetdata/http/http_defs.h
547 + libnetdata/dyn_conf/dyn_conf.c
548 + libnetdata/dyn_conf/dyn_conf.h
549 +)
550
551 if(ENABLE_PLUGIN_EBPF)
544 - list(APPEND LIBNETDATA_FILES libnetdata/ebpf/ebpf.c
545 - libnetdata/ebpf/ebpf.h)
552 + list(APPEND LIBNETDATA_FILES
553 + libnetdata/ebpf/ebpf.c
554 + libnetdata/ebpf/ebpf.h
555 + )
556 endif()
557
548 -set(LIBH2O_FILES web/server/h2o/libh2o/deps/cloexec/cloexec.c
549 - web/server/h2o/libh2o/deps/libgkc/gkc.c
550 - web/server/h2o/libh2o/deps/libyrmcds/close.c
551 - web/server/h2o/libh2o/deps/libyrmcds/connect.c
552 - web/server/h2o/libh2o/deps/libyrmcds/recv.c
553 - web/server/h2o/libh2o/deps/libyrmcds/send.c
554 - web/server/h2o/libh2o/deps/libyrmcds/send_text.c
555 - web/server/h2o/libh2o/deps/libyrmcds/socket.c
556 - web/server/h2o/libh2o/deps/libyrmcds/strerror.c
557 - web/server/h2o/libh2o/deps/libyrmcds/text_mode.c
558 - web/server/h2o/libh2o/deps/picohttpparser/picohttpparser.c
559 - web/server/h2o/libh2o/lib/common/cache.c
560 - web/server/h2o/libh2o/lib/common/file.c
561 - web/server/h2o/libh2o/lib/common/filecache.c
562 - web/server/h2o/libh2o/lib/common/hostinfo.c
563 - web/server/h2o/libh2o/lib/common/http1client.c
564 - web/server/h2o/libh2o/lib/common/memcached.c
565 - web/server/h2o/libh2o/lib/common/memory.c
566 - web/server/h2o/libh2o/lib/common/multithread.c
567 - web/server/h2o/libh2o/lib/common/serverutil.c
568 - web/server/h2o/libh2o/lib/common/socket.c
569 - web/server/h2o/libh2o/lib/common/socketpool.c
570 - web/server/h2o/libh2o/lib/common/string.c
571 - web/server/h2o/libh2o/lib/common/time.c
572 - web/server/h2o/libh2o/lib/common/timeout.c
573 - web/server/h2o/libh2o/lib/common/url.c
574 - web/server/h2o/libh2o/lib/core/config.c
575 - web/server/h2o/libh2o/lib/core/configurator.c
576 - web/server/h2o/libh2o/lib/core/context.c
577 - web/server/h2o/libh2o/lib/core/headers.c
578 - web/server/h2o/libh2o/lib/core/logconf.c
579 - web/server/h2o/libh2o/lib/core/proxy.c
580 - web/server/h2o/libh2o/lib/core/request.c
581 - web/server/h2o/libh2o/lib/core/token.c
582 - web/server/h2o/libh2o/lib/core/util.c
583 - web/server/h2o/libh2o/lib/handler/access_log.c
584 - web/server/h2o/libh2o/lib/handler/chunked.c
585 - web/server/h2o/libh2o/lib/handler/compress.c
586 - web/server/h2o/libh2o/lib/handler/compress/gzip.c
587 - web/server/h2o/libh2o/lib/handler/errordoc.c
588 - web/server/h2o/libh2o/lib/handler/expires.c
589 - web/server/h2o/libh2o/lib/handler/fastcgi.c
590 - web/server/h2o/libh2o/lib/handler/file.c
591 - web/server/h2o/libh2o/lib/handler/headers.c
592 - web/server/h2o/libh2o/lib/handler/mimemap.c
593 - web/server/h2o/libh2o/lib/handler/proxy.c
594 - web/server/h2o/libh2o/lib/handler/redirect.c
595 - web/server/h2o/libh2o/lib/handler/reproxy.c
596 - web/server/h2o/libh2o/lib/handler/throttle_resp.c
597 - web/server/h2o/libh2o/lib/handler/status.c
598 - web/server/h2o/libh2o/lib/handler/headers_util.c
599 - web/server/h2o/libh2o/lib/handler/status/events.c
600 - web/server/h2o/libh2o/lib/handler/status/requests.c
601 - web/server/h2o/libh2o/lib/handler/http2_debug_state.c
602 - web/server/h2o/libh2o/lib/handler/status/durations.c
603 - web/server/h2o/libh2o/lib/handler/configurator/access_log.c
604 - web/server/h2o/libh2o/lib/handler/configurator/compress.c
605 - web/server/h2o/libh2o/lib/handler/configurator/errordoc.c
606 - web/server/h2o/libh2o/lib/handler/configurator/expires.c
607 - web/server/h2o/libh2o/lib/handler/configurator/fastcgi.c
608 - web/server/h2o/libh2o/lib/handler/configurator/file.c
609 - web/server/h2o/libh2o/lib/handler/configurator/headers.c
610 - web/server/h2o/libh2o/lib/handler/configurator/proxy.c
611 - web/server/h2o/libh2o/lib/handler/configurator/redirect.c
612 - web/server/h2o/libh2o/lib/handler/configurator/reproxy.c
613 - web/server/h2o/libh2o/lib/handler/configurator/throttle_resp.c
614 - web/server/h2o/libh2o/lib/handler/configurator/status.c
615 - web/server/h2o/libh2o/lib/handler/configurator/http2_debug_state.c
616 - web/server/h2o/libh2o/lib/handler/configurator/headers_util.c
617 - web/server/h2o/libh2o/lib/http1.c
618 - web/server/h2o/libh2o/lib/tunnel.c
619 - web/server/h2o/libh2o/lib/http2/cache_digests.c
620 - web/server/h2o/libh2o/lib/http2/casper.c
621 - web/server/h2o/libh2o/lib/http2/connection.c
622 - web/server/h2o/libh2o/lib/http2/frame.c
623 - web/server/h2o/libh2o/lib/http2/hpack.c
624 - web/server/h2o/libh2o/lib/http2/scheduler.c
625 - web/server/h2o/libh2o/lib/http2/stream.c
626 - web/server/h2o/libh2o/lib/http2/http2_debug_state.c)
627 -
628 -set(DAEMON_FILES daemon/buildinfo.c
629 - daemon/buildinfo.h
630 - daemon/common.c
631 - daemon/common.h
632 - daemon/daemon.c
633 - daemon/daemon.h
634 - daemon/event_loop.c
635 - daemon/event_loop.h
636 - daemon/global_statistics.c
637 - daemon/global_statistics.h
638 - daemon/analytics.c
639 - daemon/analytics.h
640 - daemon/main.c
641 - daemon/main.h
642 - daemon/signals.c
643 - daemon/signals.h
644 - daemon/service.c
645 - daemon/static_threads.c
646 - daemon/static_threads.h
647 - daemon/commands.c
648 - daemon/commands.h
649 - daemon/pipename.c
650 - daemon/pipename.h
651 - daemon/unit_test.c
652 - daemon/unit_test.h)
653 -
654 -set(H2O_FILES web/server/h2o/http_server.c
655 - web/server/h2o/http_server.h
656 - web/server/h2o/h2o_utils.c
657 - web/server/h2o/h2o_utils.h
658 - web/server/h2o/streaming.c
659 - web/server/h2o/streaming.h
660 - web/server/h2o/connlist.c
661 - web/server/h2o/connlist.h)
558 +set(LIBH2O_FILES
559 + web/server/h2o/libh2o/deps/cloexec/cloexec.c
560 + web/server/h2o/libh2o/deps/libgkc/gkc.c
561 + web/server/h2o/libh2o/deps/libyrmcds/close.c
562 + web/server/h2o/libh2o/deps/libyrmcds/connect.c
563 + web/server/h2o/libh2o/deps/libyrmcds/recv.c
564 + web/server/h2o/libh2o/deps/libyrmcds/send.c
565 + web/server/h2o/libh2o/deps/libyrmcds/send_text.c
566 + web/server/h2o/libh2o/deps/libyrmcds/socket.c
567 + web/server/h2o/libh2o/deps/libyrmcds/strerror.c
568 + web/server/h2o/libh2o/deps/libyrmcds/text_mode.c
569 + web/server/h2o/libh2o/deps/picohttpparser/picohttpparser.c
570 + web/server/h2o/libh2o/lib/common/cache.c
571 + web/server/h2o/libh2o/lib/common/file.c
572 + web/server/h2o/libh2o/lib/common/filecache.c
573 + web/server/h2o/libh2o/lib/common/hostinfo.c
574 + web/server/h2o/libh2o/lib/common/http1client.c
575 + web/server/h2o/libh2o/lib/common/memcached.c
576 + web/server/h2o/libh2o/lib/common/memory.c
577 + web/server/h2o/libh2o/lib/common/multithread.c
578 + web/server/h2o/libh2o/lib/common/serverutil.c
579 + web/server/h2o/libh2o/lib/common/socket.c
580 + web/server/h2o/libh2o/lib/common/socketpool.c
581 + web/server/h2o/libh2o/lib/common/string.c
582 + web/server/h2o/libh2o/lib/common/time.c
583 + web/server/h2o/libh2o/lib/common/timeout.c
584 + web/server/h2o/libh2o/lib/common/url.c
585 + web/server/h2o/libh2o/lib/core/config.c
586 + web/server/h2o/libh2o/lib/core/configurator.c
587 + web/server/h2o/libh2o/lib/core/context.c
588 + web/server/h2o/libh2o/lib/core/headers.c
589 + web/server/h2o/libh2o/lib/core/logconf.c
590 + web/server/h2o/libh2o/lib/core/proxy.c
591 + web/server/h2o/libh2o/lib/core/request.c
592 + web/server/h2o/libh2o/lib/core/token.c
593 + web/server/h2o/libh2o/lib/core/util.c
594 + web/server/h2o/libh2o/lib/handler/access_log.c
595 + web/server/h2o/libh2o/lib/handler/chunked.c
596 + web/server/h2o/libh2o/lib/handler/compress.c
597 + web/server/h2o/libh2o/lib/handler/compress/gzip.c
598 + web/server/h2o/libh2o/lib/handler/errordoc.c
599 + web/server/h2o/libh2o/lib/handler/expires.c
600 + web/server/h2o/libh2o/lib/handler/fastcgi.c
601 + web/server/h2o/libh2o/lib/handler/file.c
602 + web/server/h2o/libh2o/lib/handler/headers.c
603 + web/server/h2o/libh2o/lib/handler/mimemap.c
604 + web/server/h2o/libh2o/lib/handler/proxy.c
605 + web/server/h2o/libh2o/lib/handler/redirect.c
606 + web/server/h2o/libh2o/lib/handler/reproxy.c
607 + web/server/h2o/libh2o/lib/handler/throttle_resp.c
608 + web/server/h2o/libh2o/lib/handler/status.c
609 + web/server/h2o/libh2o/lib/handler/headers_util.c
610 + web/server/h2o/libh2o/lib/handler/status/events.c
611 + web/server/h2o/libh2o/lib/handler/status/requests.c
612 + web/server/h2o/libh2o/lib/handler/http2_debug_state.c
613 + web/server/h2o/libh2o/lib/handler/status/durations.c
614 + web/server/h2o/libh2o/lib/handler/configurator/access_log.c
615 + web/server/h2o/libh2o/lib/handler/configurator/compress.c
616 + web/server/h2o/libh2o/lib/handler/configurator/errordoc.c
617 + web/server/h2o/libh2o/lib/handler/configurator/expires.c
618 + web/server/h2o/libh2o/lib/handler/configurator/fastcgi.c
619 + web/server/h2o/libh2o/lib/handler/configurator/file.c
620 + web/server/h2o/libh2o/lib/handler/configurator/headers.c
621 + web/server/h2o/libh2o/lib/handler/configurator/proxy.c
622 + web/server/h2o/libh2o/lib/handler/configurator/redirect.c
623 + web/server/h2o/libh2o/lib/handler/configurator/reproxy.c
624 + web/server/h2o/libh2o/lib/handler/configurator/throttle_resp.c
625 + web/server/h2o/libh2o/lib/handler/configurator/status.c
626 + web/server/h2o/libh2o/lib/handler/configurator/http2_debug_state.c
627 + web/server/h2o/libh2o/lib/handler/configurator/headers_util.c
628 + web/server/h2o/libh2o/lib/http1.c
629 + web/server/h2o/libh2o/lib/tunnel.c
630 + web/server/h2o/libh2o/lib/http2/cache_digests.c
631 + web/server/h2o/libh2o/lib/http2/casper.c
632 + web/server/h2o/libh2o/lib/http2/connection.c
633 + web/server/h2o/libh2o/lib/http2/frame.c
634 + web/server/h2o/libh2o/lib/http2/hpack.c
635 + web/server/h2o/libh2o/lib/http2/scheduler.c
636 + web/server/h2o/libh2o/lib/http2/stream.c
637 + web/server/h2o/libh2o/lib/http2/http2_debug_state.c
638 +)
639 +
640 +set(DAEMON_FILES
641 + daemon/buildinfo.c
642 + daemon/buildinfo.h
643 + daemon/common.c
644 + daemon/common.h
645 + daemon/daemon.c
646 + daemon/daemon.h
647 + daemon/event_loop.c
648 + daemon/event_loop.h
649 + daemon/global_statistics.c
650 + daemon/global_statistics.h
651 + daemon/analytics.c
652 + daemon/analytics.h
653 + daemon/main.c
654 + daemon/main.h
655 + daemon/signals.c
656 + daemon/signals.h
657 + daemon/service.c
658 + daemon/static_threads.c
659 + daemon/static_threads.h
660 + daemon/commands.c
661 + daemon/commands.h
662 + daemon/pipename.c
663 + daemon/pipename.h
664 + daemon/unit_test.c
665 + daemon/unit_test.h
666 +)
667 +
668 +set(H2O_FILES
669 + web/server/h2o/http_server.c
670 + web/server/h2o/http_server.h
671 + web/server/h2o/h2o_utils.c
672 + web/server/h2o/h2o_utils.h
673 + web/server/h2o/streaming.c
674 + web/server/h2o/streaming.h
675 + web/server/h2o/connlist.c
676 + web/server/h2o/connlist.h
677 +)
678
679 if(ENABLE_H2O)
680 list(APPEND DAEMON_FILES ${H2O_FILES})
681 endif()
682
667 -set(API_PLUGIN_FILES web/api/web_api.c
668 - web/api/web_api.h
669 - web/api/web_api_v1.c
670 - web/api/web_api_v1.h
671 - web/api/web_api_v2.c
672 - web/api/web_api_v2.h
673 - web/api/badges/web_buffer_svg.c
674 - web/api/badges/web_buffer_svg.h
675 - web/api/exporters/allmetrics.c
676 - web/api/exporters/allmetrics.h
677 - web/api/exporters/shell/allmetrics_shell.c
678 - web/api/exporters/shell/allmetrics_shell.h
679 - web/api/queries/rrdr.c
680 - web/api/queries/rrdr.h
681 - web/api/queries/query.c
682 - web/api/queries/query.h
683 - web/api/queries/average/average.c
684 - web/api/queries/average/average.h
685 - web/api/queries/countif/countif.c
686 - web/api/queries/countif/countif.h
687 - web/api/queries/incremental_sum/incremental_sum.c
688 - web/api/queries/incremental_sum/incremental_sum.h
689 - web/api/queries/max/max.c
690 - web/api/queries/max/max.h
691 - web/api/queries/min/min.c
692 - web/api/queries/min/min.h
693 - web/api/queries/sum/sum.c
694 - web/api/queries/sum/sum.h
695 - web/api/queries/median/median.c
696 - web/api/queries/median/median.h
697 - web/api/queries/percentile/percentile.c
698 - web/api/queries/percentile/percentile.h
699 - web/api/queries/stddev/stddev.c
700 - web/api/queries/stddev/stddev.h
701 - web/api/queries/ses/ses.c
702 - web/api/queries/ses/ses.h
703 - web/api/queries/des/des.c
704 - web/api/queries/des/des.h
705 - web/api/queries/trimmed_mean/trimmed_mean.c
706 - web/api/queries/trimmed_mean/trimmed_mean.h
707 - web/api/queries/weights.c
708 - web/api/queries/weights.h
709 - web/api/formatters/rrd2json.c
710 - web/api/formatters/rrd2json.h
711 - web/api/formatters/csv/csv.c
712 - web/api/formatters/csv/csv.h
713 - web/api/formatters/json/json.c
714 - web/api/formatters/json/json.h
715 - web/api/formatters/ssv/ssv.c
716 - web/api/formatters/ssv/ssv.h
717 - web/api/formatters/value/value.c
718 - web/api/formatters/value/value.h
719 - web/api/formatters/json_wrapper.c
720 - web/api/formatters/json_wrapper.h
721 - web/api/formatters/charts2json.c
722 - web/api/formatters/charts2json.h
723 - web/api/formatters/rrdset2json.c
724 - web/api/formatters/rrdset2json.h
725 - web/api/health/health_cmdapi.c
726 - web/api/ilove/ilove.c
727 - web/api/ilove/ilove.h
728 - web/rtc/webrtc.c
729 - web/rtc/webrtc.h)
730 -
731 -set(EXPORTING_ENGINE_FILES exporting/exporting_engine.c
732 - exporting/exporting_engine.h
733 - exporting/graphite/graphite.c
734 - exporting/graphite/graphite.h
735 - exporting/json/json.c
736 - exporting/json/json.h
737 - exporting/opentsdb/opentsdb.c
738 - exporting/opentsdb/opentsdb.h
739 - exporting/prometheus/prometheus.c
740 - exporting/prometheus/prometheus.h
741 - exporting/read_config.c
742 - exporting/clean_connectors.c
743 - exporting/init_connectors.c
744 - exporting/process_data.c
745 - exporting/check_filters.c
746 - exporting/send_data.c
747 - exporting/send_internal_metrics.c)
748 -
749 -set(HEALTH_PLUGIN_FILES health/health.c
750 - health/health.h
751 - health/health_config.c
752 - health/health_json.c
753 - health/health_log.c)
683 +set(API_PLUGIN_FILES
684 + web/api/web_api.c
685 + web/api/web_api.h
686 + web/api/web_api_v1.c
687 + web/api/web_api_v1.h
688 + web/api/web_api_v2.c
689 + web/api/web_api_v2.h
690 + web/api/badges/web_buffer_svg.c
691 + web/api/badges/web_buffer_svg.h
692 + web/api/exporters/allmetrics.c
693 + web/api/exporters/allmetrics.h
694 + web/api/exporters/shell/allmetrics_shell.c
695 + web/api/exporters/shell/allmetrics_shell.h
696 + web/api/queries/rrdr.c
697 + web/api/queries/rrdr.h
698 + web/api/queries/query.c
699 + web/api/queries/query.h
700 + web/api/queries/average/average.c
701 + web/api/queries/average/average.h
702 + web/api/queries/countif/countif.c
703 + web/api/queries/countif/countif.h
704 + web/api/queries/incremental_sum/incremental_sum.c
705 + web/api/queries/incremental_sum/incremental_sum.h
706 + web/api/queries/max/max.c
707 + web/api/queries/max/max.h
708 + web/api/queries/min/min.c
709 + web/api/queries/min/min.h
710 + web/api/queries/sum/sum.c
711 + web/api/queries/sum/sum.h
712 + web/api/queries/median/median.c
713 + web/api/queries/median/median.h
714 + web/api/queries/percentile/percentile.c
715 + web/api/queries/percentile/percentile.h
716 + web/api/queries/stddev/stddev.c
717 + web/api/queries/stddev/stddev.h
718 + web/api/queries/ses/ses.c
719 + web/api/queries/ses/ses.h
720 + web/api/queries/des/des.c
721 + web/api/queries/des/des.h
722 + web/api/queries/trimmed_mean/trimmed_mean.c
723 + web/api/queries/trimmed_mean/trimmed_mean.h
724 + web/api/queries/weights.c
725 + web/api/queries/weights.h
726 + web/api/formatters/rrd2json.c
727 + web/api/formatters/rrd2json.h
728 + web/api/formatters/csv/csv.c
729 + web/api/formatters/csv/csv.h
730 + web/api/formatters/json/json.c
731 + web/api/formatters/json/json.h
732 + web/api/formatters/ssv/ssv.c
733 + web/api/formatters/ssv/ssv.h
734 + web/api/formatters/value/value.c
735 + web/api/formatters/value/value.h
736 + web/api/formatters/json_wrapper.c
737 + web/api/formatters/json_wrapper.h
738 + web/api/formatters/charts2json.c
739 + web/api/formatters/charts2json.h
740 + web/api/formatters/rrdset2json.c
741 + web/api/formatters/rrdset2json.h
742 + web/api/health/health_cmdapi.c
743 + web/api/ilove/ilove.c
744 + web/api/ilove/ilove.h
745 + web/rtc/webrtc.c
746 + web/rtc/webrtc.h
747 +)
748 +
749 +set(EXPORTING_ENGINE_FILES
750 + exporting/exporting_engine.c
751 + exporting/exporting_engine.h
752 + exporting/graphite/graphite.c
753 + exporting/graphite/graphite.h
754 + exporting/json/json.c
755 + exporting/json/json.h
756 + exporting/opentsdb/opentsdb.c
757 + exporting/opentsdb/opentsdb.h
758 + exporting/prometheus/prometheus.c
759 + exporting/prometheus/prometheus.h
760 + exporting/read_config.c
761 + exporting/clean_connectors.c
762 + exporting/init_connectors.c
763 + exporting/process_data.c
764 + exporting/check_filters.c
765 + exporting/send_data.c
766 + exporting/send_internal_metrics.c
767 +)
768 +
769 +set(HEALTH_PLUGIN_FILES
770 + health/health.c
771 + health/health.h
772 + health/health_config.c
773 + health/health_json.c
774 + health/health_log.c
775 +)
776
777 set(IDLEJITTER_PLUGIN_FILES collectors/idlejitter.plugin/plugin_idlejitter.c)
778
779 if(ENABLE_ML)
758 - set(ML_FILES ml/ad_charts.h
759 - ml/ad_charts.cc
760 - ml/Config.cc
761 - ml/dlib/dlib/all/source.cpp
762 - ml/ml.h
763 - ml/ml.cc
764 - ml/ml-private.h)
780 + set(ML_FILES
781 + ml/ad_charts.h
782 + ml/ad_charts.cc
783 + ml/Config.cc
784 + ml/dlib/dlib/all/source.cpp
785 + ml/ml.h
786 + ml/ml.cc
787 + ml/ml-private.h
788 + )
789 else()
766 - set(ML_FILES ml/ml.h
767 - ml/ml-dummy.c)
790 + set(ML_FILES
791 + ml/ml.h
792 + ml/ml-dummy.c
793 + )
794 endif()
795
770 -set(PLUGINSD_PLUGIN_FILES collectors/plugins.d/plugins_d.c
771 - collectors/plugins.d/plugins_d.h
772 - collectors/plugins.d/pluginsd_dyncfg.c
773 - collectors/plugins.d/pluginsd_dyncfg.h
774 - collectors/plugins.d/pluginsd_functions.c
775 - collectors/plugins.d/pluginsd_functions.h
776 - collectors/plugins.d/pluginsd_internals.c
777 - collectors/plugins.d/pluginsd_internals.h
778 - collectors/plugins.d/pluginsd_parser.c
779 - collectors/plugins.d/pluginsd_parser.h
780 - collectors/plugins.d/pluginsd_replication.c
781 - collectors/plugins.d/pluginsd_replication.h)
782 -
783 -set(RRD_PLUGIN_FILES database/contexts/api_v1.c
784 - database/contexts/api_v2.c
785 - database/contexts/context.c
786 - database/contexts/instance.c
787 - database/contexts/internal.h
788 - database/contexts/metric.c
789 - database/contexts/query_scope.c
790 - database/contexts/query_target.c
791 - database/contexts/rrdcontext.c
792 - database/contexts/rrdcontext.h
793 - database/contexts/worker.c
794 - database/rrdcalc.c
795 - database/rrdcalc.h
796 - database/rrdcalctemplate.c
797 - database/rrdcalctemplate.h
798 - database/rrdcollector.c
799 - database/rrdcollector.h
800 - database/rrddim.c
801 - database/rrddimvar.c
802 - database/rrddimvar.h
803 - database/rrdfamily.c
804 - database/rrdfunctions.c
805 - database/rrdfunctions.h
806 - database/rrdhost.c
807 - database/rrdlabels.c
808 - database/rrd.c
809 - database/rrd.h
810 - database/rrdset.c
811 - database/rrdsetvar.c
812 - database/rrdsetvar.h
813 - database/rrdvar.c
814 - database/rrdvar.h
815 - database/storage_engine.c
816 - database/storage_engine.h
817 - database/ram/rrddim_mem.c
818 - database/ram/rrddim_mem.h
819 - database/sqlite/sqlite_metadata.c
820 - database/sqlite/sqlite_metadata.h
821 - database/sqlite/sqlite_functions.c
822 - database/sqlite/sqlite_functions.h
823 - database/sqlite/sqlite_context.c
824 - database/sqlite/sqlite_context.h
825 - database/sqlite/sqlite_db_migration.c
826 - database/sqlite/sqlite_db_migration.h
827 - database/sqlite/sqlite_aclk.c
828 - database/sqlite/sqlite_aclk.h
829 - database/sqlite/sqlite_health.c
830 - database/sqlite/sqlite_health.h
831 - database/sqlite/sqlite_aclk_node.c
832 - database/sqlite/sqlite_aclk_node.h
833 - database/sqlite/sqlite_aclk_alert.c
834 - database/sqlite/sqlite_aclk_alert.h
835 - database/sqlite/sqlite3.c
836 - database/sqlite/sqlite3.h
837 - database/sqlite/sqlite3recover.c
838 - database/sqlite/sqlite3recover.h
839 - database/sqlite/dbdata.c
840 - database/KolmogorovSmirnovDist.c
841 - database/KolmogorovSmirnovDist.h)
796 +set(PLUGINSD_PLUGIN_FILES
797 + collectors/plugins.d/plugins_d.c
798 + collectors/plugins.d/plugins_d.h
799 + collectors/plugins.d/pluginsd_dyncfg.c
800 + collectors/plugins.d/pluginsd_dyncfg.h
801 + collectors/plugins.d/pluginsd_functions.c
802 + collectors/plugins.d/pluginsd_functions.h
803 + collectors/plugins.d/pluginsd_internals.c
804 + collectors/plugins.d/pluginsd_internals.h
805 + collectors/plugins.d/pluginsd_parser.c
806 + collectors/plugins.d/pluginsd_parser.h
807 + collectors/plugins.d/pluginsd_replication.c
808 + collectors/plugins.d/pluginsd_replication.h
809 +)
810 +
811 +set(RRD_PLUGIN_FILES
812 + database/contexts/api_v1.c
813 + database/contexts/api_v2.c
814 + database/contexts/context.c
815 + database/contexts/instance.c
816 + database/contexts/internal.h
817 + database/contexts/metric.c
818 + database/contexts/query_scope.c
819 + database/contexts/query_target.c
820 + database/contexts/rrdcontext.c
821 + database/contexts/rrdcontext.h
822 + database/contexts/worker.c
823 + database/rrdcalc.c
824 + database/rrdcalc.h
825 + database/rrdcalctemplate.c
826 + database/rrdcalctemplate.h
827 + database/rrdcollector.c
828 + database/rrdcollector.h
829 + database/rrddim.c
830 + database/rrddimvar.c
831 + database/rrddimvar.h
832 + database/rrdfamily.c
833 + database/rrdfunctions.c
834 + database/rrdfunctions.h
835 + database/rrdhost.c
836 + database/rrdlabels.c
837 + database/rrd.c
838 + database/rrd.h
839 + database/rrdset.c
840 + database/rrdsetvar.c
841 + database/rrdsetvar.h
842 + database/rrdvar.c
843 + database/rrdvar.h
844 + database/storage_engine.c
845 + database/storage_engine.h
846 + database/ram/rrddim_mem.c
847 + database/ram/rrddim_mem.h
848 + database/sqlite/sqlite_metadata.c
849 + database/sqlite/sqlite_metadata.h
850 + database/sqlite/sqlite_functions.c
851 + database/sqlite/sqlite_functions.h
852 + database/sqlite/sqlite_context.c
853 + database/sqlite/sqlite_context.h
854 + database/sqlite/sqlite_db_migration.c
855 + database/sqlite/sqlite_db_migration.h
856 + database/sqlite/sqlite_aclk.c
857 + database/sqlite/sqlite_aclk.h
858 + database/sqlite/sqlite_health.c
859 + database/sqlite/sqlite_health.h
860 + database/sqlite/sqlite_aclk_node.c
861 + database/sqlite/sqlite_aclk_node.h
862 + database/sqlite/sqlite_aclk_alert.c
863 + database/sqlite/sqlite_aclk_alert.h
864 + database/sqlite/sqlite3.c
865 + database/sqlite/sqlite3.h
866 + database/sqlite/sqlite3recover.c
867 + database/sqlite/sqlite3recover.h
868 + database/sqlite/dbdata.c
869 + database/KolmogorovSmirnovDist.c
870 + database/KolmogorovSmirnovDist.h
871 +)
872
873 if(ENABLE_DBENGINE)
844 - list(APPEND RRD_PLUGIN_FILES database/engine/rrdengine.c
845 - database/engine/rrdengine.h
846 - database/engine/rrddiskprotocol.h
847 - database/engine/datafile.c
848 - database/engine/datafile.h
849 - database/engine/journalfile.c
850 - database/engine/journalfile.h
851 - database/engine/rrdenginelib.c
852 - database/engine/rrdenginelib.h
853 - database/engine/rrdengineapi.c
854 - database/engine/rrdengineapi.h
855 - database/engine/pagecache.c
856 - database/engine/pagecache.h
857 - database/engine/page_test.cc
858 - database/engine/page.c
859 - database/engine/page.h
860 - database/engine/cache.c
861 - database/engine/cache.h
862 - database/engine/metric.c
863 - database/engine/metric.h
864 - database/engine/pdc.c
865 - database/engine/pdc.h)
874 + list(APPEND RRD_PLUGIN_FILES
875 + database/engine/rrdengine.c
876 + database/engine/rrdengine.h
877 + database/engine/rrddiskprotocol.h
878 + database/engine/datafile.c
879 + database/engine/datafile.h
880 + database/engine/journalfile.c
881 + database/engine/journalfile.h
882 + database/engine/rrdenginelib.c
883 + database/engine/rrdenginelib.h
884 + database/engine/rrdengineapi.c
885 + database/engine/rrdengineapi.h
886 + database/engine/pagecache.c
887 + database/engine/pagecache.h
888 + database/engine/page_test.cc
889 + database/engine/page.c
890 + database/engine/page.h
891 + database/engine/cache.c
892 + database/engine/cache.h
893 + database/engine/metric.c
894 + database/engine/metric.h
895 + database/engine/pdc.c
896 + database/engine/pdc.h
897 + )
898 endif()
899
868 -set(REGISTRY_PLUGIN_FILES registry/registry.c
869 - registry/registry.h
870 - registry/registry_db.c
871 - registry/registry_init.c
872 - registry/registry_internals.c
873 - registry/registry_internals.h
874 - registry/registry_log.c
875 - registry/registry_machine.c
876 - registry/registry_machine.h
877 - registry/registry_person.c
878 - registry/registry_person.h)
879 -
880 -set(STATSD_PLUGIN_FILES collectors/statsd.plugin/statsd.c)
881 -
882 -set(SYSTEMD_JOURNAL_PLUGIN_FILES collectors/systemd-journal.plugin/systemd-journal.c
883 - collectors/systemd-journal.plugin/systemd-internals.h
884 - collectors/systemd-journal.plugin/systemd-main.c
885 - collectors/systemd-journal.plugin/systemd-units.c
886 - collectors/systemd-journal.plugin/systemd-journal.c
887 - collectors/systemd-journal.plugin/systemd-journal-annotations.c
888 - collectors/systemd-journal.plugin/systemd-journal-files.c
889 - collectors/systemd-journal.plugin/systemd-journal-fstat.c
890 - collectors/systemd-journal.plugin/systemd-journal-watcher.c)
891 -
892 -set(STREAMING_PLUGIN_FILES streaming/rrdpush.c
893 - streaming/rrdpush.h
894 - streaming/compression.c
895 - streaming/compression.h
896 - streaming/compression_brotli.c
897 - streaming/compression_brotli.h
898 - streaming/compression_gzip.c
899 - streaming/compression_gzip.h
900 - streaming/compression_lz4.c
901 - streaming/compression_lz4.h
902 - streaming/compression_zstd.c
903 - streaming/compression_zstd.h
904 - streaming/receiver.c
905 - streaming/sender.c
906 - streaming/replication.c
907 - streaming/replication.h
908 - streaming/common.h)
909 -
910 -set(WEB_PLUGIN_FILES web/server/web_client.c
911 - web/server/web_client.h
912 - web/server/web_server.c
913 - web/server/web_server.h
914 - web/server/static/static-threaded.c
915 - web/server/static/static-threaded.h
916 - web/server/web_client_cache.c
917 - web/server/web_client_cache.h)
918 -
919 -set(CLAIM_PLUGIN_FILES claim/claim.c
920 - claim/claim.h)
921 -
922 -set(SPAWN_PLUGIN_FILES spawn/spawn.c
923 - spawn/spawn_server.c
924 - spawn/spawn_client.c
925 - spawn/spawn.h)
926 -
927 -set(ACLK_ALWAYS_BUILD aclk/aclk_rrdhost_state.h
928 - aclk/aclk_proxy.c
929 - aclk/aclk_proxy.h
930 - aclk/aclk.c
931 - aclk/aclk.h
932 - aclk/aclk_capas.c
933 - aclk/aclk_capas.h
934 - aclk/aclk_util.c
935 - aclk/aclk_util.h
936 - aclk/https_client.c
937 - aclk/https_client.h)
938 -
939 -set(TIMEX_PLUGIN_FILES collectors/timex.plugin/plugin_timex.c)
940 -
941 -set(PROFILE_PLUGIN_FILES collectors/profile.plugin/plugin_profile.cc)
942 -
943 -set(CGROUPS_PLUGIN_FILES collectors/cgroups.plugin/sys_fs_cgroup.c
944 - collectors/cgroups.plugin/sys_fs_cgroup.h
945 - collectors/cgroups.plugin/cgroup-internals.h
946 - collectors/cgroups.plugin/cgroup-discovery.c
947 - collectors/cgroups.plugin/cgroup-charts.c
948 - collectors/cgroups.plugin/cgroup-top.c)
949 -
950 -set(DISKSPACE_PLUGIN_FILES collectors/diskspace.plugin/plugin_diskspace.c)
951 -
952 -set(MACOS_PLUGIN_FILES collectors/macos.plugin/plugin_macos.c
953 - collectors/macos.plugin/plugin_macos.h
954 - collectors/macos.plugin/macos_sysctl.c
955 - collectors/macos.plugin/macos_mach_smi.c
956 - collectors/macos.plugin/macos_fw.c)
957 -
958 -set(FREEBSD_PLUGIN_FILES collectors/freebsd.plugin/plugin_freebsd.c
959 - collectors/freebsd.plugin/plugin_freebsd.h
960 - collectors/freebsd.plugin/freebsd_sysctl.c
961 - collectors/freebsd.plugin/freebsd_getmntinfo.c
962 - collectors/freebsd.plugin/freebsd_getifaddrs.c
963 - collectors/freebsd.plugin/freebsd_devstat.c
964 - collectors/freebsd.plugin/freebsd_kstat_zfs.c
965 - collectors/freebsd.plugin/freebsd_ipfw.c
966 - collectors/proc.plugin/zfs_common.c
967 - collectors/proc.plugin/zfs_common.h)
968 -
969 -set(PROC_PLUGIN_FILES collectors/proc.plugin/ipc.c
970 - collectors/proc.plugin/plugin_proc.c
971 - collectors/proc.plugin/plugin_proc.h
972 - collectors/proc.plugin/proc_sys_fs_file_nr.c
973 - collectors/proc.plugin/proc_diskstats.c
974 - collectors/proc.plugin/proc_mdstat.c
975 - collectors/proc.plugin/proc_interrupts.c
976 - collectors/proc.plugin/proc_softirqs.c
977 - collectors/proc.plugin/proc_loadavg.c
978 - collectors/proc.plugin/proc_meminfo.c
979 - collectors/proc.plugin/proc_pagetypeinfo.c
980 - collectors/proc.plugin/proc_net_dev.c
981 - collectors/proc.plugin/proc_net_wireless.c
982 - collectors/proc.plugin/proc_net_ip_vs_stats.c
983 - collectors/proc.plugin/proc_net_netstat.c
984 - collectors/proc.plugin/proc_net_rpc_nfs.c
985 - collectors/proc.plugin/proc_net_rpc_nfsd.c
986 - collectors/proc.plugin/proc_net_sctp_snmp.c
987 - collectors/proc.plugin/proc_net_sockstat.c
988 - collectors/proc.plugin/proc_net_sockstat6.c
989 - collectors/proc.plugin/proc_net_softnet_stat.c
990 - collectors/proc.plugin/proc_net_stat_conntrack.c
991 - collectors/proc.plugin/proc_net_stat_synproxy.c
992 - collectors/proc.plugin/proc_self_mountinfo.c
993 - collectors/proc.plugin/proc_self_mountinfo.h
994 - collectors/proc.plugin/zfs_common.c
995 - collectors/proc.plugin/zfs_common.h
996 - collectors/proc.plugin/proc_spl_kstat_zfs.c
997 - collectors/proc.plugin/proc_stat.c
998 - collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c
999 - collectors/proc.plugin/proc_vmstat.c
1000 - collectors/proc.plugin/proc_uptime.c
1001 - collectors/proc.plugin/proc_pressure.c
1002 - collectors/proc.plugin/proc_pressure.h
1003 - collectors/proc.plugin/sys_kernel_mm_ksm.c
1004 - collectors/proc.plugin/sys_block_zram.c
1005 - collectors/proc.plugin/sys_devices_system_edac_mc.c
1006 - collectors/proc.plugin/sys_devices_system_node.c
1007 - collectors/proc.plugin/sys_class_infiniband.c
1008 - collectors/proc.plugin/sys_fs_btrfs.c
1009 - collectors/proc.plugin/sys_class_power_supply.c
1010 - collectors/proc.plugin/sys_devices_pci_aer.c
1011 - collectors/proc.plugin/sys_class_drm.c)
1012 -
1013 -set(TC_PLUGIN_FILES collectors/tc.plugin/plugin_tc.c)
1014 -
1015 -set(LOGS_MANAGEMENT_PLUGIN_FILES logsmanagement/circular_buffer.c
1016 - logsmanagement/circular_buffer.h
1017 - logsmanagement/db_api.c
1018 - logsmanagement/db_api.h
1019 - logsmanagement/defaults.h
1020 - logsmanagement/file_info.h
1021 - logsmanagement/flb_plugin.c
1022 - logsmanagement/flb_plugin.h
1023 - logsmanagement/functions.c
1024 - logsmanagement/functions.h
1025 - logsmanagement/helper.h
1026 - logsmanagement/logsmanag_config.c
1027 - logsmanagement/logsmanag_config.h
1028 - logsmanagement/logsmanagement.c
1029 - logsmanagement/parser.c
1030 - logsmanagement/parser.h
1031 - logsmanagement/query.c
1032 - logsmanagement/query.h
1033 - logsmanagement/rrd_api/rrd_api_docker_ev.c
1034 - logsmanagement/rrd_api/rrd_api_docker_ev.h
1035 - logsmanagement/rrd_api/rrd_api_generic.c
1036 - logsmanagement/rrd_api/rrd_api_generic.h
1037 - logsmanagement/rrd_api/rrd_api_kernel.c
1038 - logsmanagement/rrd_api/rrd_api_kernel.h
1039 - logsmanagement/rrd_api/rrd_api_mqtt.c
1040 - logsmanagement/rrd_api/rrd_api_mqtt.h
1041 - logsmanagement/rrd_api/rrd_api_stats.c
1042 - logsmanagement/rrd_api/rrd_api_stats.h
1043 - logsmanagement/rrd_api/rrd_api_systemd.c
1044 - logsmanagement/rrd_api/rrd_api_systemd.h
1045 - logsmanagement/rrd_api/rrd_api_web_log.c
1046 - logsmanagement/rrd_api/rrd_api_web_log.h
1047 - logsmanagement/rrd_api/rrd_api.h
1048 - database/sqlite/sqlite3.c
1049 - database/sqlite/sqlite3.h)
1050 -
1051 -set(NETDATA_FILES collectors/all.h
1052 - ${DAEMON_FILES}
1053 - ${API_PLUGIN_FILES}
1054 - ${EXPORTING_ENGINE_FILES}
1055 - ${HEALTH_PLUGIN_FILES}
1056 - ${IDLEJITTER_PLUGIN_FILES}
1057 - ${ML_FILES}
1058 - ${PLUGINSD_PLUGIN_FILES}
1059 - ${RRD_PLUGIN_FILES}
1060 - ${REGISTRY_PLUGIN_FILES}
1061 - ${STATSD_PLUGIN_FILES}
1062 - ${STREAMING_PLUGIN_FILES}
1063 - ${WEB_PLUGIN_FILES}
1064 - ${CLAIM_PLUGIN_FILES}
1065 - ${SPAWN_PLUGIN_FILES}
1066 - ${ACLK_ALWAYS_BUILD}
1067 - ${TIMEX_PLUGIN_FILES}
1068 - ${PROFILE_PLUGIN_FILES})
900 +set(REGISTRY_PLUGIN_FILES
901 + registry/registry.c
902 + registry/registry.h
903 + registry/registry_db.c
904 + registry/registry_init.c
905 + registry/registry_internals.c
906 + registry/registry_internals.h
907 + registry/registry_log.c
908 + registry/registry_machine.c
909 + registry/registry_machine.h
910 + registry/registry_person.c
911 + registry/registry_person.h
912 +)
913 +
914 +set(STATSD_PLUGIN_FILES
915 + collectors/statsd.plugin/statsd.c
916 +)
917 +
918 +set(SYSTEMD_JOURNAL_PLUGIN_FILES
919 + collectors/systemd-journal.plugin/systemd-journal.c
920 + collectors/systemd-journal.plugin/systemd-internals.h
921 + collectors/systemd-journal.plugin/systemd-main.c
922 + collectors/systemd-journal.plugin/systemd-units.c
923 + collectors/systemd-journal.plugin/systemd-journal.c
924 + collectors/systemd-journal.plugin/systemd-journal-annotations.c
925 + collectors/systemd-journal.plugin/systemd-journal-files.c
926 + collectors/systemd-journal.plugin/systemd-journal-fstat.c
927 + collectors/systemd-journal.plugin/systemd-journal-watcher.c
928 +)
929 +
930 +set(STREAMING_PLUGIN_FILES
931 + streaming/rrdpush.c
932 + streaming/rrdpush.h
933 + streaming/compression.c
934 + streaming/compression.h
935 + streaming/compression_brotli.c
936 + streaming/compression_brotli.h
937 + streaming/compression_gzip.c
938 + streaming/compression_gzip.h
939 + streaming/compression_lz4.c
940 + streaming/compression_lz4.h
941 + streaming/compression_zstd.c
942 + streaming/compression_zstd.h
943 + streaming/receiver.c
944 + streaming/sender.c
945 + streaming/replication.c
946 + streaming/replication.h
947 + streaming/common.h
948 +)
949 +
950 +set(WEB_PLUGIN_FILES
951 + web/server/web_client.c
952 + web/server/web_client.h
953 + web/server/web_server.c
954 + web/server/web_server.h
955 + web/server/static/static-threaded.c
956 + web/server/static/static-threaded.h
957 + web/server/web_client_cache.c
958 + web/server/web_client_cache.h
959 +)
960 +
961 +set(CLAIM_PLUGIN_FILES
962 + claim/claim.c
963 + claim/claim.h
964 +)
965 +
966 +set(SPAWN_PLUGIN_FILES
967 + spawn/spawn.c
968 + spawn/spawn_server.c
969 + spawn/spawn_client.c
970 + spawn/spawn.h
971 +)
972 +
973 +set(ACLK_ALWAYS_BUILD
974 + aclk/aclk_rrdhost_state.h
975 + aclk/aclk_proxy.c
976 + aclk/aclk_proxy.h
977 + aclk/aclk.c
978 + aclk/aclk.h
979 + aclk/aclk_capas.c
980 + aclk/aclk_capas.h
981 + aclk/aclk_util.c
982 + aclk/aclk_util.h
983 + aclk/https_client.c
984 + aclk/https_client.h
985 +)
986 +
987 +set(TIMEX_PLUGIN_FILES
988 + collectors/timex.plugin/plugin_timex.c
989 +)
990 +
991 +set(PROFILE_PLUGIN_FILES
992 + collectors/profile.plugin/plugin_profile.cc
993 +)
994 +
995 +set(CGROUPS_PLUGIN_FILES
996 + collectors/cgroups.plugin/sys_fs_cgroup.c
997 + collectors/cgroups.plugin/sys_fs_cgroup.h
998 + collectors/cgroups.plugin/cgroup-internals.h
999 + collectors/cgroups.plugin/cgroup-discovery.c
1000 + collectors/cgroups.plugin/cgroup-charts.c
1001 + collectors/cgroups.plugin/cgroup-top.c
1002 +)
1003 +
1004 +set(DISKSPACE_PLUGIN_FILES
1005 + collectors/diskspace.plugin/plugin_diskspace.c
1006 +)
1007 +
1008 +set(MACOS_PLUGIN_FILES
1009 + collectors/macos.plugin/plugin_macos.c
1010 + collectors/macos.plugin/plugin_macos.h
1011 + collectors/macos.plugin/macos_sysctl.c
1012 + collectors/macos.plugin/macos_mach_smi.c
1013 + collectors/macos.plugin/macos_fw.c
1014 +)
1015 +
1016 +set(FREEBSD_PLUGIN_FILES
1017 + collectors/freebsd.plugin/plugin_freebsd.c
1018 + collectors/freebsd.plugin/plugin_freebsd.h
1019 + collectors/freebsd.plugin/freebsd_sysctl.c
1020 + collectors/freebsd.plugin/freebsd_getmntinfo.c
1021 + collectors/freebsd.plugin/freebsd_getifaddrs.c
1022 + collectors/freebsd.plugin/freebsd_devstat.c
1023 + collectors/freebsd.plugin/freebsd_kstat_zfs.c
1024 + collectors/freebsd.plugin/freebsd_ipfw.c
1025 + collectors/proc.plugin/zfs_common.c
1026 + collectors/proc.plugin/zfs_common.h
1027 +)
1028 +
1029 +set(PROC_PLUGIN_FILES
1030 + collectors/proc.plugin/ipc.c
1031 + collectors/proc.plugin/plugin_proc.c
1032 + collectors/proc.plugin/plugin_proc.h
1033 + collectors/proc.plugin/proc_sys_fs_file_nr.c
1034 + collectors/proc.plugin/proc_diskstats.c
1035 + collectors/proc.plugin/proc_mdstat.c
1036 + collectors/proc.plugin/proc_interrupts.c
1037 + collectors/proc.plugin/proc_softirqs.c
1038 + collectors/proc.plugin/proc_loadavg.c
1039 + collectors/proc.plugin/proc_meminfo.c
1040 + collectors/proc.plugin/proc_pagetypeinfo.c
1041 + collectors/proc.plugin/proc_net_dev.c
1042 + collectors/proc.plugin/proc_net_wireless.c
1043 + collectors/proc.plugin/proc_net_ip_vs_stats.c
1044 + collectors/proc.plugin/proc_net_netstat.c
1045 + collectors/proc.plugin/proc_net_rpc_nfs.c
1046 + collectors/proc.plugin/proc_net_rpc_nfsd.c
1047 + collectors/proc.plugin/proc_net_sctp_snmp.c
1048 + collectors/proc.plugin/proc_net_sockstat.c
1049 + collectors/proc.plugin/proc_net_sockstat6.c
1050 + collectors/proc.plugin/proc_net_softnet_stat.c
1051 + collectors/proc.plugin/proc_net_stat_conntrack.c
1052 + collectors/proc.plugin/proc_net_stat_synproxy.c
1053 + collectors/proc.plugin/proc_self_mountinfo.c
1054 + collectors/proc.plugin/proc_self_mountinfo.h
1055 + collectors/proc.plugin/zfs_common.c
1056 + collectors/proc.plugin/zfs_common.h
1057 + collectors/proc.plugin/proc_spl_kstat_zfs.c
1058 + collectors/proc.plugin/proc_stat.c
1059 + collectors/proc.plugin/proc_sys_kernel_random_entropy_avail.c
1060 + collectors/proc.plugin/proc_vmstat.c
1061 + collectors/proc.plugin/proc_uptime.c
1062 + collectors/proc.plugin/proc_pressure.c
1063 + collectors/proc.plugin/proc_pressure.h
1064 + collectors/proc.plugin/sys_kernel_mm_ksm.c
1065 + collectors/proc.plugin/sys_block_zram.c
1066 + collectors/proc.plugin/sys_devices_system_edac_mc.c
1067 + collectors/proc.plugin/sys_devices_system_node.c
1068 + collectors/proc.plugin/sys_class_infiniband.c
1069 + collectors/proc.plugin/sys_fs_btrfs.c
1070 + collectors/proc.plugin/sys_class_power_supply.c
1071 + collectors/proc.plugin/sys_devices_pci_aer.c
1072 + collectors/proc.plugin/sys_class_drm.c
1073 +)
1074 +
1075 +set(TC_PLUGIN_FILES
1076 + collectors/tc.plugin/plugin_tc.c
1077 +)
1078 +
1079 +set(LOGS_MANAGEMENT_PLUGIN_FILES
1080 + logsmanagement/circular_buffer.c
1081 + logsmanagement/circular_buffer.h
1082 + logsmanagement/db_api.c
1083 + logsmanagement/db_api.h
1084 + logsmanagement/defaults.h
1085 + logsmanagement/file_info.h
1086 + logsmanagement/flb_plugin.c
1087 + logsmanagement/flb_plugin.h
1088 + logsmanagement/functions.c
1089 + logsmanagement/functions.h
1090 + logsmanagement/helper.h
1091 + logsmanagement/logsmanag_config.c
1092 + logsmanagement/logsmanag_config.h
1093 + logsmanagement/logsmanagement.c
1094 + logsmanagement/parser.c
1095 + logsmanagement/parser.h
1096 + logsmanagement/query.c
1097 + logsmanagement/query.h
1098 + logsmanagement/rrd_api/rrd_api_docker_ev.c
1099 + logsmanagement/rrd_api/rrd_api_docker_ev.h
1100 + logsmanagement/rrd_api/rrd_api_generic.c
1101 + logsmanagement/rrd_api/rrd_api_generic.h
1102 + logsmanagement/rrd_api/rrd_api_kernel.c
1103 + logsmanagement/rrd_api/rrd_api_kernel.h
1104 + logsmanagement/rrd_api/rrd_api_mqtt.c
1105 + logsmanagement/rrd_api/rrd_api_mqtt.h
1106 + logsmanagement/rrd_api/rrd_api_stats.c
1107 + logsmanagement/rrd_api/rrd_api_stats.h
1108 + logsmanagement/rrd_api/rrd_api_systemd.c
1109 + logsmanagement/rrd_api/rrd_api_systemd.h
1110 + logsmanagement/rrd_api/rrd_api_web_log.c
1111 + logsmanagement/rrd_api/rrd_api_web_log.h
1112 + logsmanagement/rrd_api/rrd_api.h
1113 + database/sqlite/sqlite3.c
1114 + database/sqlite/sqlite3.h
1115 +)
1116 +
1117 +set(NETDATA_FILES
1118 + collectors/all.h
1119 + ${DAEMON_FILES}
1120 + ${API_PLUGIN_FILES}
1121 + ${EXPORTING_ENGINE_FILES}
1122 + ${HEALTH_PLUGIN_FILES}
1123 + ${IDLEJITTER_PLUGIN_FILES}
1124 + ${ML_FILES}
1125 + ${PLUGINSD_PLUGIN_FILES}
1126 + ${RRD_PLUGIN_FILES}
1127 + ${REGISTRY_PLUGIN_FILES}
1128 + ${STATSD_PLUGIN_FILES}
1129 + ${STREAMING_PLUGIN_FILES}
1130 + ${WEB_PLUGIN_FILES}
1131 + ${CLAIM_PLUGIN_FILES}
1132 + ${SPAWN_PLUGIN_FILES}
1133 + ${ACLK_ALWAYS_BUILD}
1134 + ${TIMEX_PLUGIN_FILES}
1135 + ${PROFILE_PLUGIN_FILES}
1136 +)
1137
1138 if(LINUX)
1071 - list(APPEND NETDATA_FILES daemon/static_threads_linux.c
1072 - ${CGROUPS_PLUGIN_FILES}
1073 - ${DISKSPACE_PLUGIN_FILES}
1074 - ${PROC_PLUGIN_FILES}
1075 - ${TC_PLUGIN_FILES})
1139 + list(APPEND NETDATA_FILES
1140 + daemon/static_threads_linux.c
1141 + ${CGROUPS_PLUGIN_FILES}
1142 + ${DISKSPACE_PLUGIN_FILES}
1143 + ${PROC_PLUGIN_FILES}
1144 + ${TC_PLUGIN_FILES}
1145 + )
1146 elseif(MACOS)
1077 - list(APPEND NETDATA_FILES daemon/static_threads_macos.c
1078 - ${MACOS_PLUGIN_FILES})
1147 + list(APPEND NETDATA_FILES
1148 + daemon/static_threads_macos.c
1149 + ${MACOS_PLUGIN_FILES}
1150 + )
1151 elseif(FREEBSD)
1080 - list(APPEND NETDATA_FILES daemon/static_threads_freebsd.c
1081 - ${FREEBSD_PLUGIN_FILES})
1152 + list(APPEND NETDATA_FILES
1153 + daemon/static_threads_freebsd.c
1154 + ${FREEBSD_PLUGIN_FILES}
1155 + )
1156 endif()
1157
1084 -set(MQTT_WEBSOCKETS_FILES mqtt_websockets/src/mqtt_wss_client.c
1085 - mqtt_websockets/src/include/mqtt_wss_client.h
1086 - mqtt_websockets/src/mqtt_wss_log.c
1087 - mqtt_websockets/src/include/mqtt_wss_log.h
1088 - mqtt_websockets/src/ws_client.c
1089 - mqtt_websockets/src/include/ws_client.h
1090 - mqtt_websockets/src/mqtt_ng.c
1091 - mqtt_websockets/src/include/mqtt_ng.h
1092 - mqtt_websockets/src/common_public.c
1093 - mqtt_websockets/src/include/common_public.h
1094 - mqtt_websockets/src/include/common_internal.h
1095 - mqtt_websockets/c-rbuf/src/ringbuffer.c
1096 - mqtt_websockets/c-rbuf/include/ringbuffer.h
1097 - mqtt_websockets/c-rbuf/src/ringbuffer_internal.h
1098 - mqtt_websockets/c_rhash/src/c_rhash.c
1099 - mqtt_websockets/c_rhash/include/c_rhash.h
1100 - mqtt_websockets/c_rhash/src/c_rhash_internal.h)
1101 -
1102 -set(ACLK_PROTO_DEFS aclk/aclk-schemas/proto/aclk/v1/lib.proto
1103 - aclk/aclk-schemas/proto/agent/v1/disconnect.proto
1104 - aclk/aclk-schemas/proto/agent/v1/connection.proto
1105 - aclk/aclk-schemas/proto/alarm/v1/config.proto
1106 - aclk/aclk-schemas/proto/alarm/v1/stream.proto
1107 - aclk/aclk-schemas/proto/nodeinstance/connection/v1/connection.proto
1108 - aclk/aclk-schemas/proto/nodeinstance/create/v1/creation.proto
1109 - aclk/aclk-schemas/proto/nodeinstance/info/v1/info.proto
1110 - aclk/aclk-schemas/proto/context/v1/context.proto
1111 - aclk/aclk-schemas/proto/context/v1/stream.proto
1112 - aclk/aclk-schemas/proto/agent/v1/cmds.proto)
1113 -
1114 -set(ACLK_FILES aclk/aclk_stats.c
1115 - aclk/aclk_stats.h
1116 - aclk/aclk_query.c
1117 - aclk/aclk_query.h
1118 - aclk/aclk_query_queue.c
1119 - aclk/aclk_query_queue.h
1120 - aclk/aclk_otp.c
1121 - aclk/aclk_otp.h
1122 - aclk/aclk_tx_msgs.c
1123 - aclk/aclk_tx_msgs.h
1124 - aclk/aclk_rx_msgs.c
1125 - aclk/aclk_rx_msgs.h
1126 - aclk/aclk_alarm_api.c
1127 - aclk/aclk_alarm_api.h
1128 - aclk/aclk_contexts_api.c
1129 - aclk/aclk_contexts_api.h
1130 - aclk/schema-wrappers/connection.cc
1131 - aclk/schema-wrappers/connection.h
1132 - aclk/schema-wrappers/node_connection.cc
1133 - aclk/schema-wrappers/node_connection.h
1134 - aclk/schema-wrappers/node_creation.cc
1135 - aclk/schema-wrappers/node_creation.h
1136 - aclk/schema-wrappers/alarm_stream.cc
1137 - aclk/schema-wrappers/alarm_stream.h
1138 - aclk/schema-wrappers/alarm_config.cc
1139 - aclk/schema-wrappers/alarm_config.h
1140 - aclk/schema-wrappers/node_info.cc
1141 - aclk/schema-wrappers/node_info.h
1142 - aclk/schema-wrappers/capability.cc
1143 - aclk/schema-wrappers/capability.h
1144 - aclk/schema-wrappers/proto_2_json.cc
1145 - aclk/schema-wrappers/proto_2_json.h
1146 - aclk/schema-wrappers/context_stream.cc
1147 - aclk/schema-wrappers/context_stream.h
1148 - aclk/schema-wrappers/context.cc
1149 - aclk/schema-wrappers/context.h
1150 - aclk/schema-wrappers/schema_wrappers.h
1151 - aclk/schema-wrappers/schema_wrapper_utils.cc
1152 - aclk/schema-wrappers/schema_wrapper_utils.h
1153 - aclk/schema-wrappers/agent_cmds.cc
1154 - aclk/schema-wrappers/agent_cmds.h
1155 - aclk/helpers/mqtt_wss_pal.h
1156 - aclk/helpers/ringbuffer_pal.h)
1157 -
1158 -
1159 -set(MONGODB_EXPORTING_FILES exporting/mongodb/mongodb.c
1160 - exporting/mongodb/mongodb.h)
1161 -
1162 -set(PROMETHEUS_REMOTE_WRITE_EXPORTING_FILES exporting/prometheus/remote_write/remote_write.c
1163 - exporting/prometheus/remote_write/remote_write.h
1164 - exporting/prometheus/remote_write/remote_write_request.cc
1165 - exporting/prometheus/remote_write/remote_write_request.h)
1158 +set(MQTT_WEBSOCKETS_FILES
1159 + mqtt_websockets/src/mqtt_wss_client.c
1160 + mqtt_websockets/src/include/mqtt_wss_client.h
1161 + mqtt_websockets/src/mqtt_wss_log.c
1162 + mqtt_websockets/src/include/mqtt_wss_log.h
1163 + mqtt_websockets/src/ws_client.c
1164 + mqtt_websockets/src/include/ws_client.h
1165 + mqtt_websockets/src/mqtt_ng.c
1166 + mqtt_websockets/src/include/mqtt_ng.h
1167 + mqtt_websockets/src/common_public.c
1168 + mqtt_websockets/src/include/common_public.h
1169 + mqtt_websockets/src/include/common_internal.h
1170 + mqtt_websockets/c-rbuf/src/ringbuffer.c
1171 + mqtt_websockets/c-rbuf/include/ringbuffer.h
1172 + mqtt_websockets/c-rbuf/src/ringbuffer_internal.h
1173 + mqtt_websockets/c_rhash/src/c_rhash.c
1174 + mqtt_websockets/c_rhash/include/c_rhash.h
1175 + mqtt_websockets/c_rhash/src/c_rhash_internal.h
1176 +)
1177 +
1178 +set(ACLK_PROTO_DEFS
1179 + aclk/aclk-schemas/proto/aclk/v1/lib.proto
1180 + aclk/aclk-schemas/proto/agent/v1/disconnect.proto
1181 + aclk/aclk-schemas/proto/agent/v1/connection.proto
1182 + aclk/aclk-schemas/proto/alarm/v1/config.proto
1183 + aclk/aclk-schemas/proto/alarm/v1/stream.proto
1184 + aclk/aclk-schemas/proto/nodeinstance/connection/v1/connection.proto
1185 + aclk/aclk-schemas/proto/nodeinstance/create/v1/creation.proto
1186 + aclk/aclk-schemas/proto/nodeinstance/info/v1/info.proto
1187 + aclk/aclk-schemas/proto/context/v1/context.proto
1188 + aclk/aclk-schemas/proto/context/v1/stream.proto
1189 + aclk/aclk-schemas/proto/agent/v1/cmds.proto
1190 +)
1191 +
1192 +set(ACLK_FILES
1193 + aclk/aclk_stats.c
1194 + aclk/aclk_stats.h
1195 + aclk/aclk_query.c
1196 + aclk/aclk_query.h
1197 + aclk/aclk_query_queue.c
1198 + aclk/aclk_query_queue.h
1199 + aclk/aclk_otp.c
1200 + aclk/aclk_otp.h
1201 + aclk/aclk_tx_msgs.c
1202 + aclk/aclk_tx_msgs.h
1203 + aclk/aclk_rx_msgs.c
1204 + aclk/aclk_rx_msgs.h
1205 + aclk/aclk_alarm_api.c
1206 + aclk/aclk_alarm_api.h
1207 + aclk/aclk_contexts_api.c
1208 + aclk/aclk_contexts_api.h
1209 + aclk/schema-wrappers/connection.cc
1210 + aclk/schema-wrappers/connection.h
1211 + aclk/schema-wrappers/node_connection.cc
1212 + aclk/schema-wrappers/node_connection.h
1213 + aclk/schema-wrappers/node_creation.cc
1214 + aclk/schema-wrappers/node_creation.h
1215 + aclk/schema-wrappers/alarm_stream.cc
1216 + aclk/schema-wrappers/alarm_stream.h
1217 + aclk/schema-wrappers/alarm_config.cc
1218 + aclk/schema-wrappers/alarm_config.h
1219 + aclk/schema-wrappers/node_info.cc
1220 + aclk/schema-wrappers/node_info.h
1221 + aclk/schema-wrappers/capability.cc
1222 + aclk/schema-wrappers/capability.h
1223 + aclk/schema-wrappers/proto_2_json.cc
1224 + aclk/schema-wrappers/proto_2_json.h
1225 + aclk/schema-wrappers/context_stream.cc
1226 + aclk/schema-wrappers/context_stream.h
1227 + aclk/schema-wrappers/context.cc
1228 + aclk/schema-wrappers/context.h
1229 + aclk/schema-wrappers/schema_wrappers.h
1230 + aclk/schema-wrappers/schema_wrapper_utils.cc
1231 + aclk/schema-wrappers/schema_wrapper_utils.h
1232 + aclk/schema-wrappers/agent_cmds.cc
1233 + aclk/schema-wrappers/agent_cmds.h
1234 + aclk/helpers/mqtt_wss_pal.h
1235 + aclk/helpers/ringbuffer_pal.h
1236 +)
1237 +
1238 +
1239 +set(MONGODB_EXPORTING_FILES
1240 + exporting/mongodb/mongodb.c
1241 + exporting/mongodb/mongodb.h
1242 +)
1243 +
1244 +set(PROMETHEUS_REMOTE_WRITE_EXPORTING_FILES
1245 + exporting/prometheus/remote_write/remote_write.c
1246 + exporting/prometheus/remote_write/remote_write.h
1247 + exporting/prometheus/remote_write/remote_write_request.cc
1248 + exporting/prometheus/remote_write/remote_write_request.h
1249 +)
1250
1251 #
1252 # build h2o
@@ -1172,24 +1256,26 @@ if(ENABLE_H2O)
1256 add_library(h2o STATIC ${LIBH2O_FILES})
1257
1258 target_include_directories(h2o BEFORE PUBLIC
1175 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/include"
1176 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/cloexec"
1177 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/brotli/enc"
1178 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/golombset"
1179 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/libgkc"
1180 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/libyrmcds"
1181 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/klib"
1182 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/neverbleed"
1183 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/picohttpparser"
1184 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/picotest"
1185 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/yaml/include"
1186 - "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/yoml")
1187 -
1188 - target_compile_options(h2o PRIVATE -Wno-old-style-declaration
1189 - -Wno-deprecated-declarations
1190 - -Wno-unused-parameter
1191 - -Wno-sign-compare
1192 - -Wno-missing-field-initializers)
1259 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/include"
1260 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/cloexec"
1261 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/brotli/enc"
1262 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/golombset"
1263 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/libgkc"
1264 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/libyrmcds"
1265 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/klib"
1266 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/neverbleed"
1267 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/picohttpparser"
1268 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/picotest"
1269 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/yaml/include"
1270 + "${CMAKE_SOURCE_DIR}/web/server/h2o/libh2o/deps/yoml"
1271 + )
1272 +
1273 + target_compile_options(h2o PRIVATE
1274 + -Wno-old-style-declaration
1275 + -Wno-deprecated-declarations
1276 + -Wno-unused-parameter
1277 + -Wno-sign-compare
1278 + -Wno-missing-field-initializers)
1279
1280 target_compile_options(h2o PUBLIC -DH2O_USE_LIBUV=0)
1281
@@ -1254,8 +1340,9 @@ target_link_libraries(libnetdata PUBLIC
1340 if(ENABLE_PLUGIN_EBPF)
1341 target_link_libraries(libnetdata PUBLIC ${CMAKE_SOURCE_DIR}/externaldeps/libbpf/libbpf.a)
1342 target_include_directories(libnetdata BEFORE PUBLIC
1257 - ${CMAKE_SOURCE_DIR}/externaldeps/libbpf/include
1258 - ${CMAKE_SOURCE_DIR}/externaldeps/libbpf/include/uapi)
1343 + ${CMAKE_SOURCE_DIR}/externaldeps/libbpf/include
1344 + ${CMAKE_SOURCE_DIR}/externaldeps/libbpf/include/uapi
1345 + )
1346
1347 pkg_check_modules(ELF REQUIRED libelf)
1348 target_include_directories(libnetdata BEFORE PUBLIC ${ELF_INCLUDE_DIRS})
@@ -1411,9 +1498,11 @@ if (ENABLE_H2O OR ENABLE_ACLK)
1498 endif()
1499
1500 if(ENABLE_MQTTWEBSOCKETS)
1414 - include_directories(BEFORE ${CMAKE_SOURCE_DIR}/mqtt_websockets/src/include
1415 - ${CMAKE_SOURCE_DIR}/mqtt_websockets/c-rbuf/include
1416 - ${CMAKE_SOURCE_DIR}/mqtt_websockets/c_rhash/include)
1501 + include_directories(BEFORE
1502 + ${CMAKE_SOURCE_DIR}/mqtt_websockets/src/include
1503 + ${CMAKE_SOURCE_DIR}/mqtt_websockets/c-rbuf/include
1504 + ${CMAKE_SOURCE_DIR}/mqtt_websockets/c_rhash/include
1505 + )
1506
1507 add_library(mqttwebsockets STATIC ${MQTT_WEBSOCKETS_FILES})
1508
@@ -1642,48 +1731,50 @@ if(ENABLE_PLUGIN_SYSTEMD_JOURNAL)
1731 endif()
1732
1733 if(ENABLE_PLUGIN_EBPF)
1645 - set(EBPF_PLUGIN_FILES collectors/ebpf.plugin/ebpf.c
1646 - collectors/ebpf.plugin/ebpf.h
1647 - collectors/ebpf.plugin/ebpf_cachestat.c
1648 - collectors/ebpf.plugin/ebpf_cachestat.h
1649 - collectors/ebpf.plugin/ebpf_dcstat.c
1650 - collectors/ebpf.plugin/ebpf_dcstat.h
1651 - collectors/ebpf.plugin/ebpf_disk.c
1652 - collectors/ebpf.plugin/ebpf_disk.h
1653 - collectors/ebpf.plugin/ebpf_fd.c
1654 - collectors/ebpf.plugin/ebpf_fd.h
1655 - collectors/ebpf.plugin/ebpf_hardirq.c
1656 - collectors/ebpf.plugin/ebpf_hardirq.h
1657 - collectors/ebpf.plugin/ebpf_mdflush.c
1658 - collectors/ebpf.plugin/ebpf_mdflush.h
1659 - collectors/ebpf.plugin/ebpf_mount.c
1660 - collectors/ebpf.plugin/ebpf_mount.h
1661 - collectors/ebpf.plugin/ebpf_filesystem.c
1662 - collectors/ebpf.plugin/ebpf_filesystem.h
1663 - collectors/ebpf.plugin/ebpf_oomkill.c
1664 - collectors/ebpf.plugin/ebpf_oomkill.h
1665 - collectors/ebpf.plugin/ebpf_process.c
1666 - collectors/ebpf.plugin/ebpf_process.h
1667 - collectors/ebpf.plugin/ebpf_shm.c
1668 - collectors/ebpf.plugin/ebpf_shm.h
1669 - collectors/ebpf.plugin/ebpf_socket.c
1670 - collectors/ebpf.plugin/ebpf_socket.h
1671 - collectors/ebpf.plugin/ebpf_softirq.c
1672 - collectors/ebpf.plugin/ebpf_softirq.h
1673 - collectors/ebpf.plugin/ebpf_sync.c
1674 - collectors/ebpf.plugin/ebpf_sync.h
1675 - collectors/ebpf.plugin/ebpf_swap.c
1676 - collectors/ebpf.plugin/ebpf_swap.h
1677 - collectors/ebpf.plugin/ebpf_vfs.c
1678 - collectors/ebpf.plugin/ebpf_vfs.h
1679 - collectors/ebpf.plugin/ebpf_apps.c
1680 - collectors/ebpf.plugin/ebpf_apps.h
1681 - collectors/ebpf.plugin/ebpf_cgroup.c
1682 - collectors/ebpf.plugin/ebpf_cgroup.h
1683 - collectors/ebpf.plugin/ebpf_unittest.c
1684 - collectors/ebpf.plugin/ebpf_unittest.h
1685 - collectors/ebpf.plugin/ebpf_functions.c
1686 - collectors/ebpf.plugin/ebpf_functions.h)
1734 + set(EBPF_PLUGIN_FILES
1735 + collectors/ebpf.plugin/ebpf.c
1736 + collectors/ebpf.plugin/ebpf.h
1737 + collectors/ebpf.plugin/ebpf_cachestat.c
1738 + collectors/ebpf.plugin/ebpf_cachestat.h
1739 + collectors/ebpf.plugin/ebpf_dcstat.c
1740 + collectors/ebpf.plugin/ebpf_dcstat.h
1741 + collectors/ebpf.plugin/ebpf_disk.c
1742 + collectors/ebpf.plugin/ebpf_disk.h
1743 + collectors/ebpf.plugin/ebpf_fd.c
1744 + collectors/ebpf.plugin/ebpf_fd.h
1745 + collectors/ebpf.plugin/ebpf_hardirq.c
1746 + collectors/ebpf.plugin/ebpf_hardirq.h
1747 + collectors/ebpf.plugin/ebpf_mdflush.c
1748 + collectors/ebpf.plugin/ebpf_mdflush.h
1749 + collectors/ebpf.plugin/ebpf_mount.c
1750 + collectors/ebpf.plugin/ebpf_mount.h
1751 + collectors/ebpf.plugin/ebpf_filesystem.c
1752 + collectors/ebpf.plugin/ebpf_filesystem.h
1753 + collectors/ebpf.plugin/ebpf_oomkill.c
1754 + collectors/ebpf.plugin/ebpf_oomkill.h
1755 + collectors/ebpf.plugin/ebpf_process.c
1756 + collectors/ebpf.plugin/ebpf_process.h
1757 + collectors/ebpf.plugin/ebpf_shm.c
1758 + collectors/ebpf.plugin/ebpf_shm.h
1759 + collectors/ebpf.plugin/ebpf_socket.c
1760 + collectors/ebpf.plugin/ebpf_socket.h
1761 + collectors/ebpf.plugin/ebpf_softirq.c
1762 + collectors/ebpf.plugin/ebpf_softirq.h
1763 + collectors/ebpf.plugin/ebpf_sync.c
1764 + collectors/ebpf.plugin/ebpf_sync.h
1765 + collectors/ebpf.plugin/ebpf_swap.c
1766 + collectors/ebpf.plugin/ebpf_swap.h
1767 + collectors/ebpf.plugin/ebpf_vfs.c
1768 + collectors/ebpf.plugin/ebpf_vfs.h
1769 + collectors/ebpf.plugin/ebpf_apps.c
1770 + collectors/ebpf.plugin/ebpf_apps.h
1771 + collectors/ebpf.plugin/ebpf_cgroup.c
1772 + collectors/ebpf.plugin/ebpf_cgroup.h
1773 + collectors/ebpf.plugin/ebpf_unittest.c
1774 + collectors/ebpf.plugin/ebpf_unittest.h
1775 + collectors/ebpf.plugin/ebpf_functions.c
1776 + collectors/ebpf.plugin/ebpf_functions.h
1777 + )
1778
1779 add_executable(ebpf.plugin ${EBPF_PLUGIN_FILES})
1780 target_link_libraries(ebpf.plugin libnetdata)
@@ -1803,24 +1894,36 @@ install(TARGETS systemd-cat-native
1894 pkg_check_modules(PCRE2 libpcre2-8)
1895
1896 if(PCRE2_FOUND)
1806 - set(LOG2JOURNAL_FILES collectors/log2journal/log2journal.h
1807 - collectors/log2journal/log2journal.c
1808 - collectors/log2journal/log2journal-help.c
1809 - collectors/log2journal/log2journal-yaml.c
1810 - collectors/log2journal/log2journal-json.c
1811 - collectors/log2journal/log2journal-logfmt.c
1812 - collectors/log2journal/log2journal-pcre2.c
1813 - collectors/log2journal/log2journal-params.c
1814 - collectors/log2journal/log2journal-inject.c
1815 - collectors/log2journal/log2journal-pattern.c
1816 - collectors/log2journal/log2journal-replace.c
1817 - collectors/log2journal/log2journal-rename.c
1818 - collectors/log2journal/log2journal-rewrite.c)
1897 + set(LOG2JOURNAL_FILES
1898 + ${CONFIG_H}
1899 + collectors/log2journal/log2journal.h
1900 + collectors/log2journal/log2journal.c
1901 + collectors/log2journal/log2journal-help.c
1902 + collectors/log2journal/log2journal-yaml.c
1903 + collectors/log2journal/log2journal-json.c
1904 + collectors/log2journal/log2journal-logfmt.c
1905 + collectors/log2journal/log2journal-pcre2.c
1906 + collectors/log2journal/log2journal-params.c
1907 + collectors/log2journal/log2journal-inject.c
1908 + collectors/log2journal/log2journal-pattern.c
1909 + collectors/log2journal/log2journal-replace.c
1910 + collectors/log2journal/log2journal-rename.c
1911 + collectors/log2journal/log2journal-rewrite.c
1912 + )
1913
1914 add_executable(log2journal ${LOG2JOURNAL_FILES})
1821 - target_include_directories(log2journal BEFORE PUBLIC ${PCRE2_INCLUDE_DIRS})
1915 + target_include_directories(log2journal BEFORE PUBLIC ${CONFIG_H_DIR} ${PCRE2_INCLUDE_DIRS})
1916 target_compile_definitions(log2journal PUBLIC ${PCRE2_CFLAGS_OTHER})
1823 - target_link_libraries(log2journal libnetdata "${PCRE2_LDFLAGS}")
1917 + target_link_libraries(log2journal PUBLIC "${PCRE2_LDFLAGS}")
1918 +
1919 + if(ENABLE_BUNDLED_YAML)
1920 + target_include_directories(log2journal BEFORE PUBLIC "${CMAKE_SOURCE_DIR}/externaldeps/libyaml")
1921 + target_link_libraries(log2journal PUBLIC yaml)
1922 + else()
1923 + target_include_directories(log2journal BEFORE PUBLIC ${YAML_INCLUDE_DIRS})
1924 + target_compile_definitions(log2journal PUBLIC ${YAML_CFLAGS_OTHER})
1925 + target_link_libraries(log2journal PUBLIC ${YAML_LDFLAGS})
1926 + endif()
1927
1928 install(TARGETS log2journal
1929 COMPONENT log2journal
@@ -1835,10 +1938,12 @@ endif()
1938 # build netdatacli
1939 #
1940
1838 -set(NETDATACLI_FILES daemon/commands.h
1839 - daemon/pipename.c
1840 - daemon/pipename.h
1841 - cli/cli.c)
1941 +set(NETDATACLI_FILES
1942 + daemon/commands.h
1943 + daemon/pipename.c
1944 + daemon/pipename.h
1945 + cli/cli.c
1946 +)
1947
1948 add_executable(netdatacli ${NETDATACLI_FILES})
1949 target_link_libraries(netdatacli libnetdata)
@@ -1933,7 +2038,9 @@ else()
2038 endif()
2039
2040 configure_file(claim/netdata-claim.sh.in claim/netdata-claim.sh @ONLY)
1936 -install(PROGRAMS ${CMAKE_BINARY_DIR}/claim/netdata-claim.sh DESTINATION usr/sbin)
2041 +install(PROGRAMS
2042 + ${CMAKE_BINARY_DIR}/claim/netdata-claim.sh
2043 + DESTINATION usr/sbin)
2044
2045 #
2046 # We don't check ENABLE_PLUGIN_CGROUP_NETWORK because rpm builds assume
@@ -1941,46 +2048,53 @@ install(PROGRAMS ${CMAKE_BINARY_DIR}/claim/netdata-claim.sh DESTINATION usr/sbin
2048 #
2049 configure_file(collectors/cgroups.plugin/cgroup-network-helper.sh.in
2050 collectors/cgroups.plugin/cgroup-network-helper.sh @ONLY)
1944 -install(PROGRAMS ${CMAKE_BINARY_DIR}/collectors/cgroups.plugin/cgroup-network-helper.sh
2051 +install(PROGRAMS
2052 + ${CMAKE_BINARY_DIR}/collectors/cgroups.plugin/cgroup-network-helper.sh
2053 COMPONENT cgroup_network_plugin
2054 DESTINATION usr/libexec/netdata/plugins.d)
2055
2056 configure_file(collectors/cgroups.plugin/cgroup-name.sh.in
2057 collectors/cgroups.plugin/cgroup-name.sh @ONLY)
1950 -install(PROGRAMS ${CMAKE_BINARY_DIR}/collectors/cgroups.plugin/cgroup-name.sh
2058 +install(PROGRAMS
2059 + ${CMAKE_BINARY_DIR}/collectors/cgroups.plugin/cgroup-name.sh
2060 DESTINATION usr/libexec/netdata/plugins.d)
2061
2062 #
2063 # statsd
2064 #
1956 -install(FILES collectors/statsd.plugin/asterisk.conf
1957 - collectors/statsd.plugin/example.conf
1958 - collectors/statsd.plugin/k6.conf
2065 +install(FILES
2066 + collectors/statsd.plugin/asterisk.conf
2067 + collectors/statsd.plugin/example.conf
2068 + collectors/statsd.plugin/k6.conf
2069 DESTINATION usr/lib/netdata/conf.d/statsd.d)
2070
2071 #
2072 # exporting
2073 #
1964 -install(FILES exporting/exporting.conf
2074 +install(FILES
2075 + exporting/exporting.conf
2076 DESTINATION usr/lib/netdata/conf.d)
2077
2078 #
2079 # ioping.plugin
2080 #
1970 -install(FILES collectors/ioping.plugin/ioping.conf
2081 +install(FILES
2082 + collectors/ioping.plugin/ioping.conf
2083 DESTINATION usr/lib/netdata/conf.d)
2084
2085 #
2086 # streaming
2087 #
1976 -install(FILES streaming/stream.conf
2088 +install(FILES
2089 + streaming/stream.conf
2090 DESTINATION usr/lib/netdata/conf.d)
2091
2092 #
2093 # swagger
2094 #
1982 -install(FILES web/api/netdata-swagger.json
1983 - web/api/netdata-swagger.yaml
2095 +install(FILES
2096 + web/api/netdata-swagger.json
2097 + web/api/netdata-swagger.yaml
2098 DESTINATION ${WEB_DEST})
2099
2100 #
@@ -1988,64 +2102,107 @@ install(FILES web/api/netdata-swagger.json
2102 #
2103
2104 configure_file(system/install-service.sh.in system/install-service.sh @ONLY)
1991 -install(PROGRAMS ${CMAKE_BINARY_DIR}/system/install-service.sh DESTINATION usr/libexec/netdata)
2105 +install(PROGRAMS
2106 + ${CMAKE_BINARY_DIR}/system/install-service.sh
2107 + DESTINATION usr/libexec/netdata)
2108
2109 configure_file(system/cron/netdata-updater-daily.in system/cron/netdata-updater-daily @ONLY)
1994 -install(FILES ${CMAKE_BINARY_DIR}/system/cron/netdata-updater-daily DESTINATION usr/lib/netdata/system/cron)
2110 +install(FILES
2111 + ${CMAKE_BINARY_DIR}/system/cron/netdata-updater-daily
2112 + DESTINATION usr/lib/netdata/system/cron)
2113
2114 configure_file(system/launchd/netdata.plist.in system/launchd/netdata.plist @ONLY)
1997 -install(FILES ${CMAKE_BINARY_DIR}/system/launchd/netdata.plist DESTINATION usr/lib/netdata/system/launchd)
2115 +install(FILES
2116 + ${CMAKE_BINARY_DIR}/system/launchd/netdata.plist
2117 + DESTINATION usr/lib/netdata/system/launchd)
2118
2119 configure_file(system/freebsd/rc.d/netdata.in system/freebsd/rc.d/netdata @ONLY)
2000 -install(PROGRAMS ${CMAKE_BINARY_DIR}/system/freebsd/rc.d/netdata DESTINATION usr/lib/netdata/system/freebsd/rc.d)
2120 +install(PROGRAMS
2121 + ${CMAKE_BINARY_DIR}/system/freebsd/rc.d/netdata
2122 + DESTINATION usr/lib/netdata/system/freebsd/rc.d)
2123
2124 configure_file(system/initd/init.d/netdata.in system/initd/init.d/netdata @ONLY)
2003 -install(PROGRAMS ${CMAKE_BINARY_DIR}/system/initd/init.d/netdata DESTINATION usr/lib/netdata/system/initd/init.d)
2125 +install(PROGRAMS
2126 + ${CMAKE_BINARY_DIR}/system/initd/init.d/netdata
2127 + DESTINATION usr/lib/netdata/system/initd/init.d)
2128
2129 configure_file(system/logrotate/netdata.in system/logrotate/netdata @ONLY)
2006 -install(FILES ${CMAKE_BINARY_DIR}/system/logrotate/netdata DESTINATION usr/lib/netdata/system/logrotate)
2130 +install(FILES
2131 + ${CMAKE_BINARY_DIR}/system/logrotate/netdata
2132 + DESTINATION usr/lib/netdata/system/logrotate)
2133
2134 configure_file(system/lsb/init.d/netdata.in system/lsb/init.d/netdata @ONLY)
2009 -install(PROGRAMS ${CMAKE_BINARY_DIR}/system/lsb/init.d/netdata DESTINATION usr/lib/netdata/system/lsb/init.d)
2135 +install(PROGRAMS
2136 + ${CMAKE_BINARY_DIR}/system/lsb/init.d/netdata
2137 + DESTINATION usr/lib/netdata/system/lsb/init.d)
2138
2139 configure_file(system/openrc/conf.d/netdata.in system/openrc/conf.d/netdata @ONLY)
2012 -install(FILES ${CMAKE_BINARY_DIR}/system/openrc/conf.d/netdata DESTINATION usr/lib/netdata/system/openrc/conf.d)
2140 +install(FILES
2141 + ${CMAKE_BINARY_DIR}/system/openrc/conf.d/netdata
2142 + DESTINATION usr/lib/netdata/system/openrc/conf.d)
2143
2144 configure_file(system/openrc/init.d/netdata.in system/openrc/init.d/netdata @ONLY)
2015 -install(PROGRAMS ${CMAKE_BINARY_DIR}/system/openrc/init.d/netdata DESTINATION usr/lib/netdata/system/openrc/init.d)
2145 +install(PROGRAMS
2146 + ${CMAKE_BINARY_DIR}/system/openrc/init.d/netdata
2147 + DESTINATION usr/lib/netdata/system/openrc/init.d)
2148
2149 configure_file(system/runit/run.in system/runit/run @ONLY)
2018 -install(PROGRAMS ${CMAKE_BINARY_DIR}/system/runit/run DESTINATION usr/lib/netdata/system/runit)
2150 +install(PROGRAMS
2151 + ${CMAKE_BINARY_DIR}/system/runit/run
2152 + DESTINATION usr/lib/netdata/system/runit)
2153
2154 configure_file(system/systemd/netdata.service.in system/systemd/netdata.service @ONLY)
2021 -install(FILES ${CMAKE_BINARY_DIR}/system/systemd/netdata.service DESTINATION usr/lib/netdata/system/systemd)
2155 +install(FILES
2156 + ${CMAKE_BINARY_DIR}/system/systemd/netdata.service
2157 + DESTINATION usr/lib/netdata/system/systemd)
2158
2159 configure_file(system/systemd/netdata.service.v235.in system/systemd/netdata.service.v235 @ONLY)
2024 -install(FILES ${CMAKE_BINARY_DIR}/system/systemd/netdata.service.v235 DESTINATION usr/lib/netdata/system/systemd)
2160 +install(FILES
2161 + ${CMAKE_BINARY_DIR}/system/systemd/netdata.service.v235
2162 + DESTINATION usr/lib/netdata/system/systemd)
2163
2164 configure_file(system/systemd/netdata-updater.service.in system/systemd/netdata-updater.service @ONLY)
2027 -install(FILES ${CMAKE_BINARY_DIR}/system/systemd/netdata-updater.service DESTINATION usr/lib/netdata/system/systemd)
2165 +install(FILES
2166 + ${CMAKE_BINARY_DIR}/system/systemd/netdata-updater.service
2167 + DESTINATION usr/lib/netdata/system/systemd)
2168
2029 -install(FILES system/systemd/netdata-updater.timer DESTINATION usr/lib/netdata/system/systemd)
2030 -install(FILES system/systemd/50-netdata.preset DESTINATION usr/lib/netdata/system/systemd)
2169 +install(FILES
2170 + system/systemd/netdata-updater.timer
2171 + DESTINATION usr/lib/netdata/system/systemd)
2172 +install(FILES
2173 + system/systemd/50-netdata.preset
2174 + DESTINATION usr/lib/netdata/system/systemd)
2175
2032 -install(FILES system/vnodes/vnodes.conf DESTINATION usr/lib/netdata/conf.d/vnodes)
2176 +install(FILES
2177 + system/vnodes/vnodes.conf
2178 + DESTINATION usr/lib/netdata/conf.d/vnodes)
2179
2034 -install(FILES system/.install-type DESTINATION etc/netdata)
2035 -install(FILES system/netdata-updater.conf DESTINATION etc/netdata)
2180 +install(FILES
2181 + system/.install-type
2182 + DESTINATION etc/netdata)
2183 +install(FILES
2184 + system/netdata-updater.conf
2185 + DESTINATION etc/netdata)
2186
2037 -install(PROGRAMS system/edit-config DESTINATION etc/netdata)
2187 +install(PROGRAMS
2188 + system/edit-config
2189 + DESTINATION etc/netdata)
2190
2191 #
2192 # TODO: check the following files for correct substitutions
2193 #
2194 configure_file(daemon/anonymous-statistics.sh.in daemon/anonymous-statistics.sh @ONLY)
2043 -install(PROGRAMS ${CMAKE_BINARY_DIR}/daemon/anonymous-statistics.sh DESTINATION usr/libexec/netdata/plugins.d)
2195 +install(PROGRAMS
2196 + ${CMAKE_BINARY_DIR}/daemon/anonymous-statistics.sh
2197 + DESTINATION usr/libexec/netdata/plugins.d)
2198
2199 configure_file(daemon/get-kubernetes-labels.sh.in daemon/get-kubernetes-labels.sh @ONLY)
2046 -install(PROGRAMS ${CMAKE_BINARY_DIR}/daemon/get-kubernetes-labels.sh DESTINATION usr/libexec/netdata/plugins.d)
2200 +install(PROGRAMS
2201 + ${CMAKE_BINARY_DIR}/daemon/get-kubernetes-labels.sh
2202 + DESTINATION usr/libexec/netdata/plugins.d)
2203
2048 -install(PROGRAMS daemon/system-info.sh
2204 +install(PROGRAMS
2205 + daemon/system-info.sh
2206 DESTINATION usr/libexec/netdata/plugins.d)
2207
2208 #
@@ -2053,17 +2210,23 @@ install(PROGRAMS daemon/system-info.sh
2210 #
2211
2212 file(GLOB_RECURSE HEALTH_CONF_FILES "health/health.d/*.conf")
2056 -install(FILES ${HEALTH_CONF_FILES} DESTINATION usr/lib/netdata/conf.d/health.d)
2213 +install(FILES
2214 + ${HEALTH_CONF_FILES}
2215 + DESTINATION usr/lib/netdata/conf.d/health.d)
2216
2217 configure_file(health/notifications/alarm-notify.sh.in health/notifications/alarm-notify.sh @ONLY)
2059 -install(PROGRAMS ${CMAKE_BINARY_DIR}/health/notifications/alarm-notify.sh DESTINATION usr/libexec/netdata/plugins.d)
2218 +install(PROGRAMS
2219 + ${CMAKE_BINARY_DIR}/health/notifications/alarm-notify.sh
2220 + DESTINATION usr/libexec/netdata/plugins.d)
2221
2061 -install(PROGRAMS health/notifications/alarm-email.sh
2062 - health/notifications/alarm-test.sh
2222 +install(PROGRAMS
2223 + health/notifications/alarm-email.sh
2224 + health/notifications/alarm-test.sh
2225 DESTINATION usr/libexec/netdata/plugins.d)
2226
2065 -install(FILES health/notifications/health_alarm_notify.conf
2066 - health/notifications/health_email_recipients.conf
2227 +install(FILES
2228 + health/notifications/health_alarm_notify.conf
2229 + health/notifications/health_email_recipients.conf
2230 DESTINATION usr/lib/netdata/conf.d)
2231 #
2232 # test/ files
@@ -2076,12 +2239,13 @@ configure_file(tests/alarm_repetition/alarm.sh.in tests/alarm_repetition/alarm.s
2239 configure_file(tests/template_dimension/template_dim.sh.in tests/template_dimension/template_dim.sh @ONLY)
2240 configure_file(tests/ebpf/ebpf_thread_function.sh.in tests/ebpf/ebpf_thread_function.sh @ONLY)
2241
2079 -install(FILES ${CMAKE_BINARY_DIR}/tests/health_mgmtapi/health-cmdapi-test.sh
2080 - ${CMAKE_BINARY_DIR}/tests/acls/acl.sh
2081 - ${CMAKE_BINARY_DIR}/tests/urls/request.sh
2082 - ${CMAKE_BINARY_DIR}/tests/alarm_repetition/alarm.sh
2083 - ${CMAKE_BINARY_DIR}/tests/template_dimension/template_dim.sh
2084 - ${CMAKE_BINARY_DIR}/tests/ebpf/ebpf_thread_function.sh
2242 +install(FILES
2243 + ${CMAKE_BINARY_DIR}/tests/health_mgmtapi/health-cmdapi-test.sh
2244 + ${CMAKE_BINARY_DIR}/tests/acls/acl.sh
2245 + ${CMAKE_BINARY_DIR}/tests/urls/request.sh
2246 + ${CMAKE_BINARY_DIR}/tests/alarm_repetition/alarm.sh
2247 + ${CMAKE_BINARY_DIR}/tests/template_dimension/template_dim.sh
2248 + ${CMAKE_BINARY_DIR}/tests/ebpf/ebpf_thread_function.sh
2249 DESTINATION usr/libexec/netdata/plugins.d)
2250
2251 #
@@ -2089,14 +2253,17 @@ install(FILES ${CMAKE_BINARY_DIR}/tests/health_mgmtapi/health-cmdapi-test.sh
2253 #
2254
2255 configure_file(collectors/charts.d.plugin/charts.d.plugin.in collectors/charts.d.plugin/charts.d.plugin @ONLY)
2092 -install(PROGRAMS ${CMAKE_BINARY_DIR}/collectors/charts.d.plugin/charts.d.plugin
2256 +install(PROGRAMS
2257 + ${CMAKE_BINARY_DIR}/collectors/charts.d.plugin/charts.d.plugin
2258 DESTINATION usr/libexec/netdata/plugins.d)
2259
2095 -install(FILES collectors/charts.d.plugin/charts.d.dryrun-helper.sh
2096 - collectors/charts.d.plugin/loopsleepms.sh.inc
2260 +install(FILES
2261 + collectors/charts.d.plugin/charts.d.dryrun-helper.sh
2262 + collectors/charts.d.plugin/loopsleepms.sh.inc
2263 DESTINATION usr/libexec/netdata/plugins.d)
2264
2099 -install(FILES collectors/charts.d.plugin/charts.d.conf
2265 +install(FILES
2266 + collectors/charts.d.plugin/charts.d.conf
2267 DESTINATION usr/lib/netdata/conf.d)
2268
2269 #
@@ -2104,27 +2271,30 @@ install(FILES collectors/charts.d.plugin/charts.d.conf
2271 #
2272
2273 configure_file(collectors/tc.plugin/tc-qos-helper.sh.in collectors/tc.plugin/tc-qos-helper.sh @ONLY)
2107 -install(PROGRAMS ${CMAKE_BINARY_DIR}/collectors/tc.plugin/tc-qos-helper.sh
2274 +install(PROGRAMS
2275 + ${CMAKE_BINARY_DIR}/collectors/tc.plugin/tc-qos-helper.sh
2276 DESTINATION usr/libexec/netdata/plugins.d)
2277
2278 # scripts
2279
2112 -install(FILES collectors/charts.d.plugin/ap/ap.chart.sh
2113 - collectors/charts.d.plugin/apcupsd/apcupsd.chart.sh
2114 - collectors/charts.d.plugin/example/example.chart.sh
2115 - collectors/charts.d.plugin/libreswan/libreswan.chart.sh
2116 - collectors/charts.d.plugin/opensips/opensips.chart.sh
2117 - collectors/charts.d.plugin/sensors/sensors.chart.sh
2280 +install(FILES
2281 + collectors/charts.d.plugin/ap/ap.chart.sh
2282 + collectors/charts.d.plugin/apcupsd/apcupsd.chart.sh
2283 + collectors/charts.d.plugin/example/example.chart.sh
2284 + collectors/charts.d.plugin/libreswan/libreswan.chart.sh
2285 + collectors/charts.d.plugin/opensips/opensips.chart.sh
2286 + collectors/charts.d.plugin/sensors/sensors.chart.sh
2287 DESTINATION usr/libexec/netdata/charts.d)
2288
2289 # confs
2290
2122 -install(FILES collectors/charts.d.plugin/ap/ap.conf
2123 - collectors/charts.d.plugin/apcupsd/apcupsd.conf
2124 - collectors/charts.d.plugin/example/example.conf
2125 - collectors/charts.d.plugin/libreswan/libreswan.conf
2126 - collectors/charts.d.plugin/opensips/opensips.conf
2127 - collectors/charts.d.plugin/sensors/sensors.conf
2291 +install(FILES
2292 + collectors/charts.d.plugin/ap/ap.conf
2293 + collectors/charts.d.plugin/apcupsd/apcupsd.conf
2294 + collectors/charts.d.plugin/example/example.conf
2295 + collectors/charts.d.plugin/libreswan/libreswan.conf
2296 + collectors/charts.d.plugin/opensips/opensips.conf
2297 + collectors/charts.d.plugin/sensors/sensors.conf
2298 DESTINATION usr/lib/netdata/conf.d/charts.d)
2299
2300 #
@@ -2132,26 +2302,28 @@ install(FILES collectors/charts.d.plugin/ap/ap.conf
2302 #
2303
2304 if(ENABLE_PLUGIN_EBPF)
2135 - install(FILES collectors/ebpf.plugin/ebpf.d.conf
2305 + install(FILES
2306 + collectors/ebpf.plugin/ebpf.d.conf
2307 DESTINATION usr/lib/netdata/conf.d)
2308
2138 - install(FILES collectors/ebpf.plugin/ebpf.d/cachestat.conf
2139 - collectors/ebpf.plugin/ebpf.d/dcstat.conf
2140 - collectors/ebpf.plugin/ebpf.d/disk.conf
2141 - collectors/ebpf.plugin/ebpf.d/ebpf_kernel_reject_list.txt
2142 - collectors/ebpf.plugin/ebpf.d/fd.conf
2143 - collectors/ebpf.plugin/ebpf.d/filesystem.conf
2144 - collectors/ebpf.plugin/ebpf.d/hardirq.conf
2145 - collectors/ebpf.plugin/ebpf.d/mdflush.conf
2146 - collectors/ebpf.plugin/ebpf.d/mount.conf
2147 - collectors/ebpf.plugin/ebpf.d/network.conf
2148 - collectors/ebpf.plugin/ebpf.d/oomkill.conf
2149 - collectors/ebpf.plugin/ebpf.d/process.conf
2150 - collectors/ebpf.plugin/ebpf.d/shm.conf
2151 - collectors/ebpf.plugin/ebpf.d/softirq.conf
2152 - collectors/ebpf.plugin/ebpf.d/swap.conf
2153 - collectors/ebpf.plugin/ebpf.d/sync.conf
2154 - collectors/ebpf.plugin/ebpf.d/vfs.conf
2309 + install(FILES
2310 + collectors/ebpf.plugin/ebpf.d/cachestat.conf
2311 + collectors/ebpf.plugin/ebpf.d/dcstat.conf
2312 + collectors/ebpf.plugin/ebpf.d/disk.conf
2313 + collectors/ebpf.plugin/ebpf.d/ebpf_kernel_reject_list.txt
2314 + collectors/ebpf.plugin/ebpf.d/fd.conf
2315 + collectors/ebpf.plugin/ebpf.d/filesystem.conf
2316 + collectors/ebpf.plugin/ebpf.d/hardirq.conf
2317 + collectors/ebpf.plugin/ebpf.d/mdflush.conf
2318 + collectors/ebpf.plugin/ebpf.d/mount.conf
2319 + collectors/ebpf.plugin/ebpf.d/network.conf
2320 + collectors/ebpf.plugin/ebpf.d/oomkill.conf
2321 + collectors/ebpf.plugin/ebpf.d/process.conf
2322 + collectors/ebpf.plugin/ebpf.d/shm.conf
2323 + collectors/ebpf.plugin/ebpf.d/softirq.conf
2324 + collectors/ebpf.plugin/ebpf.d/swap.conf
2325 + collectors/ebpf.plugin/ebpf.d/sync.conf
2326 + collectors/ebpf.plugin/ebpf.d/vfs.conf
2327 DESTINATION usr/lib/netdata/conf.d/ebpf.d)
2328 endif()
2329
@@ -2171,102 +2343,104 @@ install(FILES collectors/python.d.plugin/python.d.conf
2343
2344 # conf files
2345
2174 -install(FILES collectors/python.d.plugin/adaptec_raid/adaptec_raid.conf
2175 - collectors/python.d.plugin/alarms/alarms.conf
2176 - collectors/python.d.plugin/am2320/am2320.conf
2177 - collectors/python.d.plugin/anomalies/anomalies.conf
2178 - collectors/python.d.plugin/beanstalk/beanstalk.conf
2179 - collectors/python.d.plugin/bind_rndc/bind_rndc.conf
2180 - collectors/python.d.plugin/boinc/boinc.conf
2181 - collectors/python.d.plugin/ceph/ceph.conf
2182 - collectors/python.d.plugin/changefinder/changefinder.conf
2183 - collectors/python.d.plugin/dovecot/dovecot.conf
2184 - collectors/python.d.plugin/example/example.conf
2185 - collectors/python.d.plugin/exim/exim.conf
2186 - collectors/python.d.plugin/fail2ban/fail2ban.conf
2187 - collectors/python.d.plugin/gearman/gearman.conf
2188 - collectors/python.d.plugin/go_expvar/go_expvar.conf
2189 - collectors/python.d.plugin/haproxy/haproxy.conf
2190 - collectors/python.d.plugin/hddtemp/hddtemp.conf
2191 - collectors/python.d.plugin/hpssa/hpssa.conf
2192 - collectors/python.d.plugin/icecast/icecast.conf
2193 - collectors/python.d.plugin/ipfs/ipfs.conf
2194 - collectors/python.d.plugin/litespeed/litespeed.conf
2195 - collectors/python.d.plugin/megacli/megacli.conf
2196 - collectors/python.d.plugin/memcached/memcached.conf
2197 - collectors/python.d.plugin/monit/monit.conf
2198 - collectors/python.d.plugin/nsd/nsd.conf
2199 - collectors/python.d.plugin/nvidia_smi/nvidia_smi.conf
2200 - collectors/python.d.plugin/openldap/openldap.conf
2201 - collectors/python.d.plugin/oracledb/oracledb.conf
2202 - collectors/python.d.plugin/pandas/pandas.conf
2203 - collectors/python.d.plugin/postfix/postfix.conf
2204 - collectors/python.d.plugin/puppet/puppet.conf
2205 - collectors/python.d.plugin/rethinkdbs/rethinkdbs.conf
2206 - collectors/python.d.plugin/retroshare/retroshare.conf
2207 - collectors/python.d.plugin/riakkv/riakkv.conf
2208 - collectors/python.d.plugin/samba/samba.conf
2209 - collectors/python.d.plugin/sensors/sensors.conf
2210 - collectors/python.d.plugin/smartd_log/smartd_log.conf
2211 - collectors/python.d.plugin/spigotmc/spigotmc.conf
2212 - collectors/python.d.plugin/squid/squid.conf
2213 - collectors/python.d.plugin/tomcat/tomcat.conf
2214 - collectors/python.d.plugin/tor/tor.conf
2215 - collectors/python.d.plugin/traefik/traefik.conf
2216 - collectors/python.d.plugin/uwsgi/uwsgi.conf
2217 - collectors/python.d.plugin/varnish/varnish.conf
2218 - collectors/python.d.plugin/w1sensor/w1sensor.conf
2219 - collectors/python.d.plugin/zscores/zscores.conf
2346 +install(FILES
2347 + collectors/python.d.plugin/adaptec_raid/adaptec_raid.conf
2348 + collectors/python.d.plugin/alarms/alarms.conf
2349 + collectors/python.d.plugin/am2320/am2320.conf
2350 + collectors/python.d.plugin/anomalies/anomalies.conf
2351 + collectors/python.d.plugin/beanstalk/beanstalk.conf
2352 + collectors/python.d.plugin/bind_rndc/bind_rndc.conf
2353 + collectors/python.d.plugin/boinc/boinc.conf
2354 + collectors/python.d.plugin/ceph/ceph.conf
2355 + collectors/python.d.plugin/changefinder/changefinder.conf
2356 + collectors/python.d.plugin/dovecot/dovecot.conf
2357 + collectors/python.d.plugin/example/example.conf
2358 + collectors/python.d.plugin/exim/exim.conf
2359 + collectors/python.d.plugin/fail2ban/fail2ban.conf
2360 + collectors/python.d.plugin/gearman/gearman.conf
2361 + collectors/python.d.plugin/go_expvar/go_expvar.conf
2362 + collectors/python.d.plugin/haproxy/haproxy.conf
2363 + collectors/python.d.plugin/hddtemp/hddtemp.conf
2364 + collectors/python.d.plugin/hpssa/hpssa.conf
2365 + collectors/python.d.plugin/icecast/icecast.conf
2366 + collectors/python.d.plugin/ipfs/ipfs.conf
2367 + collectors/python.d.plugin/litespeed/litespeed.conf
2368 + collectors/python.d.plugin/megacli/megacli.conf
2369 + collectors/python.d.plugin/memcached/memcached.conf
2370 + collectors/python.d.plugin/monit/monit.conf
2371 + collectors/python.d.plugin/nsd/nsd.conf
2372 + collectors/python.d.plugin/nvidia_smi/nvidia_smi.conf
2373 + collectors/python.d.plugin/openldap/openldap.conf
2374 + collectors/python.d.plugin/oracledb/oracledb.conf
2375 + collectors/python.d.plugin/pandas/pandas.conf
2376 + collectors/python.d.plugin/postfix/postfix.conf
2377 + collectors/python.d.plugin/puppet/puppet.conf
2378 + collectors/python.d.plugin/rethinkdbs/rethinkdbs.conf
2379 + collectors/python.d.plugin/retroshare/retroshare.conf
2380 + collectors/python.d.plugin/riakkv/riakkv.conf
2381 + collectors/python.d.plugin/samba/samba.conf
2382 + collectors/python.d.plugin/sensors/sensors.conf
2383 + collectors/python.d.plugin/smartd_log/smartd_log.conf
2384 + collectors/python.d.plugin/spigotmc/spigotmc.conf
2385 + collectors/python.d.plugin/squid/squid.conf
2386 + collectors/python.d.plugin/tomcat/tomcat.conf
2387 + collectors/python.d.plugin/tor/tor.conf
2388 + collectors/python.d.plugin/traefik/traefik.conf
2389 + collectors/python.d.plugin/uwsgi/uwsgi.conf
2390 + collectors/python.d.plugin/varnish/varnish.conf
2391 + collectors/python.d.plugin/w1sensor/w1sensor.conf
2392 + collectors/python.d.plugin/zscores/zscores.conf
2393 DESTINATION usr/lib/netdata/conf.d/python.d)
2394
2395 # scripts
2396
2224 -install(FILES collectors/python.d.plugin/adaptec_raid/adaptec_raid.chart.py
2225 - collectors/python.d.plugin/alarms/alarms.chart.py
2226 - collectors/python.d.plugin/am2320/am2320.chart.py
2227 - collectors/python.d.plugin/anomalies/anomalies.chart.py
2228 - collectors/python.d.plugin/beanstalk/beanstalk.chart.py
2229 - collectors/python.d.plugin/bind_rndc/bind_rndc.chart.py
2230 - collectors/python.d.plugin/boinc/boinc.chart.py
2231 - collectors/python.d.plugin/ceph/ceph.chart.py
2232 - collectors/python.d.plugin/changefinder/changefinder.chart.py
2233 - collectors/python.d.plugin/dovecot/dovecot.chart.py
2234 - collectors/python.d.plugin/example/example.chart.py
2235 - collectors/python.d.plugin/exim/exim.chart.py
2236 - collectors/python.d.plugin/fail2ban/fail2ban.chart.py
2237 - collectors/python.d.plugin/gearman/gearman.chart.py
2238 - collectors/python.d.plugin/go_expvar/go_expvar.chart.py
2239 - collectors/python.d.plugin/haproxy/haproxy.chart.py
2240 - collectors/python.d.plugin/hddtemp/hddtemp.chart.py
2241 - collectors/python.d.plugin/hpssa/hpssa.chart.py
2242 - collectors/python.d.plugin/icecast/icecast.chart.py
2243 - collectors/python.d.plugin/ipfs/ipfs.chart.py
2244 - collectors/python.d.plugin/litespeed/litespeed.chart.py
2245 - collectors/python.d.plugin/megacli/megacli.chart.py
2246 - collectors/python.d.plugin/memcached/memcached.chart.py
2247 - collectors/python.d.plugin/monit/monit.chart.py
2248 - collectors/python.d.plugin/nsd/nsd.chart.py
2249 - collectors/python.d.plugin/nvidia_smi/nvidia_smi.chart.py
2250 - collectors/python.d.plugin/openldap/openldap.chart.py
2251 - collectors/python.d.plugin/oracledb/oracledb.chart.py
2252 - collectors/python.d.plugin/pandas/pandas.chart.py
2253 - collectors/python.d.plugin/postfix/postfix.chart.py
2254 - collectors/python.d.plugin/puppet/puppet.chart.py
2255 - collectors/python.d.plugin/rethinkdbs/rethinkdbs.chart.py
2256 - collectors/python.d.plugin/retroshare/retroshare.chart.py
2257 - collectors/python.d.plugin/riakkv/riakkv.chart.py
2258 - collectors/python.d.plugin/samba/samba.chart.py
2259 - collectors/python.d.plugin/sensors/sensors.chart.py
2260 - collectors/python.d.plugin/smartd_log/smartd_log.chart.py
2261 - collectors/python.d.plugin/spigotmc/spigotmc.chart.py
2262 - collectors/python.d.plugin/squid/squid.chart.py
2263 - collectors/python.d.plugin/tomcat/tomcat.chart.py
2264 - collectors/python.d.plugin/tor/tor.chart.py
2265 - collectors/python.d.plugin/traefik/traefik.chart.py
2266 - collectors/python.d.plugin/uwsgi/uwsgi.chart.py
2267 - collectors/python.d.plugin/varnish/varnish.chart.py
2268 - collectors/python.d.plugin/w1sensor/w1sensor.chart.py
2269 - collectors/python.d.plugin/zscores/zscores.chart.py
2397 +install(FILES
2398 + collectors/python.d.plugin/adaptec_raid/adaptec_raid.chart.py
2399 + collectors/python.d.plugin/alarms/alarms.chart.py
2400 + collectors/python.d.plugin/am2320/am2320.chart.py
2401 + collectors/python.d.plugin/anomalies/anomalies.chart.py
2402 + collectors/python.d.plugin/beanstalk/beanstalk.chart.py
2403 + collectors/python.d.plugin/bind_rndc/bind_rndc.chart.py
2404 + collectors/python.d.plugin/boinc/boinc.chart.py
2405 + collectors/python.d.plugin/ceph/ceph.chart.py
2406 + collectors/python.d.plugin/changefinder/changefinder.chart.py
2407 + collectors/python.d.plugin/dovecot/dovecot.chart.py
2408 + collectors/python.d.plugin/example/example.chart.py
2409 + collectors/python.d.plugin/exim/exim.chart.py
2410 + collectors/python.d.plugin/fail2ban/fail2ban.chart.py
2411 + collectors/python.d.plugin/gearman/gearman.chart.py
2412 + collectors/python.d.plugin/go_expvar/go_expvar.chart.py
2413 + collectors/python.d.plugin/haproxy/haproxy.chart.py
2414 + collectors/python.d.plugin/hddtemp/hddtemp.chart.py
2415 + collectors/python.d.plugin/hpssa/hpssa.chart.py
2416 + collectors/python.d.plugin/icecast/icecast.chart.py
2417 + collectors/python.d.plugin/ipfs/ipfs.chart.py
2418 + collectors/python.d.plugin/litespeed/litespeed.chart.py
2419 + collectors/python.d.plugin/megacli/megacli.chart.py
2420 + collectors/python.d.plugin/memcached/memcached.chart.py
2421 + collectors/python.d.plugin/monit/monit.chart.py
2422 + collectors/python.d.plugin/nsd/nsd.chart.py
2423 + collectors/python.d.plugin/nvidia_smi/nvidia_smi.chart.py
2424 + collectors/python.d.plugin/openldap/openldap.chart.py
2425 + collectors/python.d.plugin/oracledb/oracledb.chart.py
2426 + collectors/python.d.plugin/pandas/pandas.chart.py
2427 + collectors/python.d.plugin/postfix/postfix.chart.py
2428 + collectors/python.d.plugin/puppet/puppet.chart.py
2429 + collectors/python.d.plugin/rethinkdbs/rethinkdbs.chart.py
2430 + collectors/python.d.plugin/retroshare/retroshare.chart.py
2431 + collectors/python.d.plugin/riakkv/riakkv.chart.py
2432 + collectors/python.d.plugin/samba/samba.chart.py
2433 + collectors/python.d.plugin/sensors/sensors.chart.py
2434 + collectors/python.d.plugin/smartd_log/smartd_log.chart.py
2435 + collectors/python.d.plugin/spigotmc/spigotmc.chart.py
2436 + collectors/python.d.plugin/squid/squid.chart.py
2437 + collectors/python.d.plugin/tomcat/tomcat.chart.py
2438 + collectors/python.d.plugin/tor/tor.chart.py
2439 + collectors/python.d.plugin/traefik/traefik.chart.py
2440 + collectors/python.d.plugin/uwsgi/uwsgi.chart.py
2441 + collectors/python.d.plugin/varnish/varnish.chart.py
2442 + collectors/python.d.plugin/w1sensor/w1sensor.chart.py
2443 + collectors/python.d.plugin/zscores/zscores.chart.py
2444 DESTINATION usr/libexec/netdata/python.d)
2445
2446 # FIXME: don't install this unconditionally
@@ -2304,31 +2478,41 @@ endforeach()
2478 configure_file(${CMAKE_BINARY_DIR}/dashboard.js.in
2479 ${CMAKE_BINARY_DIR}/dashboard.js COPYONLY)
2480
2307 -install(FILES ${CMAKE_BINARY_DIR}/dashboard.js DESTINATION ${WEB_DEST})
2308 -
2309 -install(FILES web/gui/dashboard_info_custom_example.js
2310 - web/gui/dashboard_info.js
2311 - web/gui/index.html
2312 - web/gui/main.css
2313 - web/gui/main.js
2314 - web/gui/registry-access.html
2315 - web/gui/registry-alert-redirect.html
2316 - web/gui/registry-hello.html
2317 - web/gui/switch.html
2318 - web/gui/ilove.html
2481 +install(FILES
2482 + ${CMAKE_BINARY_DIR}/dashboard.js
2483 + DESTINATION ${WEB_DEST})
2484 +
2485 +install(FILES
2486 + web/gui/dashboard_info_custom_example.js
2487 + web/gui/dashboard_info.js
2488 + web/gui/index.html
2489 + web/gui/main.css
2490 + web/gui/main.js
2491 + web/gui/registry-access.html
2492 + web/gui/registry-alert-redirect.html
2493 + web/gui/registry-hello.html
2494 + web/gui/switch.html
2495 + web/gui/ilove.html
2496 DESTINATION ${WEB_DEST})
2497
2321 -install(FILES web/gui/old/index.html DESTINATION ${WEB_DEST}/old)
2498 +install(FILES
2499 + web/gui/old/index.html
2500 + DESTINATION ${WEB_DEST}/old)
2501
2323 -install(FILES web/gui/static/img/netdata-logomark.svg DESTINATION ${WEB_DEST}/static/img)
2502 +install(FILES
2503 + web/gui/static/img/netdata-logomark.svg
2504 + DESTINATION ${WEB_DEST}/static/img)
2505
2325 -install(FILES web/gui/css/morris-0.5.1.css
2326 - web/gui/css/c3-0.4.18.min.css
2506 +install(FILES
2507 + web/gui/css/morris-0.5.1.css
2508 + web/gui/css/c3-0.4.18.min.css
2509 DESTINATION ${WEB_DEST}/css)
2510
2329 -install(FILES web/gui/.well-known/dnt/cookies
2511 +install(FILES
2512 + web/gui/.well-known/dnt/cookies
2513 DESTINATION ${WEB_DEST}/.well-known/dnt)
2514
2515 # v0 dashboard
2333 -install(FILES web/gui/v0/index.html
2516 +install(FILES
2517 + web/gui/v0/index.html
2518 DESTINATION ${WEB_DEST}/v0)
cli/cli.c
+3 -96
@@ -4,102 +4,6 @@
4 #include "daemon/common.h"
5 #include "libnetdata/required_dummies.h"
6
7 -void netdata_logger(ND_LOG_SOURCES source __maybe_unused, ND_LOG_FIELD_PRIORITY priority __maybe_unused, const char *file __maybe_unused, const char *function __maybe_unused, unsigned long line __maybe_unused, const char *fmt, ... ) {
8 - va_list args;
9 - va_start(args, fmt);
10 - vfprintf(stderr, fmt, args );
11 - va_end(args);
12 -}
13 -
14 -#ifdef NETDATA_INTERNAL_CHECKS
15 -
16 -uint64_t debug_flags;
17 -
18 -void netdata_logger_fatal( const char *file __maybe_unused, const char *function __maybe_unused, const unsigned long line __maybe_unused, const char *fmt __maybe_unused, ... )
19 -{
20 - abort();
21 -}
22 -#endif
23 -
24 -#ifdef NETDATA_TRACE_ALLOCATIONS
25 -void *callocz_int(size_t nmemb, size_t size, const char *file __maybe_unused, const char *function __maybe_unused, size_t line __maybe_unused)
26 -{
27 - void *p = calloc(nmemb, size);
28 - if (unlikely(!p)) {
29 - netdata_log_error("Cannot allocate %zu bytes of memory.", nmemb * size);
30 - exit(1);
31 - }
32 - return p;
33 -}
34 -
35 -void *mallocz_int(size_t size, const char *file __maybe_unused, const char *function __maybe_unused, size_t line __maybe_unused)
36 -{
37 - void *p = malloc(size);
38 - if (unlikely(!p)) {
39 - netdata_log_error("Cannot allocate %zu bytes of memory.", size);
40 - exit(1);
41 - }
42 - return p;
43 -}
44 -
45 -void *reallocz_int(void *ptr, size_t size, const char *file __maybe_unused, const char *function __maybe_unused, size_t line __maybe_unused)
46 -{
47 - void *p = realloc(ptr, size);
48 - if (unlikely(!p)) {
49 - netdata_log_error("Cannot allocate %zu bytes of memory.", size);
50 - exit(1);
51 - }
52 - return p;
53 -}
54 -
55 -void freez_int(void *ptr, const char *file __maybe_unused, const char *function __maybe_unused, size_t line __maybe_unused)
56 -{
57 - free(ptr);
58 -}
59 -#else
60 -void freez(void *ptr) {
61 - free(ptr);
62 -}
63 -
64 -void *mallocz(size_t size) {
65 - void *p = malloc(size);
66 - if (unlikely(!p)) {
67 - netdata_log_error("Cannot allocate %zu bytes of memory.", size);
68 - exit(1);
69 - }
70 - return p;
71 -}
72 -
73 -void *callocz(size_t nmemb, size_t size) {
74 - void *p = calloc(nmemb, size);
75 - if (unlikely(!p)) {
76 - netdata_log_error("Cannot allocate %zu bytes of memory.", nmemb * size);
77 - exit(1);
78 - }
79 - return p;
80 -}
81 -
82 -void *reallocz(void *ptr, size_t size) {
83 - void *p = realloc(ptr, size);
84 - if (unlikely(!p)) {
85 - netdata_log_error("Cannot allocate %zu bytes of memory.", size);
86 - exit(1);
87 - }
88 - return p;
89 -}
90 -#endif
91 -
92 -int vsnprintfz(char *dst, size_t n, const char *fmt, va_list args) {
93 - if(unlikely(!n)) return 0;
94 -
95 - int size = vsnprintf(dst, n, fmt, args);
96 - dst[n - 1] = '\0';
97 -
98 - if (unlikely((size_t) size > n)) size = (int)n;
99 -
100 - return size;
101 -}
102 -
7 static uv_pipe_t client_pipe;
8 static uv_write_t write_req;
9 static uv_shutdown_t shutdown_req;
@@ -251,6 +155,9 @@ static void connect_cb(uv_connect_t* req, int status)
155
156 int main(int argc, char **argv)
157 {
158 + clocks_init();
159 + nd_log_initialize_for_external_plugins("netdatacli");
160 +
161 int ret, i;
162 static uv_loop_t* loop;
163 uv_connect_t req;
collectors/log2journal/log2journal.h
+1 -1
@@ -4,7 +4,7 @@
4 #define NETDATA_LOG2JOURNAL_H
5
6 // only for PACKAGE_VERSION
7 -#include "config.h"
7 +#include <config.h>
8
9 #include <stdio.h>
10 #include <stdlib.h>