summaryrefslogtreecommitdiffstats
path: root/system/netdata.conf
diff options
context:
space:
mode:
Diffstat (limited to 'system/netdata.conf')
-rw-r--r--system/netdata.conf32
1 files changed, 21 insertions, 11 deletions
diff --git a/system/netdata.conf b/system/netdata.conf
index 6108d908..7d7c54f4 100644
--- a/system/netdata.conf
+++ b/system/netdata.conf
@@ -1,14 +1,24 @@
-# NetData Configuration
+# netdata configuration
+#
+# You can download the latest version of this file, using:
+#
+# wget -O /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
+# or
+# curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
+#
+# You can uncomment and change any of the options below.
+# The value shown in the commented settings, is the default value.
#
-# To see defaults, grab one from your instance:
-# http://localhost:19999/netdata.conf
-
-# global netdata configuration
[global]
- run as user = netdata
- web files owner = root
- web files group = netdata
- # Netdata is not designed to be exposed to potentially hostile networks
- # See https://github.com/firehol/netdata/issues/164
- bind to = localhost
+ run as user = netdata
+
+ # the default database size - 1 hour
+ history = 3600
+
+ # by default do not expose the netdata port
+ bind to = localhost
+
+[web]
+ web files owner = root
+ web files group = netdata