|
18 | 18 | "/info": { |
19 | 19 | "get": { |
20 | 20 | "summary": "Get netdata basic information", |
21 | | - "description": "The info endpoint returns basic information about netdata. It provides:\n* netdata version\n* netdata unique id\n* list of hosts mirrored (includes itself)\n* number of alarms in the host\n * number of alarms in normal state\n * number of alarms in warning state\n * number of alarms in critical state\n", |
| 21 | + "description": "The info endpoint returns basic information about netdata. It provides:\n* netdata version\n* netdata unique id\n* list of hosts mirrored (includes itself)\n* Operating System, Virtualization and Container technology information\n* List of active collector plugins and modules\n* number of alarms in the host\n * number of alarms in normal state\n * number of alarms in warning state\n * number of alarms in critical state\n", |
22 | 22 | "responses": { |
23 | 23 | "200": { |
24 | 24 | "description": "netdata basic information", |
25 | 25 | "schema": { |
26 | 26 | "$ref": "#/definitions/info" |
27 | 27 | } |
| 28 | + }, |
| 29 | + "503": { |
| 30 | + "description": "netdata daemon not ready (used for health checks)" |
28 | 31 | } |
29 | 32 | } |
30 | 33 | } |
|
706 | 709 | "host2.example.com" |
707 | 710 | ] |
708 | 711 | }, |
| 712 | + "os_name": { |
| 713 | + "type": "string", |
| 714 | + "description": "Operating System Name", |
| 715 | + "example": "Manjaro Linux" |
| 716 | + }, |
| 717 | + "os_id": { |
| 718 | + "type": "string", |
| 719 | + "description": "Operating System ID", |
| 720 | + "example": "manjaro" |
| 721 | + }, |
| 722 | + "os_id_like": { |
| 723 | + "type": "string", |
| 724 | + "description": "Known OS similar to this OS", |
| 725 | + "example": "arch" |
| 726 | + }, |
| 727 | + "os_version": { |
| 728 | + "type": "string", |
| 729 | + "description": "Operating System Version", |
| 730 | + "example": "18.0.4" |
| 731 | + }, |
| 732 | + "os_version_id": { |
| 733 | + "type": "string", |
| 734 | + "description": "Operating System Version ID", |
| 735 | + "example": "unknown" |
| 736 | + }, |
| 737 | + "os_detection": { |
| 738 | + "type": "string", |
| 739 | + "description": "OS parameters detection method", |
| 740 | + "example": "Mixed" |
| 741 | + }, |
| 742 | + "kernel_name": { |
| 743 | + "type": "string", |
| 744 | + "description": "Kernel Name", |
| 745 | + "example": "Linux" |
| 746 | + }, |
| 747 | + "kernel_version": { |
| 748 | + "type": "string", |
| 749 | + "description": "Kernel Version", |
| 750 | + "example": "4.19.32-1-MANJARO" |
| 751 | + }, |
| 752 | + "architecture": { |
| 753 | + "type": "string", |
| 754 | + "description": "Kernel architecture", |
| 755 | + "example": "x86_64" |
| 756 | + }, |
| 757 | + "virtualization": { |
| 758 | + "type": "string", |
| 759 | + "description": "Virtualization Type", |
| 760 | + "example": "kvm" |
| 761 | + }, |
| 762 | + "virt_detection": { |
| 763 | + "type": "string", |
| 764 | + "description": "Virtualization detection method", |
| 765 | + "example": "systemd-detect-virt" |
| 766 | + }, |
| 767 | + "container": { |
| 768 | + "type": "string", |
| 769 | + "description": "Container technology", |
| 770 | + "example": "docker" |
| 771 | + }, |
| 772 | + "container_detection": { |
| 773 | + "type": "string", |
| 774 | + "description": "Container technology detection method", |
| 775 | + "example": "dockerenv" |
| 776 | + }, |
| 777 | + "collectors": { |
| 778 | + "type": "array", |
| 779 | + "items": { |
| 780 | + "type": "object", |
| 781 | + "description": "Array of collector plugins and modules", |
| 782 | + "properties": { |
| 783 | + "plugin": { |
| 784 | + "type": "string", |
| 785 | + "description": "Collector plugin", |
| 786 | + "example": "python.d.plugin" |
| 787 | + }, |
| 788 | + "module": { |
| 789 | + "type": "string", |
| 790 | + "description": "Module of the collector plugin", |
| 791 | + "example": "dockerd" |
| 792 | + } |
| 793 | + } |
| 794 | + } |
| 795 | + }, |
709 | 796 | "alarms": { |
710 | 797 | "type": "object", |
711 | 798 | "description": "number of alarms in the server.", |
|
0 commit comments