aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Woods <woodsb02@FreeBSD.org>2022-12-27 01:01:38 +0000
committerBen Woods <woodsb02@FreeBSD.org>2022-12-27 01:01:38 +0000
commitb02e58aec16fdae73cb59554d37d592ec36100bb (patch)
treee95cbb5f817a386503f904b6a99d54a8da90697c
parent481978c0272ec2244f1ae1f0dee3b92dbdafed8e (diff)
downloadports-b02e58aec16fdae73cb59554d37d592ec36100bb.tar.gz
ports-b02e58aec16fdae73cb59554d37d592ec36100bb.zip
net-mgmt/netdata: Enable CLOUD option by default
Even with the CLOUD option enabled, the Netdata agent does not connect to the Netdata Cloud by default. This has to be manually enabled after the agent is first run using the netdata-claim.sh script. Add to pkg-message instructions an optional step for cloud integration, with a link to the netdata-claim.sh online instructions. Approved by: nc (maintainer timeout) Differential Revision: https://reviews.freebsd.org/D37453
-rw-r--r--net-mgmt/netdata/Makefile4
-rw-r--r--net-mgmt/netdata/pkg-message2
2 files changed, 4 insertions, 2 deletions
diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile
index 2aefef74cd65..d2e749eadf69 100644
--- a/net-mgmt/netdata/Makefile
+++ b/net-mgmt/netdata/Makefile
@@ -1,7 +1,7 @@
PORTNAME= netdata
DISTVERSIONPREFIX= v
DISTVERSION= 1.36.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ \
https://github.com/forkbomb9/netdata/commit/:dashboard
@@ -51,7 +51,7 @@ PLIST_SUB= NETDATA_CACHE=${NETDATA_CACHE} \
NETDATA_PERST=${NETDATA_PERST}
OPTIONS_DEFINE= CLOUD CUPS DBENGINE FREEIPMI GOPLUGIN LTO
-OPTIONS_DEFAULT= DBENGINE LTO
+OPTIONS_DEFAULT= CLOUD DBENGINE LTO
OPTIONS_EXCLUDE_powerpc64= LTO
OPTIONS_EXCLUDE_riscv64= LTO
OPTIONS_SUB= YES
diff --git a/net-mgmt/netdata/pkg-message b/net-mgmt/netdata/pkg-message
index a71e3d53688d..b52ed9960650 100644
--- a/net-mgmt/netdata/pkg-message
+++ b/net-mgmt/netdata/pkg-message
@@ -6,6 +6,8 @@ Quick start for local-only use:
1. sysrc netdata_enable="YES"
2. service netdata start
3. Go to http://localhost:19999/
+4. <Optional> Connect to Netdata Cloud using the netdata-claim.sh script:
+ https://learn.netdata.cloud/docs/agent/claim#claiming-script
EOM
}
]