diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2020-02-07 20:14:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-07 12:14:47 -0800 |
commit | ee55155912c17139a3a0ab2815f15651e63e5a9c (patch) | |
tree | 3cbaf6c35e0ac9dba8023a9db9b2979c266992d5 /daemon | |
parent | 57055c9ac18e70a812aec4230219e928405cbb26 (diff) |
Update `api/v1/info ` (#7862)
* update_info: New variables
This commit creates inside script and it reads them to Netdata
* update_info: API
This commit changes the web api response
* update_info: Disk space
This commit brings the disk space to info and renames the environment variables inside Netdata
* update_info: Rename variable
This commit renames the environment variable
* update_info: Rename response variable
This commit renames a response variable
* update_info: Labels
This commit creates the missing labels
* update_info: test before free
* update_info: Doc function
This commit brings docummentation to the functions to give instructions to developer
* update_info: Fix info message
This commit removes some info messages from the error.log
* update_info: Remove unecessary ifs, considering free manual
Diffstat (limited to 'daemon')
-rwxr-xr-x | daemon/system-info.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/daemon/system-info.sh b/daemon/system-info.sh index 6c19c6e636..110b4b3129 100755 --- a/daemon/system-info.sh +++ b/daemon/system-info.sh @@ -370,13 +370,13 @@ echo "NETDATA_SYSTEM_VIRTUALIZATION=${VIRTUALIZATION}" echo "NETDATA_SYSTEM_VIRT_DETECTION=${VIRT_DETECTION}" echo "NETDATA_SYSTEM_CONTAINER=${CONTAINER}" echo "NETDATA_SYSTEM_CONTAINER_DETECTION=${CONT_DETECTION}" -echo "NETDATA_CPU_LOGICAL_CPU_COUNT=${LCPU_COUNT}" -echo "NETDATA_CPU_VENDOR=${CPU_VENDOR}" -echo "NETDATA_CPU_MODEL=${CPU_MODEL}" -echo "NETDATA_CPU_FREQ=${CPU_FREQ}" -echo "NETDATA_CPU_DETECTION=${CPU_INFO_SOURCE}" -echo "NETDATA_TOTAL_RAM=${TOTAL_RAM}" -echo "NETDATA_RAM_DETECTION=${RAM_DETECTION}" -echo "NETDATA_TOTAL_DISK_SIZE=${DISK_SIZE}" -echo "NETDATA_DISK_DETECTION=${DISK_DETECTION}" +echo "NETDATA_SYSTEM_CPU_LOGICAL_CPU_COUNT=${LCPU_COUNT}" +echo "NETDATA_SYSTEM_CPU_VENDOR=${CPU_VENDOR}" +echo "NETDATA_SYSTEM_CPU_MODEL=${CPU_MODEL}" +echo "NETDATA_SYSTEM_CPU_FREQ=${CPU_FREQ}" +echo "NETDATA_SYSTEM_CPU_DETECTION=${CPU_INFO_SOURCE}" +echo "NETDATA_SYSTEM_TOTAL_RAM=${TOTAL_RAM}" +echo "NETDATA_SYSTEM_RAM_DETECTION=${RAM_DETECTION}" +echo "NETDATA_SYSTEM_TOTAL_DISK_SIZE=${DISK_SIZE}" +echo "NETDATA_SYSTEM_DISK_DETECTION=${DISK_DETECTION}" |