diff options
author | lifanov <lifanov@FreeBSD.org> | 2017-01-27 11:16:36 +0800 |
---|---|---|
committer | lifanov <lifanov@FreeBSD.org> | 2017-01-27 11:16:36 +0800 |
commit | 9a9a8b248fe25e7325cec86424002ccbd561bb7f (patch) | |
tree | e84f8102c61b62c9fbb52b519a1c74ea72a89cfe | |
parent | 66c724bbb0269b93e2b5350d12974fc42db8df79 (diff) | |
download | freebsd-ports-gnome-9a9a8b248fe25e7325cec86424002ccbd561bb7f.tar.gz freebsd-ports-gnome-9a9a8b248fe25e7325cec86424002ccbd561bb7f.tar.zst freebsd-ports-gnome-9a9a8b248fe25e7325cec86424002ccbd561bb7f.zip |
new port: net-mgmt/netdata
NetData is scalable, distributed real-time performance and health monitoring.
PR: 216497
Submitted by: Mahdi Mokhtari <mokhi64@gmail.com>
Reviewed by: lifanov, matthew
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D9351
-rw-r--r-- | GIDs | 2 | ||||
-rw-r--r-- | UIDs | 2 | ||||
-rw-r--r-- | net-mgmt/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/netdata/Makefile | 63 | ||||
-rw-r--r-- | net-mgmt/netdata/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/netdata/files/netdata.conf.sample.in | 3403 | ||||
-rw-r--r-- | net-mgmt/netdata/files/netdata.in | 36 | ||||
-rw-r--r-- | net-mgmt/netdata/files/patch-configure.ac | 31 | ||||
-rw-r--r-- | net-mgmt/netdata/files/patch-src_Makefile.am | 15 | ||||
-rw-r--r-- | net-mgmt/netdata/files/patch-src_common.c | 37 | ||||
-rw-r--r-- | net-mgmt/netdata/files/patch-src_freebsd__sysctl.c | 26 | ||||
-rw-r--r-- | net-mgmt/netdata/files/patch-src_plugin__freebsd.c | 28 | ||||
-rw-r--r-- | net-mgmt/netdata/files/patch-src_plugin__freebsd.h | 27 | ||||
-rw-r--r-- | net-mgmt/netdata/pkg-descr | 10 | ||||
-rw-r--r-- | net-mgmt/netdata/pkg-plist | 313 |
15 files changed, 3995 insertions, 2 deletions
@@ -243,7 +243,7 @@ ntopng:*:288: # free: 299 backuppc:*:300: # free: 301 -# free: 302 +netdata:*:302: # free: 303 # free: 304 # free: 305 @@ -248,7 +248,7 @@ ntopng:*:288:288::0:0:ntopng daemon user:/nonexistent:/usr/sbin/nologin # free: 299 backuppc:*:300:300::0:0:BackupPC pseudo-user:/nonexistent:/usr/sbin/nologin # free: 301 -# free: 302 +netdata:*:302:302::0:0:NetData Daemon:/var/cache/netdata:/usr/sbin/nologin # free: 303 # free: 304 # free: 305 diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index 645d89926cfd..8261200d4688 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -157,6 +157,7 @@ SUBDIR += nedi SUBDIR += nefu SUBDIR += net-snmp + SUBDIR += netdata SUBDIR += netdisco SUBDIR += netdisco-mibs SUBDIR += netdot diff --git a/net-mgmt/netdata/Makefile b/net-mgmt/netdata/Makefile new file mode 100644 index 000000000000..abcc7c94c4d6 --- /dev/null +++ b/net-mgmt/netdata/Makefile @@ -0,0 +1,63 @@ +# Created by: Mahdi Mokhtari <mokhi64@gmail.com> +# $FreeBSD$ + +PORTNAME= netdata +PORTVERSION= 1.5.0 +CATEGORIES= net-mgmt + +MAINTAINER= mokhi64@gmail.com +COMMENT= Scalable distributed realtime performance and health monitoring + +LICENSE= GPLv3 + +BUILD_DEPENDS+= ${LOCALBASE}/include/uuid/uuid.h:misc/e2fsprogs-libuuid +LIB_DEPENDS+= libuuid.so:misc/e2fsprogs-libuuid + +USE_GITHUB= yes +GH_ACCOUNT= firehol +GH_TAGNAME= 3bd41a0 + +NETDATA_CACHE= /var/cache/${PORTNAME} +NETDATA_LOG= /var/log/${PORTNAME} +NETDATA_PERST= /var/db/${PORTNAME} + +USES= autoreconf pathfix pkgconfig:both python shebangfix +USE_LDCONFIG= yes + +GNU_CONFIGURE= yes +CPPFLAGS+= -I${LOCALBASE}/include +LIBS+= -L${LOCALBASE}/lib +INSTALL_TARGET= install-strip + +SUB_LIST+= NETDATA_CACHE=${NETDATA_CACHE} \ + NETDATA_LOG=${NETDATA_LOG} \ + NETDATA_PERST=${NETDATA_PERST} + +PLIST_SUB+= NETDATA_CACHE=${NETDATA_CACHE} \ + NETDATA_LOG=${NETDATA_LOG} \ + NETDATA_PERST=${NETDATA_PERST} + +USE_RC_SUBR= ${PORTNAME} +SUB_FILES= ${PORTNAME}.conf.sample + +USERS= netdata +GROUPS= netdata + +post-patch: + @${REINPLACE_CMD} -e 's|%%NETDATA_CACHE%%|${NETDATA_CACHE}|g' \ + ${PATCH_WRKSRC}/configure.ac + @${REINPLACE_CMD} -e 's|%%NETDATA_LOG%%|${NETDATA_LOG}|g' \ + ${PATCH_WRKSRC}/configure.ac + @${REINPLACE_CMD} -e 's|%%NETDATA_PERST%%|${NETDATA_PERST}|g' \ + ${PATCH_WRKSRC}/configure.ac + @${REINPLACE_CMD} -e 's|%%ETCDIR%%|${ETCDIR}|g' \ + ${PATCH_WRKSRC}/configure.ac + +post-install: + ${MKDIR} ${STAGEDIR}${ETCDIR} + ${INSTALL_DATA} ${WRKDIR}/netdata.conf.sample ${STAGEDIR}${ETCDIR}/netdata.conf.sample + ${MKDIR} ${STAGEDIR}${NETDATA_CACHE} + ${MKDIR} ${STAGEDIR}${NETDATA_LOG} + ${MKDIR} ${STAGEDIR}${NETDATA_PERST} + +.include <bsd.port.mk> diff --git a/net-mgmt/netdata/distinfo b/net-mgmt/netdata/distinfo new file mode 100644 index 000000000000..c20ee71f2ba1 --- /dev/null +++ b/net-mgmt/netdata/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1485268722 +SHA256 (firehol-netdata-1.5.0-3bd41a0_GH0.tar.gz) = add4d6dceed43771deccf7388c9ff68fe72ca8f771f79b0a5fb19213d940888d +SIZE (firehol-netdata-1.5.0-3bd41a0_GH0.tar.gz) = 2257311 diff --git a/net-mgmt/netdata/files/netdata.conf.sample.in b/net-mgmt/netdata/files/netdata.conf.sample.in new file mode 100644 index 000000000000..ede17802107a --- /dev/null +++ b/net-mgmt/netdata/files/netdata.conf.sample.in @@ -0,0 +1,3403 @@ +# $FreeBSD$ + +# netdata configuration +# +# You can uncomment and change any of the options below. +# The value shown in the commented settings, is the default value. +# + +# global netdata configuration + +[global] + # hostname = %%HOSTNAME%% + history = 86400 + bind to = 127.0.0.1 + disconnect idle web clients after seconds = 3600 + # glibc malloc arena max for plugins = 1 + # config directory = %%ETCDIR%% + # plugins directory = %%PREFIX%%/libexec/netdata/plugins.d + # web files directory = %%PREFIX%%/share/netdata/web + # cache directory = %%NETDATA_CACHE%% + # lib directory = %%NETDATA_PERST%% + # log directory = %%NETDATA_LOG%% + # host access prefix = + # home directory = %%NETDATA_CACHE%% + # debug flags = 0x00000000 + # debug log = %%NETDATA_LOG%%/debug.log + # error log = %%NETDATA_LOG%%/error.log + # access log = %%NETDATA_LOG%%/access.log + # errors flood protection period = 1200 + # errors to trigger flood protection = 200 + # memory mode = save + # update every = 1 + # pthread stack size = 2097152 + run as user = netdata + web files owner = netdata + web files group = netdata + # http port listen backlog = 100 + default port = 19999 + # multi threaded web server = yes + respect web browser do not track policy = yes + # enable web responses gzip compression = yes + # web compression strategy = default + # web compression level = 3 + +[plugins] + # PATH environment variable = /etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin: + # tc = yes + # idlejitter = yes + freebsd = yes + # cgroups = yes + # checks = no + # plugins directory = %%PREFIX%%/libexec/netdata/plugins.d + # enable running new plugins = yes + # check for new plugins every = 60 + # node.d = yes + # fping = yes + # apps = yes + # python.d = yes + # charts.d = yes + +[registry] + # enabled = no + # registry db directory = %%NETDATA_PERST%%/registry + # netdata unique id file = %%NETDATA_PERST%%/registry/netdata.public.unique.id + # registry db file = %%NETDATA_PERST%%/registry/registry.db + # registry log file = %%NETDATA_PERST%%/registry/registry-log.db + # registry save db every new entries = 1000000 + # registry expire idle persons days = 365 + # registry domain = + # registry to announce = https://registry.my-netdata.io + # registry hostname = freebsd.my-netdata.io + # verify browser cookies support = yes + # max URL length = 1024 + # max URL name length = 50 + +[health] + # enabled = yes + # health db directory = %%NETDATA_PERST%%/health + # health db file = %%NETDATA_PERST%%/health/health-log.db + # health configuration directory = %%ETCDIR%%/health.d + # script to execute on alarm = %%PREFIX%%/libexec/netdata/plugins.d/alarm-notify.sh + # in memory max health log entries = 1000 + # run at least every seconds = 10 + # rotate log every lines = 2000 + +[backend] + # enabled = no + # data source = average + # type = graphite + # destination = localhost + # prefix = netdata + # hostname = freebsd.my-netdata.io + # update every = 10 + # buffer on failures = 10 + # timeout ms = 20000 + + +# per plugin configuration + +[plugin:tc] + # script to run to get tc values = %%PREFIX%%/libexec/netdata/plugins.d/tc-qos-helper.sh + +[plugin:idlejitter] + # loop time in ms = 20 + +[plugin:freebsd] + netdata server resources = yes + sysctl = yes + +[plugin:cgroups] + # cgroups plugin resource charts = yes + # update every = 1 + # check for new cgroups every = 10 + # enable cpuacct stat (total CPU) = auto + # enable cpuacct usage (per core CPU) = auto + # enable memory (used mem including cache) = auto + # enable detailed memory = auto + # enable memory limits fail count = auto + # enable swap memory = auto + # enable blkio bandwidth = auto + # enable blkio operations = auto + # enable blkio throttle bandwidth = auto + # enable blkio throttle operations = auto + # enable blkio queued operations = auto + # enable blkio merged operations = auto + # recheck zero blkio every iterations = 10 + # recheck zero memory failcnt every iterations = 10 + # recheck zero detailed memory every iterations = 10 + # enable systemd services = yes + # enable systemd services detailed memory = no + # report used memory without cache = yes + # path to /sys/fs/cgroup/cpuacct = /sys/fs/cgroup/cpuacct + # path to /sys/fs/cgroup/blkio = /sys/fs/cgroup/blkio + # path to /sys/fs/cgroup/memory = /sys/fs/cgroup/memory + # path to /sys/fs/cgroup/devices = /sys/fs/cgroup/devices + # max cgroups to allow = 500 + # max cgroups depth to monitor = 0 + # enable new cgroups detected at run time = yes + # enable by default cgroups matching = !*.mount !*.partition !*.scope !*.service !*.slice !*.swap !*.user !/ !/docker !/libvirt !/lxc !/lxc/*/ns !/machine !/qemu !/system !/systemd !/user * + # search for cgroups in subpaths matching = !*-qemu !/init.scope !/system !/systemd !/user !/user.slice * + # script to get cgroup names = %%PREFIX%%/libexec/netdata/plugins.d/cgroup-name.sh + # run script to rename cgroups matching = !/ !*.mount !*.partition !*.scope !*.service !*.slice !*.swap !*.user * + # cgroups to match as systemd services = !/system.slice/*/*.service /system.slice/*.service + +[plugin:node.d] + # update every = 1 + # command options = + +[plugin:fping] + # update every = 1 + # command options = + +[plugin:apps] + # update every = 1 + # command options = + +[plugin:python.d] + # update every = 1 + # command options = + +[plugin:charts.d] + # update every = 1 + # command options = + +[plugin:freebsd:sysctl] + # cpu utilization = yes + # per cpu core utilization = yes + # cpu interrupts = yes + # device interrupts = yes + # software interrupts = yes + # context switches = yes + # processes started = yes + # processes running = yes + # enable load average = yes + # enable total processes = yes + # stats for all disks = yes + # system swap = yes + # system ram = yes + # swap i/o = yes + # memory page faults = yes + # committed memory = yes + # ipc semaphores = yes + # ipc shared memory = yes + # ipc message queues = yes + # netisr = yes + # netisr per core = yes + # bandwidth = yes + # ipv4 TCP connections = yes + # ipv4 TCP packets = yes + # ipv4 TCP errors = yes + # ipv4 TCP handshake issues = yes + # ECN packets = auto + # TCP SYN cookies = auto + # TCP out-of-order queue = auto + # TCP connection aborts = auto + # ipv4 UDP packets = yes + # ipv4 UDP errors = yes + # ipv4 ICMP packets = yes + # ipv4 ICMP messages = yes + # ipv4 packets = yes + # ipv4 fragments sent = yes + # ipv4 fragments assembly = yes + # ipv4 errors = yes + # ipv6 packets = auto + # ipv6 fragments sent = auto + # ipv6 fragments assembly = auto + # ipv6 errors = auto + # icmp = auto + # icmp redirects = auto + # icmp errors = auto + # icmp echos = auto + # icmp router = auto + # icmp neighbor = auto + # icmp types = auto + # space usage for all disks = yes + # inodes usage for all disks = yes + + +# per chart configuration + +[system.idlejitter] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.idlejitter + # chart type = line + # type = system + # family = processes + # units = microseconds lost/s + # context = system.idlejitter + # priority = 9999 + # gap when lost iterations above = 1 + # name = system.idlejitter + # title = CPU Idle Jitter (system.idlejitter) + # dim jitter name = jitter + # dim jitter algorithm = absolute + # dim jitter multiplier = 1 + # dim jitter divisor = 1 + +[system.load] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.load + # chart type = line + # type = system + # family = load + # units = load + # context = system.load + # priority = 100 + # gap when lost iterations above = 1 + # name = system.load + # title = System Load Average (system.load) + # dim load1 name = load1 + # dim load1 algorithm = absolute + # dim load1 multiplier = 1 + # dim load1 divisor = 1000 + # dim load5 name = load5 + # dim load5 algorithm = absolute + # dim load5 multiplier = 1 + # dim load5 divisor = 1000 + # dim load15 name = load15 + # dim load15 algorithm = absolute + # dim load15 multiplier = 1 + # dim load15 divisor = 1000 + +[system.active_processes] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.active_processes + # chart type = line + # type = system + # family = processes + # units = processes + # context = system.active_processes + # priority = 750 + # gap when lost iterations above = 1 + # name = system.active_processes + # title = System Active Processes (system.active_processes) + # dim active name = active + # dim active algorithm = absolute + # dim active multiplier = 1 + # dim active divisor = 1 + +[system.processes] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.processes + # chart type = line + # type = system + # family = processes + # units = processes + # context = system.processes + # priority = 600 + # gap when lost iterations above = 1 + # name = system.processes + # title = System Processes (system.processes) + # dim running name = running + # dim running algorithm = absolute + # dim running multiplier = 1 + # dim running divisor = 1 + # dim blocked name = blocked + # dim blocked algorithm = absolute + # dim blocked multiplier = -1 + # dim blocked divisor = 1 + +[mem.committed] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/mem.committed + # chart type = area + # type = mem + # family = system + # units = MB + # context = mem.committed + # priority = 5000 + # gap when lost iterations above = 1 + # name = mem.committed + # title = Committed (Allocated) Memory (mem.committed) + # dim Committed_AS name = Committed_AS + # dim Committed_AS algorithm = absolute + # dim Committed_AS multiplier = 4096 + # dim Committed_AS divisor = 1048576 + +[system.cpu] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.cpu + # chart type = stacked + # type = system + # family = cpu + # units = percentage + # context = system.cpu + # priority = 100 + # gap when lost iterations above = 1 + # name = system.cpu + # title = Total CPU utilization (system.cpu) + # dim user name = user + # dim user algorithm = percentage-of-incremental-row + # dim user multiplier = 1 + # dim user divisor = 1 + # dim nice name = nice + # dim nice algorithm = percentage-of-incremental-row + # dim nice multiplier = 1 + # dim nice divisor = 1 + # dim system name = system + # dim system algorithm = percentage-of-incremental-row + # dim system multiplier = 1 + # dim system divisor = 1 + # dim interrupt name = interrupt + # dim interrupt algorithm = percentage-of-incremental-row + # dim interrupt multiplier = 1 + # dim interrupt divisor = 1 + # dim idle name = idle + # dim idle algorithm = percentage-of-incremental-row + # dim idle multiplier = 1 + # dim idle divisor = 1 + +[cpu.cpu0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/cpu.cpu0 + # chart type = stacked + # type = cpu + # family = utilization + # units = percentage + # context = cpu.cpu + # priority = 1000 + # gap when lost iterations above = 1 + # name = cpu.cpu0 + # title = Core utilization (cpu.cpu0) + # dim user name = user + # dim user algorithm = percentage-of-incremental-row + # dim user multiplier = 1 + # dim user divisor = 1 + # dim nice name = nice + # dim nice algorithm = percentage-of-incremental-row + # dim nice multiplier = 1 + # dim nice divisor = 1 + # dim system name = system + # dim system algorithm = percentage-of-incremental-row + # dim system multiplier = 1 + # dim system divisor = 1 + # dim interrupt name = interrupt + # dim interrupt algorithm = percentage-of-incremental-row + # dim interrupt multiplier = 1 + # dim interrupt divisor = 1 + # dim idle name = idle + # dim idle algorithm = percentage-of-incremental-row + # dim idle multiplier = 1 + # dim idle divisor = 1 + +[system.intr] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.intr + # chart type = line + # type = system + # family = interrupts + # units = interrupts/s + # context = system.intr + # priority = 900 + # gap when lost iterations above = 1 + # name = system.intr + # title = Total Hardware Interrupts (system.intr) + # dim interrupts name = interrupts + # dim interrupts algorithm = incremental + # dim interrupts multiplier = 1 + # dim interrupts divisor = 1 + +[system.dev_intr] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.dev_intr + # chart type = line + # type = system + # family = interrupts + # units = interrupts/s + # context = system.dev_intr + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.dev_intr + # title = Device Interrupts (system.dev_intr) + # dim interrupts name = interrupts + # dim interrupts algorithm = incremental + # dim interrupts multiplier = 1 + # dim interrupts divisor = 1 + +[system.soft_intr] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.soft_intr + # chart type = line + # type = system + # family = interrupts + # units = interrupts/s + # context = system.soft_intr + # priority = 1100 + # gap when lost iterations above = 1 + # name = system.soft_intr + # title = Software Interrupts (system.soft_intr) + # dim interrupts name = interrupts + # dim interrupts algorithm = incremental + # dim interrupts multiplier = 1 + # dim interrupts divisor = 1 + +[system.ctxt] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ctxt + # chart type = line + # type = system + # family = processes + # units = context switches/s + # context = system.ctxt + # priority = 800 + # gap when lost iterations above = 1 + # name = system.ctxt + # title = CPU Context Switches (system.ctxt) + # dim switches name = switches + # dim switches algorithm = incremental + # dim switches multiplier = 1 + # dim switches divisor = 1 + +[netdata.plugin_cgroups_cpu] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.plugin_cgroups_cpu + # chart type = stacked + # type = netdata + # family = cgroups + # units = milliseconds/s + # context = netdata.plugin_cgroups_cpu + # priority = 132000 + # gap when lost iterations above = 1 + # name = netdata.plugin_cgroups_cpu + # title = NetData CGroups Plugin CPU usage (netdata.plugin_cgroups_cpu) + # dim user name = user + # dim user algorithm = incremental + # dim user multiplier = 1 + # dim user divisor = 1000 + # dim system name = system + # dim system algorithm = incremental + # dim system multiplier = 1 + # dim system divisor = 1000 + +[system.forks] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.forks + # chart type = line + # type = system + # family = processes + # units = processes/s + # context = system.forks + # priority = 700 + # gap when lost iterations above = 1 + # name = system.forks + # title = Started Processes (system.forks) + # dim started name = started + # dim started algorithm = incremental + # dim started multiplier = 1 + # dim started divisor = 1 + +[system.io] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.io + # chart type = area + # type = system + # family = disk + # units = kilobytes/s + # context = system.io + # priority = 150 + # gap when lost iterations above = 1 + # name = system.io + # title = Disk I/O (system.io) + # dim in name = in + # dim in algorithm = incremental + # dim in multiplier = 1 + # dim in divisor = 1 + # dim out name = out + # dim out algorithm = incremental + # dim out multiplier = -1 + # dim out divisor = 1 + +[system.swap] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.swap + # chart type = stacked + # type = system + # family = swap + # units = MB + # context = system.swap + # priority = 201 + # gap when lost iterations above = 1 + # name = system.swap + # title = System Swap (system.swap) + # dim free name = free + # dim free algorithm = absolute + # dim free multiplier = 4096 + # dim free divisor = 1048576 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 4096 + # dim used divisor = 1048576 + +[system.ram] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ram + # chart type = stacked + # type = system + # family = ram + # units = MB + # context = system.ram + # priority = 200 + # gap when lost iterations above = 1 + # name = system.ram + # title = System RAM (system.ram) + # dim active name = active + # dim active algorithm = absolute + # dim active multiplier = 4096 + # dim active divisor = 1048576 + # dim inactive name = inactive + # dim inactive algorithm = absolute + # dim inactive multiplier = 4096 + # dim inactive divisor = 1048576 + # dim wired name = wired + # dim wired algorithm = absolute + # dim wired multiplier = 4096 + # dim wired divisor = 1048576 + # dim cache name = cache + # dim cache algorithm = absolute + # dim cache multiplier = 4096 + # dim cache divisor = 1048576 + # dim buffers name = buffers + # dim buffers algorithm = absolute + # dim buffers multiplier = 1 + # dim buffers divisor = 1048576 + # dim free name = free + # dim free algorithm = absolute + # dim free multiplier = 4096 + # dim free divisor = 1048576 + +[system.swapio] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.swapio + # chart type = area + # type = system + # family = swap + # units = kilobytes/s + # context = system.swapio + # priority = 250 + # gap when lost iterations above = 1 + # name = system.swapio + # title = Swap I/O (system.swapio) + # dim in name = in + # dim in algorithm = incremental + # dim in multiplier = 4096 + # dim in divisor = 1024 + # dim out name = out + # dim out algorithm = incremental + # dim out multiplier = -4096 + # dim out divisor = 1024 + +[netdata.apps_cpu] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.apps_cpu + # chart type = stacked + # type = netdata + # family = apps.plugin + # units = milliseconds/s + # context = netdata.apps_cpu + # priority = 140000 + # gap when lost iterations above = 1 + # name = netdata.apps_cpu + # title = Apps Plugin CPU (netdata.apps_cpu) + # dim user name = user + # dim user algorithm = incremental + # dim user multiplier = 1 + # dim user divisor = 1000 + # dim system name = system + # dim system algorithm = incremental + # dim system multiplier = 1 + # dim system divisor = 1000 + +[netdata.apps_files] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.apps_files + # chart type = line + # type = netdata + # family = apps.plugin + # units = files/s + # context = netdata.apps_files + # priority = 140001 + # gap when lost iterations above = 1 + # name = netdata.apps_files + # title = Apps Plugin Files (netdata.apps_files) + # dim files name = files + # dim files algorithm = incremental + # dim files multiplier = 1 + # dim files divisor = 1 + # dim pids name = pids + # dim pids algorithm = absolute + # dim pids multiplier = 1 + # dim pids divisor = 1 + # dim fds name = fds + # dim fds algorithm = absolute + # dim fds multiplier = 1 + # dim fds divisor = 1 + # dim targets name = targets + # dim targets algorithm = absolute + # dim targets multiplier = 1 + # dim targets divisor = 1 + +[netdata.apps_fix] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.apps_fix + # chart type = line + # type = netdata + # family = apps.plugin + # units = percentage + # context = netdata.apps_fix + # priority = 140002 + # gap when lost iterations above = 1 + # name = netdata.apps_fix + # title = Apps Plugin Normalization Ratios (netdata.apps_fix) + # dim utime name = utime + # dim utime algorithm = absolute + # dim utime multiplier = 1 + # dim utime divisor = 10000 + # dim stime name = stime + # dim stime algorithm = absolute + # dim stime multiplier = 1 + # dim stime divisor = 10000 + # dim gtime name = gtime + # dim gtime algorithm = absolute + # dim gtime multiplier = 1 + # dim gtime divisor = 10000 + # dim minflt name = minflt + # dim minflt algorithm = absolute + # dim minflt multiplier = 1 + # dim minflt divisor = 10000 + # dim majflt name = majflt + # dim majflt algorithm = absolute + # dim majflt multiplier = 1 + # dim majflt divisor = 10000 + +[netdata.apps_children_fix] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.apps_children_fix + # chart type = line + # type = netdata + # family = apps.plugin + # units = percentage + # context = netdata.apps_children_fix + # priority = 140003 + # gap when lost iterations above = 1 + # name = netdata.apps_children_fix + # title = Apps Plugin Exited Children Normalization Ratios (netdata.apps_children_fix) + # dim cutime name = cutime + # dim cutime algorithm = absolute + # dim cutime multiplier = 1 + # dim cutime divisor = 10000 + # dim cstime name = cstime + # dim cstime algorithm = absolute + # dim cstime multiplier = 1 + # dim cstime divisor = 10000 + # dim cgtime name = cgtime + # dim cgtime algorithm = absolute + # dim cgtime multiplier = 1 + # dim cgtime divisor = 10000 + # dim cminflt name = cminflt + # dim cminflt algorithm = absolute + # dim cminflt multiplier = 1 + # dim cminflt divisor = 10000 + # dim cmajflt name = cmajflt + # dim cmajflt algorithm = absolute + # dim cmajflt multiplier = 1 + # dim cmajflt divisor = 10000 + +[mem.pgfaults] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/mem.pgfaults + # chart type = line + # type = mem + # family = system + # units = page faults/s + # context = mem.pgfaults + # priority = 500 + # gap when lost iterations above = 1 + # name = mem.pgfaults + # title = Memory Page Faults (mem.pgfaults) + # dim memory name = memory + # dim memory algorithm = incremental + # dim memory multiplier = 1 + # dim memory divisor = 1 + # dim io_requiring name = io_requiring + # dim io_requiring algorithm = incremental + # dim io_requiring multiplier = 1 + # dim io_requiring divisor = 1 + # dim cow name = cow + # dim cow algorithm = incremental + # dim cow multiplier = 1 + # dim cow divisor = 1 + # dim cow_optimized name = cow_optimized + # dim cow_optimized algorithm = incremental + # dim cow_optimized multiplier = 1 + # dim cow_optimized divisor = 1 + # dim in_transit name = in_transit + # dim in_transit algorithm = incremental + # dim in_transit multiplier = 1 + # dim in_transit divisor = 1 + +[system.ipc_semaphores] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ipc_semaphores + # chart type = area + # type = system + # family = ipc semaphores + # units = semaphores + # context = system.ipc_semaphores + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.ipc_semaphores + # title = IPC Semaphores (system.ipc_semaphores) + # dim semaphores name = semaphores + # dim semaphores algorithm = absolute + # dim semaphores multiplier = 1 + # dim semaphores divisor = 1 + +[system.ipc_semaphore_arrays] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ipc_semaphore_arrays + # chart type = area + # type = system + # family = ipc semaphores + # units = arrays + # context = system.ipc_semaphore_arrays + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.ipc_semaphore_arrays + # title = IPC Semaphore Arrays (system.ipc_semaphore_arrays) + # dim arrays name = arrays + # dim arrays algorithm = absolute + # dim arrays multiplier = 1 + # dim arrays divisor = 1 + +[system.ipc_shared_mem_segs] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ipc_shared_mem_segs + # chart type = area + # type = system + # family = ipc shared memory + # units = segments + # context = system.ipc_shared_mem_segs + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.ipc_shared_mem_segs + # title = IPC Shared Memory Segments (system.ipc_shared_mem_segs) + # dim segments name = segments + # dim segments algorithm = absolute + # dim segments multiplier = 1 + # dim segments divisor = 1 + +[system.ipc_shared_mem_size] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ipc_shared_mem_size + # chart type = area + # type = system + # family = ipc shared memory + # units = kilobytes + # context = system.ipc_shared_mem_size + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.ipc_shared_mem_size + # title = IPC Shared Memory Segments Size (system.ipc_shared_mem_size) + # dim allocated name = allocated + # dim allocated algorithm = absolute + # dim allocated multiplier = 1 + # dim allocated divisor = 1024 + +[system.ipc_msq_queues] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ipc_msq_queues + # chart type = area + # type = system + # family = ipc message queues + # units = queues + # context = system.ipc_msq_queues + # priority = 990 + # gap when lost iterations above = 1 + # name = system.ipc_msq_queues + # title = Number of IPC Message Queues (system.ipc_msq_queues) + # dim queues name = queues + # dim queues algorithm = absolute + # dim queues multiplier = 1 + # dim queues divisor = 1 + +[system.ipc_msq_messages] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ipc_msq_messages + # chart type = area + # type = system + # family = ipc message queues + # units = messages + # context = system.ipc_msq_messages + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.ipc_msq_messages + # title = Number of Messages in IPC Message Queues (system.ipc_msq_messages) + # dim messages name = messages + # dim messages algorithm = absolute + # dim messages multiplier = 1 + # dim messages divisor = 1 + +[system.ipc_msq_size] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ipc_msq_size + # chart type = line + # type = system + # family = ipc message queues + # units = bytes + # context = system.ipc_msq_size + # priority = 1100 + # gap when lost iterations above = 1 + # name = system.ipc_msq_size + # title = Size of IPC Message Queues (system.ipc_msq_size) + # dim allocated name = allocated + # dim allocated algorithm = absolute + # dim allocated multiplier = 1 + # dim allocated divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + +[system.softnet_stat] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.softnet_stat + # chart type = line + # type = system + # family = softnet_stat + # units = events/s + # context = system.softnet_stat + # priority = 955 + # gap when lost iterations above = 1 + # name = system.softnet_stat + # title = System softnet_stat (system.softnet_stat) + # dim dispatched name = dispatched + # dim dispatched algorithm = incremental + # dim dispatched multiplier = 1 + # dim dispatched divisor = 1 + # dim hybrid_dispatched name = hybrid_dispatched + # dim hybrid_dispatched algorithm = incremental + # dim hybrid_dispatched multiplier = 1 + # dim hybrid_dispatched divisor = 1 + # dim qdrops name = qdrops + # dim qdrops algorithm = incremental + # dim qdrops multiplier = 1 + # dim qdrops divisor = 1 + # dim queued name = queued + # dim queued algorithm = incremental + # dim queued multiplier = 1 + # dim queued divisor = 1 + +[cpu.cpu0_softnet_stat] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/cpu.cpu0_softnet_stat + # chart type = line + # type = cpu + # family = softnet_stat + # units = events/s + # context = cpu.cpu0_softnet_stat + # priority = 1101 + # gap when lost iterations above = 1 + # name = cpu.cpu0_softnet_stat + # title = Per CPU netisr statistics (cpu.cpu0_softnet_stat) + # dim dispatched name = dispatched + # dim dispatched algorithm = incremental + # dim dispatched multiplier = 1 + # dim dispatched divisor = 1 + # dim hybrid_dispatched name = hybrid_dispatched + # dim hybrid_dispatched algorithm = incremental + # dim hybrid_dispatched multiplier = 1 + # dim hybrid_dispatched divisor = 1 + # dim qdrops name = qdrops + # dim qdrops algorithm = incremental + # dim qdrops multiplier = 1 + # dim qdrops divisor = 1 + # dim queued name = queued + # dim queued algorithm = incremental + # dim queued multiplier = 1 + # dim queued divisor = 1 + +[system.ipv4] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ipv4 + # chart type = area + # type = system + # family = network + # units = kilobits/s + # context = system.ipv4 + # priority = 500 + # gap when lost iterations above = 1 + # name = system.ipv4 + # title = IPv4 Bandwidth (system.ipv4) + # dim InOctets name = received + # dim InOctets algorithm = incremental + # dim InOctets multiplier = 8 + # dim InOctets divisor = 1024 + # dim OutOctets name = sent + # dim OutOctets algorithm = incremental + # dim OutOctets multiplier = -8 + # dim OutOctets divisor = 1024 + +[system.ipv6] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.ipv6 + # chart type = area + # type = system + # family = network + # units = kilobits/s + # context = system.ipv6 + # priority = 500 + # gap when lost iterations above = 1 + # name = system.ipv6 + # title = IPv6 Bandwidth (system.ipv6) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 8 + # dim received divisor = 1024 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -8 + # dim sent divisor = 1024 + +[net.vtnet0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net.vtnet0 + # chart type = area + # type = net + # family = vtnet0 + # units = kilobits/s + # context = net.net + # priority = 7000 + # gap when lost iterations above = 1 + # name = net.vtnet0 + # title = Bandwidth (net.vtnet0) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 8 + # dim received divisor = 1024 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -8 + # dim sent divisor = 1024 + +[net_packets.vtnet0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_packets.vtnet0 + # chart type = line + # type = net_packets + # family = vtnet0 + # units = packets/s + # context = net.packets + # priority = 7001 + # gap when lost iterations above = 1 + # name = net_packets.vtnet0 + # title = Packets (net_packets.vtnet0) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + # dim multicast_received name = multicast_received + # dim multicast_received algorithm = incremental + # dim multicast_received multiplier = 1 + # dim multicast_received divisor = 1 + # dim multicast_sent name = multicast_sent + # dim multicast_sent algorithm = incremental + # dim multicast_sent multiplier = -1 + # dim multicast_sent divisor = 1 + +[net_errors.vtnet0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_errors.vtnet0 + # chart type = line + # type = net_errors + # family = vtnet0 + # units = errors/s + # context = net.errors + # priority = 7002 + # gap when lost iterations above = 1 + # name = net_errors.vtnet0 + # title = Interface Errors (net_errors.vtnet0) + # dim inbound name = inbound + # dim inbound algorithm = incremental + # dim inbound multiplier = 1 + # dim inbound divisor = 1 + # dim outbound name = outbound + # dim outbound algorithm = incremental + # dim outbound multiplier = -1 + # dim outbound divisor = 1 + +[net_drops.vtnet0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_drops.vtnet0 + # chart type = line + # type = net_drops + # family = vtnet0 + # units = drops/s + # context = net.drops + # priority = 7003 + # gap when lost iterations above = 1 + # name = net_drops.vtnet0 + # title = Interface Drops (net_drops.vtnet0) + # dim inbound name = inbound + # dim inbound algorithm = incremental + # dim inbound multiplier = 1 + # dim inbound divisor = 1 + # dim outbound name = outbound + # dim outbound algorithm = incremental + # dim outbound multiplier = -1 + # dim outbound divisor = 1 + +[net_events.vtnet0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_events.vtnet0 + # chart type = line + # type = net_events + # family = vtnet0 + # units = events/s + # context = net.events + # priority = 7006 + # gap when lost iterations above = 1 + # name = net_events.vtnet0 + # title = Network Interface Events (net_events.vtnet0) + # dim frames name = frames + # dim frames algorithm = incremental + # dim frames multiplier = 1 + # dim frames divisor = 1 + # dim collisions name = collisions + # dim collisions algorithm = incremental + # dim collisions multiplier = -1 + # dim collisions divisor = 1 + # dim carrier name = carrier + # dim carrier algorithm = incremental + # dim carrier multiplier = -1 + # dim carrier divisor = 1 + +[net.vtnet1] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net.vtnet1 + # chart type = area + # type = net + # family = vtnet1 + # units = kilobits/s + # context = net.net + # priority = 7000 + # gap when lost iterations above = 1 + # name = net.vtnet1 + # title = Bandwidth (net.vtnet1) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 8 + # dim received divisor = 1024 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -8 + # dim sent divisor = 1024 + +[net_packets.vtnet1] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_packets.vtnet1 + # chart type = line + # type = net_packets + # family = vtnet1 + # units = packets/s + # context = net.packets + # priority = 7001 + # gap when lost iterations above = 1 + # name = net_packets.vtnet1 + # title = Packets (net_packets.vtnet1) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + # dim multicast_received name = multicast_received + # dim multicast_received algorithm = incremental + # dim multicast_received multiplier = 1 + # dim multicast_received divisor = 1 + # dim multicast_sent name = multicast_sent + # dim multicast_sent algorithm = incremental + # dim multicast_sent multiplier = -1 + # dim multicast_sent divisor = 1 + +[net_errors.vtnet1] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_errors.vtnet1 + # chart type = line + # type = net_errors + # family = vtnet1 + # units = errors/s + # context = net.errors + # priority = 7002 + # gap when lost iterations above = 1 + # name = net_errors.vtnet1 + # title = Interface Errors (net_errors.vtnet1) + # dim inbound name = inbound + # dim inbound algorithm = incremental + # dim inbound multiplier = 1 + # dim inbound divisor = 1 + # dim outbound name = outbound + # dim outbound algorithm = incremental + # dim outbound multiplier = -1 + # dim outbound divisor = 1 + +[net_drops.vtnet1] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_drops.vtnet1 + # chart type = line + # type = net_drops + # family = vtnet1 + # units = drops/s + # context = net.drops + # priority = 7003 + # gap when lost iterations above = 1 + # name = net_drops.vtnet1 + # title = Interface Drops (net_drops.vtnet1) + # dim inbound name = inbound + # dim inbound algorithm = incremental + # dim inbound multiplier = 1 + # dim inbound divisor = 1 + # dim outbound name = outbound + # dim outbound algorithm = incremental + # dim outbound multiplier = -1 + # dim outbound divisor = 1 + +[net_events.vtnet1] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_events.vtnet1 + # chart type = line + # type = net_events + # family = vtnet1 + # units = events/s + # context = net.events + # priority = 7006 + # gap when lost iterations above = 1 + # name = net_events.vtnet1 + # title = Network Interface Events (net_events.vtnet1) + # dim frames name = frames + # dim frames algorithm = incremental + # dim frames multiplier = 1 + # dim frames divisor = 1 + # dim collisions name = collisions + # dim collisions algorithm = incremental + # dim collisions multiplier = -1 + # dim collisions divisor = 1 + # dim carrier name = carrier + # dim carrier algorithm = incremental + # dim carrier multiplier = -1 + # dim carrier divisor = 1 + +[net.lo0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net.lo0 + # chart type = area + # type = net + # family = lo0 + # units = kilobits/s + # context = net.net + # priority = 7000 + # gap when lost iterations above = 1 + # name = net.lo0 + # title = Bandwidth (net.lo0) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 8 + # dim received divisor = 1024 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -8 + # dim sent divisor = 1024 + +[net_packets.lo0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_packets.lo0 + # chart type = line + # type = net_packets + # family = lo0 + # units = packets/s + # context = net.packets + # priority = 7001 + # gap when lost iterations above = 1 + # name = net_packets.lo0 + # title = Packets (net_packets.lo0) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + # dim multicast_received name = multicast_received + # dim multicast_received algorithm = incremental + # dim multicast_received multiplier = 1 + # dim multicast_received divisor = 1 + # dim multicast_sent name = multicast_sent + # dim multicast_sent algorithm = incremental + # dim multicast_sent multiplier = -1 + # dim multicast_sent divisor = 1 + +[net_errors.lo0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_errors.lo0 + # chart type = line + # type = net_errors + # family = lo0 + # units = errors/s + # context = net.errors + # priority = 7002 + # gap when lost iterations above = 1 + # name = net_errors.lo0 + # title = Interface Errors (net_errors.lo0) + # dim inbound name = inbound + # dim inbound algorithm = incremental + # dim inbound multiplier = 1 + # dim inbound divisor = 1 + # dim outbound name = outbound + # dim outbound algorithm = incremental + # dim outbound multiplier = -1 + # dim outbound divisor = 1 + +[net_drops.lo0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_drops.lo0 + # chart type = line + # type = net_drops + # family = lo0 + # units = drops/s + # context = net.drops + # priority = 7003 + # gap when lost iterations above = 1 + # name = net_drops.lo0 + # title = Interface Drops (net_drops.lo0) + # dim inbound name = inbound + # dim inbound algorithm = incremental + # dim inbound multiplier = 1 + # dim inbound divisor = 1 + # dim outbound name = outbound + # dim outbound algorithm = incremental + # dim outbound multiplier = -1 + # dim outbound divisor = 1 + +[net_events.lo0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/net_events.lo0 + # chart type = line + # type = net_events + # family = lo0 + # units = events/s + # context = net.events + # priority = 7006 + # gap when lost iterations above = 1 + # name = net_events.lo0 + # title = Network Interface Events (net_events.lo0) + # dim frames name = frames + # dim frames algorithm = incremental + # dim frames multiplier = 1 + # dim frames divisor = 1 + # dim collisions name = collisions + # dim collisions algorithm = incremental + # dim collisions multiplier = -1 + # dim collisions divisor = 1 + # dim carrier name = carrier + # dim carrier algorithm = incremental + # dim carrier multiplier = -1 + # dim carrier divisor = 1 + +[netdata.plugin_proc_cpu] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.plugin_proc_cpu + # chart type = stacked + # type = netdata + # family = proc + # units = milliseconds/s + # context = netdata.plugin_proc_cpu + # priority = 132000 + # gap when lost iterations above = 1 + # name = netdata.plugin_proc_cpu + # title = NetData Proc Plugin CPU usage (netdata.plugin_proc_cpu) + # dim user name = user + # dim user algorithm = incremental + # dim user multiplier = 1 + # dim user divisor = 1000 + # dim system name = system + # dim system algorithm = incremental + # dim system multiplier = 1 + # dim system divisor = 1000 + +[netdata.server_cpu] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.server_cpu + # chart type = stacked + # type = netdata + # family = netdata + # units = milliseconds/s + # context = netdata.server_cpu + # priority = 130000 + # gap when lost iterations above = 1 + # name = netdata.server_cpu + # title = NetData CPU usage (netdata.server_cpu) + # dim user name = user + # dim user algorithm = incremental + # dim user multiplier = 1 + # dim user divisor = 1000 + # dim system name = system + # dim system algorithm = incremental + # dim system multiplier = 1 + # dim system divisor = 1000 + +[netdata.clients] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.clients + # chart type = line + # type = netdata + # family = netdata + # units = connected clients + # context = netdata.clients + # priority = 130200 + # gap when lost iterations above = 1 + # name = netdata.clients + # title = NetData Web Clients (netdata.clients) + # dim clients name = clients + # dim clients algorithm = absolute + # dim clients multiplier = 1 + # dim clients divisor = 1 + +[netdata.requests] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.requests + # chart type = line + # type = netdata + # family = netdata + # units = requests/s + # context = netdata.requests + # priority = 130300 + # gap when lost iterations above = 1 + # name = netdata.requests + # title = NetData Web Requests (netdata.requests) + # dim requests name = requests + # dim requests algorithm = incremental + # dim requests multiplier = 1 + # dim requests divisor = 1 + +[netdata.net] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.net + # chart type = area + # type = netdata + # family = netdata + # units = kilobits/s + # context = netdata.net + # priority = 130000 + # gap when lost iterations above = 1 + # name = netdata.net + # title = NetData Network Traffic (netdata.net) + # dim in name = in + # dim in algorithm = incremental + # dim in multiplier = 8 + # dim in divisor = 1024 + # dim out name = out + # dim out algorithm = incremental + # dim out multiplier = -8 + # dim out divisor = 1024 + +[netdata.response_time] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.response_time + # chart type = line + # type = netdata + # family = netdata + # units = ms/request + # context = netdata.response_time + # priority = 130400 + # gap when lost iterations above = 1 + # name = netdata.response_time + # title = NetData API Response Time (netdata.response_time) + # dim average name = average + # dim average algorithm = absolute + # dim average multiplier = 1 + # dim average divisor = 1000 + # dim max name = max + # dim max algorithm = absolute + # dim max multiplier = 1 + # dim max divisor = 1000 + +[netdata.compression_ratio] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.compression_ratio + # chart type = line + # type = netdata + # family = netdata + # units = percentage + # context = netdata.compression_ratio + # priority = 130500 + # gap when lost iterations above = 1 + # name = netdata.compression_ratio + # title = NetData API Responses Compression Savings Ratio (netdata.compression_ratio) + # dim savings name = savings + # dim savings algorithm = absolute + # dim savings multiplier = 1 + # dim savings divisor = 1000 + +[system.interrupts] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.interrupts + # chart type = stacked + # type = system + # family = interrupts + # units = interrupts/s + # context = system.interrupts + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.interrupts + # title = System interrupts (system.interrupts) + # dim irq1: atkbd0 name = irq1: atkbd0 + # dim irq1: atkbd0 algorithm = incremental + # dim irq1: atkbd0 multiplier = 1 + # dim irq1: atkbd0 divisor = 1 + # dim irq4: uart0 name = irq4: uart0 + # dim irq4: uart0 algorithm = incremental + # dim irq4: uart0 multiplier = 1 + # dim irq4: uart0 divisor = 1 + # dim cpu0:timer name = cpu0:timer + # dim cpu0:timer algorithm = incremental + # dim cpu0:timer multiplier = 1 + # dim cpu0:timer divisor = 1 + # dim irq257: virtio_pci0 name = irq257: virtio_pci0 + # dim irq257: virtio_pci0 algorithm = incremental + # dim irq257: virtio_pci0 multiplier = 1 + # dim irq257: virtio_pci0 divisor = 1 + # dim irq258: virtio_pci0 name = irq258: virtio_pci0 + # dim irq258: virtio_pci0 algorithm = incremental + # dim irq258: virtio_pci0 multiplier = 1 + # dim irq258: virtio_pci0 divisor = 1 + # dim irq265: virtio_pci2 name = irq265: virtio_pci2 + # dim irq265: virtio_pci2 algorithm = incremental + # dim irq265: virtio_pci2 multiplier = 1 + # dim irq265: virtio_pci2 divisor = 1 + # dim irq267: virtio_pci3 name = irq267: virtio_pci3 + # dim irq267: virtio_pci3 algorithm = incremental + # dim irq267: virtio_pci3 multiplier = 1 + # dim irq267: virtio_pci3 divisor = 1 + +[disk.vtbd0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk.vtbd0 + # chart type = area + # type = disk + # family = vtbd0 + # units = kilobytes/s + # context = disk.io + # priority = 2000 + # gap when lost iterations above = 1 + # name = disk.vtbd0 + # title = Disk I/O Bandwidth (disk.vtbd0) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 1 + # dim reads divisor = 1024 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -1 + # dim writes divisor = 1024 + +[disk_ops.vtbd0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_ops.vtbd0 + # chart type = line + # type = disk_ops + # family = vtbd0 + # units = operations/s + # context = disk.ops + # priority = 2001 + # gap when lost iterations above = 1 + # name = disk_ops.vtbd0 + # title = Disk Completed I/O Operations (disk_ops.vtbd0) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk_qops.vtbd0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_qops.vtbd0 + # chart type = line + # type = disk_qops + # family = vtbd0 + # units = operations + # context = disk.qops + # priority = 2002 + # gap when lost iterations above = 1 + # name = disk_qops.vtbd0 + # title = Disk Current I/O Operations (disk_qops.vtbd0) + # dim operations name = operations + # dim operations algorithm = absolute + # dim operations multiplier = 1 + # dim operations divisor = 1 + +[disk_util.vtbd0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_util.vtbd0 + # chart type = area + # type = disk_util + # family = vtbd0 + # units = % of time working + # context = disk.util + # priority = 2004 + # gap when lost iterations above = 1 + # name = disk_util.vtbd0 + # title = Disk Utilization Time (disk_util.vtbd0) + # dim utilization name = utilization + # dim utilization algorithm = incremental + # dim utilization multiplier = 1 + # dim utilization divisor = 10 + +[disk_iotime.vtbd0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_iotime.vtbd0 + # chart type = line + # type = disk_iotime + # family = vtbd0 + # units = milliseconds/s + # context = disk.iotime + # priority = 2022 + # gap when lost iterations above = 1 + # name = disk_iotime.vtbd0 + # title = Disk Total I/O Time (disk_iotime.vtbd0) + # dim reads name = reads + # dim reads algorithm = incremental + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = incremental + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[ipv4.tcpsock] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.tcpsock + # chart type = line + # type = ipv4 + # family = tcp + # units = active connections + # context = ipv4.tcpsock + # priority = 2500 + # gap when lost iterations above = 1 + # name = ipv4.tcpsock + # title = IPv4 TCP Connections (ipv4.tcpsock) + # dim CurrEstab name = connections + # dim CurrEstab algorithm = absolute + # dim CurrEstab multiplier = 1 + # dim CurrEstab divisor = 1 + +[ipv4.tcppackets] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.tcppackets + # chart type = line + # type = ipv4 + # family = tcp + # units = packets/s + # context = ipv4.tcppackets + # priority = 2600 + # gap when lost iterations above = 1 + # name = ipv4.tcppackets + # title = IPv4 TCP Packets (ipv4.tcppackets) + # dim InSegs name = received + # dim InSegs algorithm = incremental + # dim InSegs multiplier = 1 + # dim InSegs divisor = 1 + # dim OutSegs name = sent + # dim OutSegs algorithm = incremental + # dim OutSegs multiplier = -1 + # dim OutSegs divisor = 1 + +[ipv4.tcperrors] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.tcperrors + # chart type = line + # type = ipv4 + # family = tcp + # units = packets/s + # context = ipv4.tcperrors + # priority = 2700 + # gap when lost iterations above = 1 + # name = ipv4.tcperrors + # title = IPv4 TCP Errors (ipv4.tcperrors) + # dim InErrs name = InErrs + # dim InErrs algorithm = incremental + # dim InErrs multiplier = 1 + # dim InErrs divisor = 1 + # dim InCsumErrors name = InCsumErrors + # dim InCsumErrors algorithm = incremental + # dim InCsumErrors multiplier = 1 + # dim InCsumErrors divisor = 1 + # dim RetransSegs name = RetransSegs + # dim RetransSegs algorithm = incremental + # dim RetransSegs multiplier = -1 + # dim RetransSegs divisor = 1 + +[ipv4.tcphandshake] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.tcphandshake + # chart type = line + # type = ipv4 + # family = tcp + # units = events/s + # context = ipv4.tcphandshake + # priority = 2900 + # gap when lost iterations above = 1 + # name = ipv4.tcphandshake + # title = IPv4 TCP Handshake Issues (ipv4.tcphandshake) + # dim EstabResets name = EstabResets + # dim EstabResets algorithm = incremental + # dim EstabResets multiplier = 1 + # dim EstabResets divisor = 1 + # dim ActiveOpens name = ActiveOpens + # dim ActiveOpens algorithm = incremental + # dim ActiveOpens multiplier = 1 + # dim ActiveOpens divisor = 1 + # dim PassiveOpens name = PassiveOpens + # dim PassiveOpens algorithm = incremental + # dim PassiveOpens multiplier = 1 + # dim PassiveOpens divisor = 1 + # dim AttemptFails name = AttemptFails + # dim AttemptFails algorithm = incremental + # dim AttemptFails multiplier = 1 + # dim AttemptFails divisor = 1 + +[ipv4.tcpconnaborts] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.tcpconnaborts + # chart type = line + # type = ipv4 + # family = tcp + # units = connections/s + # context = ipv4.tcpconnaborts + # priority = 3010 + # gap when lost iterations above = 1 + # name = ipv4.tcpconnaborts + # title = TCP Connection Aborts (ipv4.tcpconnaborts) + # dim TCPAbortOnData name = baddata + # dim TCPAbortOnData algorithm = incremental + # dim TCPAbortOnData multiplier = 1 + # dim TCPAbortOnData divisor = 1 + # dim TCPAbortOnClose name = userclosed + # dim TCPAbortOnClose algorithm = incremental + # dim TCPAbortOnClose multiplier = 1 + # dim TCPAbortOnClose divisor = 1 + # dim TCPAbortOnMemory name = nomemory + # dim TCPAbortOnMemory algorithm = incremental + # dim TCPAbortOnMemory multiplier = 1 + # dim TCPAbortOnMemory divisor = 1 + # dim TCPAbortOnTimeout name = timeout + # dim TCPAbortOnTimeout algorithm = incremental + # dim TCPAbortOnTimeout multiplier = 1 + # dim TCPAbortOnTimeout divisor = 1 + # dim TCPAbortOnLinger name = linger + # dim TCPAbortOnLinger algorithm = incremental + # dim TCPAbortOnLinger multiplier = 1 + # dim TCPAbortOnLinger divisor = 1 + +[ipv4.tcpofo] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.tcpofo + # chart type = line + # type = ipv4 + # family = tcp + # units = packets/s + # context = ipv4.tcpofo + # priority = 3050 + # gap when lost iterations above = 1 + # name = ipv4.tcpofo + # title = TCP Out-Of-Order Queue (ipv4.tcpofo) + # dim TCPOFOQueue name = inqueue + # dim TCPOFOQueue algorithm = incremental + # dim TCPOFOQueue multiplier = 1 + # dim TCPOFOQueue divisor = 1 + +[ipv4.tcpsyncookies] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.tcpsyncookies + # chart type = line + # type = ipv4 + # family = tcp + # units = packets/s + # context = ipv4.tcpsyncookies + # priority = 3100 + # gap when lost iterations above = 1 + # name = ipv4.tcpsyncookies + # title = TCP SYN Cookies (ipv4.tcpsyncookies) + # dim SyncookiesRecv name = received + # dim SyncookiesRecv algorithm = incremental + # dim SyncookiesRecv multiplier = 1 + # dim SyncookiesRecv divisor = 1 + # dim SyncookiesSent name = sent + # dim SyncookiesSent algorithm = incremental + # dim SyncookiesSent multiplier = -1 + # dim SyncookiesSent divisor = 1 + # dim SyncookiesFailed name = failed + # dim SyncookiesFailed algorithm = incremental + # dim SyncookiesFailed multiplier = -1 + # dim SyncookiesFailed divisor = 1 + +[ipv4.ecnpkts] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.ecnpkts + # chart type = line + # type = ipv4 + # family = ecn + # units = packets/s + # context = ipv4.ecnpkts + # priority = 8700 + # gap when lost iterations above = 1 + # name = ipv4.ecnpkts + # title = IPv4 ECN Statistics (ipv4.ecnpkts) + # dim InCEPkts name = CEP + # dim InCEPkts algorithm = incremental + # dim InCEPkts multiplier = 1 + # dim InCEPkts divisor = 1 + # dim InNoECTPkts name = NoECTP + # dim InNoECTPkts algorithm = incremental + # dim InNoECTPkts multiplier = -1 + # dim InNoECTPkts divisor = 1 + # dim InECT0Pkts name = ECTP0 + # dim InECT0Pkts algorithm = incremental + # dim InECT0Pkts multiplier = 1 + # dim InECT0Pkts divisor = 1 + # dim InECT1Pkts name = ECTP1 + # dim InECT1Pkts algorithm = incremental + # dim InECT1Pkts multiplier = 1 + # dim InECT1Pkts divisor = 1 + +[ipv4.udppackets] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.udppackets + # chart type = line + # type = ipv4 + # family = udp + # units = packets/s + # context = ipv4.udppackets + # priority = 2601 + # gap when lost iterations above = 1 + # name = ipv4.udppackets + # title = IPv4 UDP Packets (ipv4.udppackets) + # dim InDatagrams name = received + # dim InDatagrams algorithm = incremental + # dim InDatagrams multiplier = 1 + # dim InDatagrams divisor = 1 + # dim OutDatagrams name = sent + # dim OutDatagrams algorithm = incremental + # dim OutDatagrams multiplier = -1 + # dim OutDatagrams divisor = 1 + +[ipv4.udperrors] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.udperrors + # chart type = line + # type = ipv4 + # family = udp + # units = events/s + # context = ipv4.udperrors + # priority = 2701 + # gap when lost iterations above = 1 + # name = ipv4.udperrors + # title = IPv4 UDP Errors (ipv4.udperrors) + # dim RcvbufErrors name = RcvbufErrors + # dim RcvbufErrors algorithm = incremental + # dim RcvbufErrors multiplier = 1 + # dim RcvbufErrors divisor = 1 + # dim InErrors name = InErrors + # dim InErrors algorithm = incremental + # dim InErrors multiplier = 1 + # dim InErrors divisor = 1 + # dim NoPorts name = NoPorts + # dim NoPorts algorithm = incremental + # dim NoPorts multiplier = 1 + # dim NoPorts divisor = 1 + # dim InCsumErrors name = InCsumErrors + # dim InCsumErrors algorithm = incremental + # dim InCsumErrors multiplier = 1 + # dim InCsumErrors divisor = 1 + # dim IgnoredMulti name = IgnoredMulti + # dim IgnoredMulti algorithm = incremental + # dim IgnoredMulti multiplier = 1 + # dim IgnoredMulti divisor = 1 + +[ipv4.icmp] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.icmp + # chart type = line + # type = ipv4 + # family = icmp + # units = packets/s + # context = ipv4.icmp + # priority = 2602 + # gap when lost iterations above = 1 + # name = ipv4.icmp + # title = IPv4 ICMP Packets (ipv4.icmp) + # dim InMsgs name = received + # dim InMsgs algorithm = incremental + # dim InMsgs multiplier = 1 + # dim InMsgs divisor = 1 + # dim OutMsgs name = sent + # dim OutMsgs algorithm = incremental + # dim OutMsgs multiplier = -1 + # dim OutMsgs divisor = 1 + +[ipv4.icmp_errors] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.icmp_errors + # chart type = line + # type = ipv4 + # family = icmp + # units = packets/s + # context = ipv4.icmp_errors + # priority = 2603 + # gap when lost iterations above = 1 + # name = ipv4.icmp_errors + # title = IPv4 ICMP Errors (ipv4.icmp_errors) + # dim InErrors name = InErrors + # dim InErrors algorithm = incremental + # dim InErrors multiplier = 1 + # dim InErrors divisor = 1 + # dim OutErrors name = OutErrors + # dim OutErrors algorithm = incremental + # dim OutErrors multiplier = -1 + # dim OutErrors divisor = 1 + # dim InCsumErrors name = InCsumErrors + # dim InCsumErrors algorithm = incremental + # dim InCsumErrors multiplier = 1 + # dim InCsumErrors divisor = 1 + +[ipv4.icmpmsg] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.icmpmsg + # chart type = line + # type = ipv4 + # family = icmp + # units = packets/s + # context = ipv4.icmpmsg + # priority = 2604 + # gap when lost iterations above = 1 + # name = ipv4.icmpmsg + # title = IPv4 ICMP Messsages (ipv4.icmpmsg) + # dim InEchoReps name = InEchoReps + # dim InEchoReps algorithm = incremental + # dim InEchoReps multiplier = 1 + # dim InEchoReps divisor = 1 + # dim OutEchoReps name = OutEchoReps + # dim OutEchoReps algorithm = incremental + # dim OutEchoReps multiplier = -1 + # dim OutEchoReps divisor = 1 + # dim InEchos name = InEchos + # dim InEchos algorithm = incremental + # dim InEchos multiplier = 1 + # dim InEchos divisor = 1 + # dim OutEchos name = OutEchos + # dim OutEchos algorithm = incremental + # dim OutEchos multiplier = -1 + # dim OutEchos divisor = 1 + +[ipv4.packets] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.packets + # chart type = line + # type = ipv4 + # family = packets + # units = packets/s + # context = ipv4.packets + # priority = 3000 + # gap when lost iterations above = 1 + # name = ipv4.packets + # title = IPv4 Packets (ipv4.packets) + # dim InReceives name = received + # dim InReceives algorithm = incremental + # dim InReceives multiplier = 1 + # dim InReceives divisor = 1 + # dim OutRequests name = sent + # dim OutRequests algorithm = incremental + # dim OutRequests multiplier = -1 + # dim OutRequests divisor = 1 + # dim ForwDatagrams name = forwarded + # dim ForwDatagrams algorithm = incremental + # dim ForwDatagrams multiplier = 1 + # dim ForwDatagrams divisor = 1 + # dim InDelivers name = delivered + # dim InDelivers algorithm = incremental + # dim InDelivers multiplier = 1 + # dim InDelivers divisor = 1 + +[ipv4.fragsout] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.fragsout + # chart type = line + # type = ipv4 + # family = fragments + # units = packets/s + # context = ipv4.fragsout + # priority = 3010 + # gap when lost iterations above = 1 + # name = ipv4.fragsout + # title = IPv4 Fragments Sent (ipv4.fragsout) + # dim FragOKs name = ok + # dim FragOKs algorithm = incremental + # dim FragOKs multiplier = 1 + # dim FragOKs divisor = 1 + # dim FragFails name = failed + # dim FragFails algorithm = incremental + # dim FragFails multiplier = -1 + # dim FragFails divisor = 1 + # dim FragCreates name = created + # dim FragCreates algorithm = incremental + # dim FragCreates multiplier = 1 + # dim FragCreates divisor = 1 + +[ipv4.fragsin] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.fragsin + # chart type = line + # type = ipv4 + # family = fragments + # units = packets/s + # context = ipv4.fragsin + # priority = 3011 + # gap when lost iterations above = 1 + # name = ipv4.fragsin + # title = IPv4 Fragments Reassembly (ipv4.fragsin) + # dim ReasmOKs name = ok + # dim ReasmOKs algorithm = incremental + # dim ReasmOKs multiplier = 1 + # dim ReasmOKs divisor = 1 + # dim ReasmFails name = failed + # dim ReasmFails algorithm = incremental + # dim ReasmFails multiplier = -1 + # dim ReasmFails divisor = 1 + # dim ReasmReqds name = all + # dim ReasmReqds algorithm = incremental + # dim ReasmReqds multiplier = 1 + # dim ReasmReqds divisor = 1 + +[ipv4.errors] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv4.errors + # chart type = line + # type = ipv4 + # family = errors + # units = packets/s + # context = ipv4.errors + # priority = 3002 + # gap when lost iterations above = 1 + # name = ipv4.errors + # title = IPv4 Errors (ipv4.errors) + # dim InDiscards name = InDiscards + # dim InDiscards algorithm = incremental + # dim InDiscards multiplier = 1 + # dim InDiscards divisor = 1 + # dim OutDiscards name = OutDiscards + # dim OutDiscards algorithm = incremental + # dim OutDiscards multiplier = -1 + # dim OutDiscards divisor = 1 + # dim InHdrErrors name = InHdrErrors + # dim InHdrErrors algorithm = incremental + # dim InHdrErrors multiplier = 1 + # dim InHdrErrors divisor = 1 + # dim OutNoRoutes name = OutNoRoutes + # dim OutNoRoutes algorithm = incremental + # dim OutNoRoutes multiplier = -1 + # dim OutNoRoutes divisor = 1 + # dim InAddrErrors name = InAddrErrors + # dim InAddrErrors algorithm = incremental + # dim InAddrErrors multiplier = 1 + # dim InAddrErrors divisor = 1 + # dim InUnknownProtos name = InUnknownProtos + # dim InUnknownProtos algorithm = incremental + # dim InUnknownProtos multiplier = 1 + # dim InUnknownProtos divisor = 1 + +[ipv6.packets] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv6.packets + # chart type = line + # type = ipv6 + # family = packets + # units = packets/s + # context = ipv6.packets + # priority = 3000 + # gap when lost iterations above = 1 + # name = ipv6.packets + # title = IPv6 Packets (ipv6.packets) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + # dim forwarded name = forwarded + # dim forwarded algorithm = incremental + # dim forwarded multiplier = 1 + # dim forwarded divisor = 1 + # dim delivers name = delivers + # dim delivers algorithm = incremental + # dim delivers multiplier = -1 + # dim delivers divisor = 1 + +[ipv6.errors] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv6.errors + # chart type = line + # type = ipv6 + # family = errors + # units = packets/s + # context = ipv6.errors + # priority = 3002 + # gap when lost iterations above = 1 + # name = ipv6.errors + # title = IPv6 Errors (ipv6.errors) + # dim InDiscards name = InDiscards + # dim InDiscards algorithm = incremental + # dim InDiscards multiplier = 1 + # dim InDiscards divisor = 1 + # dim OutDiscards name = OutDiscards + # dim OutDiscards algorithm = incremental + # dim OutDiscards multiplier = -1 + # dim OutDiscards divisor = 1 + # dim InHdrErrors name = InHdrErrors + # dim InHdrErrors algorithm = incremental + # dim InHdrErrors multiplier = 1 + # dim InHdrErrors divisor = 1 + # dim InAddrErrors name = InAddrErrors + # dim InAddrErrors algorithm = incremental + # dim InAddrErrors multiplier = 1 + # dim InAddrErrors divisor = 1 + # dim InTruncatedPkts name = InTruncatedPkts + # dim InTruncatedPkts algorithm = incremental + # dim InTruncatedPkts multiplier = 1 + # dim InTruncatedPkts divisor = 1 + # dim InNoRoutes name = InNoRoutes + # dim InNoRoutes algorithm = incremental + # dim InNoRoutes multiplier = 1 + # dim InNoRoutes divisor = 1 + # dim OutNoRoutes name = OutNoRoutes + # dim OutNoRoutes algorithm = incremental + # dim OutNoRoutes multiplier = -1 + # dim OutNoRoutes divisor = 1 + +[ipv6.icmp] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv6.icmp + # chart type = line + # type = ipv6 + # family = icmp + # units = messages/s + # context = ipv6.icmp + # priority = 10000 + # gap when lost iterations above = 1 + # name = ipv6.icmp + # title = IPv6 ICMP Messages (ipv6.icmp) + # dim received name = received + # dim received algorithm = incremental + # dim received multiplier = 1 + # dim received divisor = 1 + # dim sent name = sent + # dim sent algorithm = incremental + # dim sent multiplier = -1 + # dim sent divisor = 1 + +[ipv6.icmpneighbor] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv6.icmpneighbor + # chart type = line + # type = ipv6 + # family = icmp + # units = messages/s + # context = ipv6.icmpneighbor + # priority = 10500 + # gap when lost iterations above = 1 + # name = ipv6.icmpneighbor + # title = IPv6 Neighbor Messages (ipv6.icmpneighbor) + # dim InSolicits name = InSolicits + # dim InSolicits algorithm = incremental + # dim InSolicits multiplier = 1 + # dim InSolicits divisor = 1 + # dim OutSolicits name = OutSolicits + # dim OutSolicits algorithm = incremental + # dim OutSolicits multiplier = -1 + # dim OutSolicits divisor = 1 + # dim InAdvertisements name = InAdvertisements + # dim InAdvertisements algorithm = incremental + # dim InAdvertisements multiplier = 1 + # dim InAdvertisements divisor = 1 + # dim OutAdvertisements name = OutAdvertisements + # dim OutAdvertisements algorithm = incremental + # dim OutAdvertisements multiplier = -1 + # dim OutAdvertisements divisor = 1 + +[ipv6.icmptypes] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/ipv6.icmptypes + # chart type = line + # type = ipv6 + # family = icmp + # units = messages/s + # context = ipv6.icmptypes + # priority = 10700 + # gap when lost iterations above = 1 + # name = ipv6.icmptypes + # title = IPv6 ICMP Types (ipv6.icmptypes) + # dim InType1 name = InType1 + # dim InType1 algorithm = incremental + # dim InType1 multiplier = 1 + # dim InType1 divisor = 1 + # dim InType128 name = InType128 + # dim InType128 algorithm = incremental + # dim InType128 multiplier = 1 + # dim InType128 divisor = 1 + # dim InType129 name = InType129 + # dim InType129 algorithm = incremental + # dim InType129 multiplier = 1 + # dim InType129 divisor = 1 + # dim InType136 name = InType136 + # dim InType136 algorithm = incremental + # dim InType136 multiplier = 1 + # dim InType136 divisor = 1 + # dim OutType1 name = OutType1 + # dim OutType1 algorithm = incremental + # dim OutType1 multiplier = -1 + # dim OutType1 divisor = 1 + # dim OutType128 name = OutType128 + # dim OutType128 algorithm = incremental + # dim OutType128 multiplier = -1 + # dim OutType128 divisor = 1 + # dim OutType129 name = OutType129 + # dim OutType129 algorithm = incremental + # dim OutType129 multiplier = -1 + # dim OutType129 divisor = 1 + # dim OutType133 name = OutType133 + # dim OutType133 algorithm = incremental + # dim OutType133 multiplier = -1 + # dim OutType133 divisor = 1 + # dim OutType135 name = OutType135 + # dim OutType135 algorithm = incremental + # dim OutType135 multiplier = -1 + # dim OutType135 divisor = 1 + # dim OutType143 name = OutType143 + # dim OutType143 algorithm = incremental + # dim OutType143 multiplier = -1 + # dim OutType143 divisor = 1 + +[disk_space./] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._ + # chart type = stacked + # type = disk_space + # family = / + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._ + # title = Disk Space Usage for / [zroot] (disk_space._) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._ + # chart type = stacked + # type = disk_inodes + # family = / + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._ + # title = Disk Files (inodes) Usage for / [zroot] (disk_inodes._) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./tmp] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._tmp + # chart type = stacked + # type = disk_space + # family = /tmp + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._tmp + # title = Disk Space Usage for /tmp [zroot/tmp] (disk_space._tmp) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./tmp] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._tmp + # chart type = stacked + # type = disk_inodes + # family = /tmp + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._tmp + # title = Disk Files (inodes) Usage for /tmp [zroot/tmp] (disk_inodes._tmp) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./usr] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._usr + # chart type = stacked + # type = disk_space + # family = /usr + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._usr + # title = Disk Space Usage for /usr [zroot/usr] (disk_space._usr) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./usr] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._usr + # chart type = stacked + # type = disk_inodes + # family = /usr + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._usr + # title = Disk Files (inodes) Usage for /usr [zroot/usr] (disk_inodes._usr) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./usr/home] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._usr_home + # chart type = stacked + # type = disk_space + # family = /usr/home + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._usr_home + # title = Disk Space Usage for /usr/home [zroot/usr/home] (disk_space._usr_home) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./usr/home] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._usr_home + # chart type = stacked + # type = disk_inodes + # family = /usr/home + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._usr_home + # title = Disk Files (inodes) Usage for /usr/home [zroot/usr/home] (disk_inodes._usr_home) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./usr/ports] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._usr_ports + # chart type = stacked + # type = disk_space + # family = /usr/ports + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._usr_ports + # title = Disk Space Usage for /usr/ports [zroot/usr/ports] (disk_space._usr_ports) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./usr/ports] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._usr_ports + # chart type = stacked + # type = disk_inodes + # family = /usr/ports + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._usr_ports + # title = Disk Files (inodes) Usage for /usr/ports [zroot/usr/ports] (disk_inodes._usr_ports) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./usr/ports/distfiles] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._usr_ports_distfiles + # chart type = stacked + # type = disk_space + # family = /usr/ports/distfiles + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._usr_ports_distfiles + # title = Disk Space Usage for /usr/ports/distfiles [zroot/usr/ports/distfiles] (disk_space._usr_ports_distfiles) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./usr/ports/distfiles] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._usr_ports_distfiles + # chart type = stacked + # type = disk_inodes + # family = /usr/ports/distfiles + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._usr_ports_distfiles + # title = Disk Files (inodes) Usage for /usr/ports/distfiles [zroot/usr/ports/distfiles] (disk_inodes._usr_ports_distfiles) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./usr/ports/packages] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._usr_ports_packages + # chart type = stacked + # type = disk_space + # family = /usr/ports/packages + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._usr_ports_packages + # title = Disk Space Usage for /usr/ports/packages [zroot/usr/ports/packages] (disk_space._usr_ports_packages) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./usr/ports/packages] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._usr_ports_packages + # chart type = stacked + # type = disk_inodes + # family = /usr/ports/packages + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._usr_ports_packages + # title = Disk Files (inodes) Usage for /usr/ports/packages [zroot/usr/ports/packages] (disk_inodes._usr_ports_packages) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./usr/src] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._usr_src + # chart type = stacked + # type = disk_space + # family = /usr/src + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._usr_src + # title = Disk Space Usage for /usr/src [zroot/usr/src] (disk_space._usr_src) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./usr/src] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._usr_src + # chart type = stacked + # type = disk_inodes + # family = /usr/src + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._usr_src + # title = Disk Files (inodes) Usage for /usr/src [zroot/usr/src] (disk_inodes._usr_src) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./var] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._var + # chart type = stacked + # type = disk_space + # family = /var + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._var + # title = Disk Space Usage for /var [zroot/var] (disk_space._var) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./var] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._var + # chart type = stacked + # type = disk_inodes + # family = /var + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._var + # title = Disk Files (inodes) Usage for /var [zroot/var] (disk_inodes._var) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./var/crash] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._var_crash + # chart type = stacked + # type = disk_space + # family = /var/crash + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._var_crash + # title = Disk Space Usage for /var/crash [zroot/var/crash] (disk_space._var_crash) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./var/crash] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._var_crash + # chart type = stacked + # type = disk_inodes + # family = /var/crash + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._var_crash + # title = Disk Files (inodes) Usage for /var/crash [zroot/var/crash] (disk_inodes._var_crash) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./var/db] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._var_db + # chart type = stacked + # type = disk_space + # family = /var/db + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._var_db + # title = Disk Space Usage for /var/db [zroot/var/db] (disk_space._var_db) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./var/db] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._var_db + # chart type = stacked + # type = disk_inodes + # family = /var/db + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._var_db + # title = Disk Files (inodes) Usage for /var/db [zroot/var/db] (disk_inodes._var_db) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./var/db/pkg] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._var_db_pkg + # chart type = stacked + # type = disk_space + # family = /var/db/pkg + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._var_db_pkg + # title = Disk Space Usage for /var/db/pkg [zroot/var/db/pkg] (disk_space._var_db_pkg) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./var/db/pkg] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._var_db_pkg + # chart type = stacked + # type = disk_inodes + # family = /var/db/pkg + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._var_db_pkg + # title = Disk Files (inodes) Usage for /var/db/pkg [zroot/var/db/pkg] (disk_inodes._var_db_pkg) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./var/empty] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._var_empty + # chart type = stacked + # type = disk_space + # family = /var/empty + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._var_empty + # title = Disk Space Usage for /var/empty [zroot/var/empty] (disk_space._var_empty) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./var/empty] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._var_empty + # chart type = stacked + # type = disk_inodes + # family = /var/empty + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._var_empty + # title = Disk Files (inodes) Usage for /var/empty [zroot/var/empty] (disk_inodes._var_empty) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./var/log] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._var_log + # chart type = stacked + # type = disk_space + # family = /var/log + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._var_log + # title = Disk Space Usage for /var/log [zroot/var/log] (disk_space._var_log) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./var/log] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._var_log + # chart type = stacked + # type = disk_inodes + # family = /var/log + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._var_log + # title = Disk Files (inodes) Usage for /var/log [zroot/var/log] (disk_inodes._var_log) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./var/mail] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._var_mail + # chart type = stacked + # type = disk_space + # family = /var/mail + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._var_mail + # title = Disk Space Usage for /var/mail [zroot/var/mail] (disk_space._var_mail) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./var/mail] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._var_mail + # chart type = stacked + # type = disk_inodes + # family = /var/mail + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._var_mail + # title = Disk Files (inodes) Usage for /var/mail [zroot/var/mail] (disk_inodes._var_mail) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./var/run] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._var_run + # chart type = stacked + # type = disk_space + # family = /var/run + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._var_run + # title = Disk Space Usage for /var/run [zroot/var/run] (disk_space._var_run) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./var/run] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._var_run + # chart type = stacked + # type = disk_inodes + # family = /var/run + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._var_run + # title = Disk Files (inodes) Usage for /var/run [zroot/var/run] (disk_inodes._var_run) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[disk_space./var/tmp] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_space._var_tmp + # chart type = stacked + # type = disk_space + # family = /var/tmp + # units = GB + # context = disk.space + # priority = 2023 + # gap when lost iterations above = 1 + # name = disk_space._var_tmp + # title = Disk Space Usage for /var/tmp [zroot/var/tmp] (disk_space._var_tmp) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 512 + # dim avail divisor = 1073741824 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 512 + # dim used divisor = 1073741824 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 512 + # dim reserved_for_root divisor = 1073741824 + +[disk_inodes./var/tmp] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_inodes._var_tmp + # chart type = stacked + # type = disk_inodes + # family = /var/tmp + # units = Inodes + # context = disk.inodes + # priority = 2024 + # gap when lost iterations above = 1 + # name = disk_inodes._var_tmp + # title = Disk Files (inodes) Usage for /var/tmp [zroot/var/tmp] (disk_inodes._var_tmp) + # dim avail name = avail + # dim avail algorithm = absolute + # dim avail multiplier = 1 + # dim avail divisor = 1 + # dim used name = used + # dim used algorithm = absolute + # dim used multiplier = 1 + # dim used divisor = 1 + # dim reserved_for_root name = reserved for root + # dim reserved_for_root algorithm = absolute + # dim reserved_for_root multiplier = 1 + # dim reserved_for_root divisor = 1 + +[system.uptime] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/system.uptime + # chart type = line + # type = system + # family = uptime + # units = seconds + # context = system.uptime + # priority = 1000 + # gap when lost iterations above = 1 + # name = system.uptime + # title = System Uptime (system.uptime) + # dim uptime name = uptime + # dim uptime algorithm = absolute + # dim uptime multiplier = 1 + # dim uptime divisor = 1 + +[disk_await.vtbd0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_await.vtbd0 + # chart type = line + # type = disk_await + # family = vtbd0 + # units = ms per operation + # context = disk.await + # priority = 2005 + # gap when lost iterations above = 1 + # name = disk_await.vtbd0 + # title = Average Completed I/O Operation Time (disk_await.vtbd0) + # dim reads name = reads + # dim reads algorithm = absolute + # dim reads multiplier = 1 + # dim reads divisor = 1 + # dim writes name = writes + # dim writes algorithm = absolute + # dim writes multiplier = -1 + # dim writes divisor = 1 + +[disk_avgsz.vtbd0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_avgsz.vtbd0 + # chart type = area + # type = disk_avgsz + # family = vtbd0 + # units = kilobytes per operation + # context = disk.avgsz + # priority = 2006 + # gap when lost iterations above = 1 + # name = disk_avgsz.vtbd0 + # title = Average Completed I/O Operation Bandwidth (disk_avgsz.vtbd0) + # dim reads name = reads + # dim reads algorithm = absolute + # dim reads multiplier = 1 + # dim reads divisor = 1024 + # dim writes name = writes + # dim writes algorithm = absolute + # dim writes multiplier = -1 + # dim writes divisor = 1024 + +[disk_svctm.vtbd0] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/disk_svctm.vtbd0 + # chart type = line + # type = disk_svctm + # family = vtbd0 + # units = ms per operation + # context = disk.svctm + # priority = 2007 + # gap when lost iterations above = 1 + # name = disk_svctm.vtbd0 + # title = Average Service Time (disk_svctm.vtbd0) + # dim svctm name = svctm + # dim svctm algorithm = absolute + # dim svctm multiplier = 1 + # dim svctm divisor = 1 + +[nginx_local.connections] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/nginx_local.connections + # chart type = line + # type = nginx_local + # family = active connections + # units = connections + # context = nginx.connections + # priority = 60000 + # gap when lost iterations above = 1 + # name = nginx_local.connections + # title = nginx Active Connections (nginx_local.connections) + # dim active name = active + # dim active algorithm = absolute + # dim active multiplier = 1 + # dim active divisor = 1 + +[nginx_local.requests] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/nginx_local.requests + # chart type = line + # type = nginx_local + # family = requests + # units = requests/s + # context = nginx.requests + # priority = 60001 + # gap when lost iterations above = 1 + # name = nginx_local.requests + # title = nginx Requests (nginx_local.requests) + # dim requests name = requests + # dim requests algorithm = incremental + # dim requests multiplier = 1 + # dim requests divisor = 1 + +[nginx_local.connection_status] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/nginx_local.connection_status + # chart type = line + # type = nginx_local + # family = status + # units = connections + # context = nginx.connection_status + # priority = 60002 + # gap when lost iterations above = 1 + # name = nginx_local.connection_status + # title = nginx Active Connections by Status (nginx_local.connection_status) + # dim reading name = reading + # dim reading algorithm = absolute + # dim reading multiplier = 1 + # dim reading divisor = 1 + # dim writing name = writing + # dim writing algorithm = absolute + # dim writing multiplier = 1 + # dim writing divisor = 1 + # dim waiting name = idle + # dim waiting algorithm = absolute + # dim waiting multiplier = 1 + # dim waiting divisor = 1 + +[nginx_local.connect_rate] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/nginx_local.connect_rate + # chart type = line + # type = nginx_local + # family = connections rate + # units = connections/s + # context = nginx.connect_rate + # priority = 60003 + # gap when lost iterations above = 1 + # name = nginx_local.connect_rate + # title = nginx Connections Rate (nginx_local.connect_rate) + # dim accepts name = accepted + # dim accepts algorithm = incremental + # dim accepts multiplier = 1 + # dim accepts divisor = 1 + # dim handled name = handled + # dim handled algorithm = incremental + # dim handled multiplier = 1 + # dim handled divisor = 1 + +[netdata.plugin_pythond_nginx_local] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.plugin_pythond_nginx_local + # chart type = area + # type = netdata + # family = python.d + # units = milliseconds / run + # context = netdata.plugin_python + # priority = 145000 + # gap when lost iterations above = 1 + # name = netdata.plugin_pythond_nginx_local + # title = Execution time for nginx_local plugin (netdata.plugin_pythond_nginx_local) + # dim run_time name = run time + # dim run_time algorithm = absolute + # dim run_time multiplier = 1 + # dim run_time divisor = 1 + +[nginx_log_local.codes] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/nginx_log_local.codes + # chart type = stacked + # type = nginx_log_local + # family = requests + # units = requests/s + # context = nginx_log.codes + # priority = 60000 + # gap when lost iterations above = 1 + # name = nginx_log_local.codes + # title = nginx status codes (nginx_log_local.codes) + # dim 2xx name = 2xx + # dim 2xx algorithm = incremental + # dim 2xx multiplier = 1 + # dim 2xx divisor = 1 + # dim 5xx name = 5xx + # dim 5xx algorithm = incremental + # dim 5xx multiplier = 1 + # dim 5xx divisor = 1 + # dim 3xx name = 3xx + # dim 3xx algorithm = incremental + # dim 3xx multiplier = 1 + # dim 3xx divisor = 1 + # dim 4xx name = 4xx + # dim 4xx algorithm = incremental + # dim 4xx multiplier = 1 + # dim 4xx divisor = 1 + # dim 1xx name = 1xx + # dim 1xx algorithm = incremental + # dim 1xx multiplier = 1 + # dim 1xx divisor = 1 + # dim other name = other + # dim other algorithm = incremental + # dim other multiplier = 1 + # dim other divisor = 1 + +[netdata.plugin_pythond_nginx_log_local] + # history = 86400 + # enabled = yes + # cache directory = %%NETDATA_CACHE%%/netdata.plugin_pythond_nginx_log_local + # chart type = area + # type = netdata + # family = python.d + # units = milliseconds / run + # context = netdata.plugin_python + # priority = 145000 + # gap when lost iterations above = 1 + # name = netdata.plugin_pythond_nginx_log_local + # title = Execution time for nginx_log_local plugin (netdata.plugin_pythond_nginx_log_local) + # dim run_time name = run time + # dim run_time algorithm = absolute + # dim run_time multiplier = 1 + # dim run_time divisor = 1 diff --git a/net-mgmt/netdata/files/netdata.in b/net-mgmt/netdata/files/netdata.in new file mode 100644 index 000000000000..0f7fdca1e8e9 --- /dev/null +++ b/net-mgmt/netdata/files/netdata.in @@ -0,0 +1,36 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: netdata +# REQUIRE: LOGIN +# KEYWORD: shutdown + +# +# Add the following line to /etc/rc.conf to enable netdata: +# netdata_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable netdata. +# netdata_args (str): Custom additional arguments to be passed +# to netdata (default empty). +# + +. /etc/rc.subr + +name="netdata" +rcvar=netdata_enable + +load_rc_config $name + +: ${netdata_enable="NO"} + +netdata_user="netdata" +pidfile="%%NETDATA_PERST%%/${name}.pid" +procname="%%PREFIX%%/sbin/${name}" +command="/usr/sbin/daemon" +command_args="-c -f ${procname} -u ${netdata_user} -P ${pidfile} ${netdata_args}" + +required_files="%%ETCDIR%%/${name}.conf" + +run_rc_command "$1" + diff --git a/net-mgmt/netdata/files/patch-configure.ac b/net-mgmt/netdata/files/patch-configure.ac new file mode 100644 index 000000000000..e63cd799ee77 --- /dev/null +++ b/net-mgmt/netdata/files/patch-configure.ac @@ -0,0 +1,31 @@ +--- configure.ac.orig 2017-01-22 19:49:22 UTC ++++ configure.ac +@@ -162,7 +162,7 @@ PKG_CHECK_MODULES( + [UUID], + [uuid], + ) +-test -z "${UUID_LIBS}" && AC_MSG_ERROR([libuuid required but not found. Try installing 'uuid-dev' or 'libuuid-devel'.]) ++test -z "${UUID_LIBS}" && AC_MSG_ERROR([libuuid required but not found. Try installing 'misc/e2fsprogs-libuuid'.]) + AC_DEFINE([NETDATA_WITH_UUID], [1], [uuid settings]) + OPTIONAL_UUID_CLFAGS="${UUID_CFLAGS}" + OPTIONAL_UUID_LIBS="${UUID_LIBS}" +@@ -214,14 +214,14 @@ fi + + AC_DEFINE_UNQUOTED([NETDATA_USER], ["${with_user}"], [use this user to drop privileged]) + +-AC_SUBST([varlibdir], ["\$(localstatedir)/lib/netdata"]) +-AC_SUBST([registrydir], ["\$(localstatedir)/lib/netdata/registry"]) +-AC_SUBST([cachedir], ["\$(localstatedir)/cache/netdata"]) ++AC_SUBST([varlibdir], ["%%NETDATA_PERST%%"]) ++AC_SUBST([registrydir], ["%%NETDATA_PERST%%/registry"]) ++AC_SUBST([cachedir], ["%%NETDATA_CACHE%%"]) + AC_SUBST([chartsdir], ["\$(libexecdir)/netdata/charts.d"]) + AC_SUBST([nodedir], ["\$(libexecdir)/netdata/node.d"]) + AC_SUBST([pythondir], ["\$(libexecdir)/netdata/python.d"]) +-AC_SUBST([configdir], ["\$(sysconfdir)/netdata"]) +-AC_SUBST([logdir], ["\$(localstatedir)/log/netdata"]) ++AC_SUBST([configdir], ["%%ETCDIR%%"]) ++AC_SUBST([logdir], ["%%NETDATA_LOG%%"]) + AC_SUBST([pluginsdir], ["\$(libexecdir)/netdata/plugins.d"]) + AC_SUBST([webdir]) + diff --git a/net-mgmt/netdata/files/patch-src_Makefile.am b/net-mgmt/netdata/files/patch-src_Makefile.am new file mode 100644 index 000000000000..af5f92672d5a --- /dev/null +++ b/net-mgmt/netdata/files/patch-src_Makefile.am @@ -0,0 +1,15 @@ +--- src/Makefile.am.orig 2017-01-22 19:49:22 UTC ++++ src/Makefile.am +@@ -135,6 +135,12 @@ apps_plugin_SOURCES = \ + web_buffer.c web_buffer.h \ + $(NULL) + ++if FREEBSD ++apps_plugin_SOURCES += \ ++ plugin_freebsd.h \ ++ $(NULL) ++endif ++ + install-data-hook: + if [ `id -u` == 0 ]; then \ + chown root '$(DESTDIR)$(pluginsdir)/apps.plugin' && \ diff --git a/net-mgmt/netdata/files/patch-src_common.c b/net-mgmt/netdata/files/patch-src_common.c new file mode 100644 index 000000000000..fda397f2c7eb --- /dev/null +++ b/net-mgmt/netdata/files/patch-src_common.c @@ -0,0 +1,37 @@ +--- src/common.c.orig 2017-01-22 19:49:22 UTC ++++ src/common.c +@@ -1111,6 +1111,16 @@ long get_system_cpus(void) { + } + + return processors; ++ #elif __FreeBSD__ ++ int32_t tmp_processors; ++ ++ if (unlikely(GETSYSCTL("hw.ncpu", tmp_processors))) { ++ error("Assuming system has %d processors.", processors); ++ } else { ++ processors = tmp_processors; ++ } ++ ++ return processors; + #else + + char filename[FILENAME_MAX + 1]; +@@ -1153,6 +1163,17 @@ pid_t get_system_pid_max(void) { + // we use the number defined in bsd/sys/proc_internal.h in XNU sources + pid_max = 99999; + return pid_max; ++ #elif __FreeBSD__ ++ int32_t tmp_pid_max; ++ ++ if (unlikely(GETSYSCTL("kern.pid_max", tmp_pid_max))) { ++ pid_max = 99999; ++ error("Assuming system's maximum pid is %d.", pid_max); ++ } else { ++ pid_max = tmp_pid_max; ++ } ++ ++ return pid_max; + #else + + char filename[FILENAME_MAX + 1]; diff --git a/net-mgmt/netdata/files/patch-src_freebsd__sysctl.c b/net-mgmt/netdata/files/patch-src_freebsd__sysctl.c new file mode 100644 index 000000000000..b75202b457a5 --- /dev/null +++ b/net-mgmt/netdata/files/patch-src_freebsd__sysctl.c @@ -0,0 +1,26 @@ +--- src/freebsd_sysctl.c.orig 2017-01-22 19:49:22 UTC ++++ src/freebsd_sysctl.c +@@ -828,7 +828,11 @@ int do_freebsd_sysctl(int update_every, + if (unlikely(GETSYSCTL("vm.stats.vm.v_active_count", vmmeter_data.v_active_count) || + GETSYSCTL("vm.stats.vm.v_inactive_count", vmmeter_data.v_inactive_count) || + GETSYSCTL("vm.stats.vm.v_wire_count", vmmeter_data.v_wire_count) || ++#if (__FreeBSD__ >= 12) && (__FreeBSD_version >= 1200016) ++ 0 || ++#else + GETSYSCTL("vm.stats.vm.v_cache_count", vmmeter_data.v_cache_count) || ++#endif + GETSYSCTL("vfs.bufspace", vfs_bufspace_count) || + GETSYSCTL("vm.stats.vm.v_free_count", vmmeter_data.v_free_count))) { + do_ram = 0; +@@ -850,7 +854,11 @@ int do_freebsd_sysctl(int update_every, + rrddim_set(st, "active", vmmeter_data.v_active_count); + rrddim_set(st, "inactive", vmmeter_data.v_inactive_count); + rrddim_set(st, "wired", vmmeter_data.v_wire_count); ++#if (__FreeBSD__ >= 12) && (__FreeBSD_version >= 1200016) ++ rrddim_set(st, "cache", 0); ++#else + rrddim_set(st, "cache", vmmeter_data.v_cache_count); ++#endif + rrddim_set(st, "buffers", vfs_bufspace_count); + rrddim_set(st, "free", vmmeter_data.v_free_count); + rrdset_done(st); diff --git a/net-mgmt/netdata/files/patch-src_plugin__freebsd.c b/net-mgmt/netdata/files/patch-src_plugin__freebsd.c new file mode 100644 index 000000000000..15a9a2ac72da --- /dev/null +++ b/net-mgmt/netdata/files/patch-src_plugin__freebsd.c @@ -0,0 +1,28 @@ +--- src/plugin_freebsd.c.orig 2017-01-22 19:49:22 UTC ++++ src/plugin_freebsd.c +@@ -1,6 +1,6 @@ + #include "common.h" + +-void *freebsd_main(void *ptr) { ++extern void *freebsd_main(void *ptr) { + struct netdata_static_thread *static_thread = (struct netdata_static_thread *)ptr; + + info("FREEBSD Plugin thread created with task id %d", gettid()); +@@ -63,17 +63,3 @@ void *freebsd_main(void *ptr) { + return NULL; + } + +-int getsysctl(const char *name, void *ptr, size_t len) +-{ +- size_t nlen = len; +- +- if (unlikely(sysctlbyname(name, ptr, &nlen, NULL, 0) == -1)) { +- error("FREEBSD: sysctl(%s...) failed: %s", name, strerror(errno)); +- return 1; +- } +- if (unlikely(nlen != len)) { +- error("FREEBSD: sysctl(%s...) expected %lu, got %lu", name, (unsigned long)len, (unsigned long)nlen); +- return 1; +- } +- return 0; +-} diff --git a/net-mgmt/netdata/files/patch-src_plugin__freebsd.h b/net-mgmt/netdata/files/patch-src_plugin__freebsd.h new file mode 100644 index 000000000000..add7a19b16fd --- /dev/null +++ b/net-mgmt/netdata/files/patch-src_plugin__freebsd.h @@ -0,0 +1,27 @@ +--- src/plugin_freebsd.h.orig 2017-01-22 19:49:22 UTC ++++ src/plugin_freebsd.h +@@ -6,9 +6,22 @@ + #define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var)) + + void *freebsd_main(void *ptr); ++extern int do_freebsd_sysctl(int update_every, usec_t dt); + +-int getsysctl(const char *name, void *ptr, size_t len); ++static inline ++int getsysctl(const char *name, void *ptr, size_t len) ++{ ++ size_t nlen = len; + +-extern int do_freebsd_sysctl(int update_every, usec_t dt); ++ if (unlikely(sysctlbyname(name, ptr, &nlen, NULL, 0) == -1)) { ++ error("FREEBSD: sysctl(%s...) failed: %s", name, strerror(errno)); ++ return 1; ++ } ++ if (unlikely(nlen != len)) { ++ error("FREEBSD: sysctl(%s...) expected %lu, got %lu", name, (unsigned long)len, (unsigned long)nlen); ++ return 1; ++ } ++ return 0; ++} + + #endif /* NETDATA_PLUGIN_FREEBSD_H */ diff --git a/net-mgmt/netdata/pkg-descr b/net-mgmt/netdata/pkg-descr new file mode 100644 index 000000000000..a11534cf5c33 --- /dev/null +++ b/net-mgmt/netdata/pkg-descr @@ -0,0 +1,10 @@ +Netdata is scalable distributed realtime performance & health monitoring system +netdata collects and visualizes metrics. +If it is a number and it can be collected somehow, netdata can visualize it. +Out of the box, it comes with plugins that collect hundreds of +system metrics and metrics of popular applications. +Netdata is very resource efficient and you can control its resource consumption. +It will use some spare CPU cycles, usually just 1-3% of a single core, +the RAM you want it have, and no disk I/O at all, apart its logging. + +WWW: https://github.com/firehol/netdata diff --git a/net-mgmt/netdata/pkg-plist b/net-mgmt/netdata/pkg-plist new file mode 100644 index 000000000000..00be4ce331fd --- /dev/null +++ b/net-mgmt/netdata/pkg-plist @@ -0,0 +1,313 @@ +@mode 0640 +@owner netdata +@group netdata +%%ETCDIR%%/apps_groups.conf +%%ETCDIR%%/charts.d.conf +%%ETCDIR%%/charts.d/ap.conf +%%ETCDIR%%/charts.d/apache.conf +%%ETCDIR%%/charts.d/apcupsd.conf +%%ETCDIR%%/charts.d/cpu_apps.conf +%%ETCDIR%%/charts.d/cpufreq.conf +%%ETCDIR%%/charts.d/example.conf +%%ETCDIR%%/charts.d/exim.conf +%%ETCDIR%%/charts.d/hddtemp.conf +%%ETCDIR%%/charts.d/load_average.conf +%%ETCDIR%%/charts.d/mem_apps.conf +%%ETCDIR%%/charts.d/mysql.conf +%%ETCDIR%%/charts.d/nginx.conf +%%ETCDIR%%/charts.d/nut.conf +%%ETCDIR%%/charts.d/opensips.conf +%%ETCDIR%%/charts.d/phpfpm.conf +%%ETCDIR%%/charts.d/postfix.conf +%%ETCDIR%%/charts.d/sensors.conf +%%ETCDIR%%/charts.d/squid.conf +%%ETCDIR%%/charts.d/tomcat.conf +%%ETCDIR%%/fping.conf +%%ETCDIR%%/health.d/apache.conf +%%ETCDIR%%/health.d/backend.conf +%%ETCDIR%%/health.d/bind_rndc.conf +%%ETCDIR%%/health.d/cpu.conf +%%ETCDIR%%/health.d/disks.conf +%%ETCDIR%%/health.d/elasticsearch.conf +%%ETCDIR%%/health.d/entropy.conf +%%ETCDIR%%/health.d/haproxy.conf +%%ETCDIR%%/health.d/ipc.conf +%%ETCDIR%%/health.d/ipfs.conf +%%ETCDIR%%/health.d/isc_dhcpd.conf +%%ETCDIR%%/health.d/mdstat.conf +%%ETCDIR%%/health.d/memcached.conf +%%ETCDIR%%/health.d/memory.conf +%%ETCDIR%%/health.d/mysql.conf +%%ETCDIR%%/health.d/named.conf +%%ETCDIR%%/health.d/net.conf +%%ETCDIR%%/health.d/netfilter.conf +%%ETCDIR%%/health.d/nginx.conf +%%ETCDIR%%/health.d/postgres.conf +%%ETCDIR%%/health.d/qos.conf +%%ETCDIR%%/health.d/ram.conf +%%ETCDIR%%/health.d/redis.conf +%%ETCDIR%%/health.d/retroshare.conf +%%ETCDIR%%/health.d/softnet.conf +%%ETCDIR%%/health.d/squid.conf +%%ETCDIR%%/health.d/swap.conf +%%ETCDIR%%/health.d/tcp_resets.conf +%%ETCDIR%%/health.d/udp_errors.conf +%%ETCDIR%%/health.d/varnish.conf +%%ETCDIR%%/health_alarm_notify.conf +%%ETCDIR%%/health_email_recipients.conf +%%ETCDIR%%/node.d.conf +%%ETCDIR%%/node.d/README.md +%%ETCDIR%%/node.d/named.conf.md +%%ETCDIR%%/node.d/sma_webbox.conf.md +%%ETCDIR%%/node.d/snmp.conf.md +%%ETCDIR%%/python.d.conf +%%ETCDIR%%/python.d/apache.conf +%%ETCDIR%%/python.d/apache_cache.conf +%%ETCDIR%%/python.d/bind_rndc.conf +%%ETCDIR%%/python.d/cpufreq.conf +%%ETCDIR%%/python.d/dovecot.conf +%%ETCDIR%%/python.d/elasticsearch.conf +%%ETCDIR%%/python.d/example.conf +%%ETCDIR%%/python.d/exim.conf +%%ETCDIR%%/python.d/fail2ban.conf +%%ETCDIR%%/python.d/freeradius.conf +%%ETCDIR%%/python.d/gunicorn_log.conf +%%ETCDIR%%/python.d/haproxy.conf +%%ETCDIR%%/python.d/hddtemp.conf +%%ETCDIR%%/python.d/ipfs.conf +%%ETCDIR%%/python.d/isc_dhcpd.conf +%%ETCDIR%%/python.d/mdstat.conf +%%ETCDIR%%/python.d/memcached.conf +%%ETCDIR%%/python.d/mysql.conf +%%ETCDIR%%/python.d/nginx.conf +%%ETCDIR%%/python.d/nginx_log.conf +%%ETCDIR%%/python.d/ovpn_status_log.conf +%%ETCDIR%%/python.d/phpfpm.conf +%%ETCDIR%%/python.d/postfix.conf +%%ETCDIR%%/python.d/postgres.conf +%%ETCDIR%%/python.d/redis.conf +%%ETCDIR%%/python.d/retroshare.conf +%%ETCDIR%%/python.d/sensors.conf +%%ETCDIR%%/python.d/squid.conf +%%ETCDIR%%/python.d/tomcat.conf +%%ETCDIR%%/python.d/varnish.conf +@mode +@owner +@group +libexec/netdata/charts.d/README.md +libexec/netdata/charts.d/ap.chart.sh +libexec/netdata/charts.d/apache.chart.sh +libexec/netdata/charts.d/apcupsd.chart.sh +libexec/netdata/charts.d/cpu_apps.chart.sh +libexec/netdata/charts.d/cpufreq.chart.sh +libexec/netdata/charts.d/example.chart.sh +libexec/netdata/charts.d/exim.chart.sh +libexec/netdata/charts.d/hddtemp.chart.sh +libexec/netdata/charts.d/load_average.chart.sh +libexec/netdata/charts.d/mem_apps.chart.sh +libexec/netdata/charts.d/mysql.chart.sh +libexec/netdata/charts.d/nginx.chart.sh +libexec/netdata/charts.d/nut.chart.sh +libexec/netdata/charts.d/opensips.chart.sh +libexec/netdata/charts.d/phpfpm.chart.sh +libexec/netdata/charts.d/postfix.chart.sh +libexec/netdata/charts.d/sensors.chart.sh +libexec/netdata/charts.d/squid.chart.sh +libexec/netdata/charts.d/tomcat.chart.sh +libexec/netdata/node.d/README.md +libexec/netdata/node.d/named.node.js +libexec/netdata/node.d/node_modules/asn1.js +libexec/netdata/node.d/node_modules/ber/errors.js +libexec/netdata/node.d/node_modules/ber/index.js +libexec/netdata/node.d/node_modules/ber/reader.js +libexec/netdata/node.d/node_modules/ber/types.js +libexec/netdata/node.d/node_modules/ber/writer.js +libexec/netdata/node.d/node_modules/extend.js +libexec/netdata/node.d/node_modules/net-snmp.js +libexec/netdata/node.d/node_modules/netdata.js +libexec/netdata/node.d/node_modules/pixl-xml.js +libexec/netdata/node.d/sma_webbox.node.js +libexec/netdata/node.d/snmp.node.js +libexec/netdata/plugins.d/README.md +libexec/netdata/plugins.d/alarm-email.sh +libexec/netdata/plugins.d/alarm-notify.sh +libexec/netdata/plugins.d/alarm-test.sh +libexec/netdata/plugins.d/apps.plugin +libexec/netdata/plugins.d/cgroup-name.sh +libexec/netdata/plugins.d/charts.d.dryrun-helper.sh +libexec/netdata/plugins.d/charts.d.plugin +libexec/netdata/plugins.d/fping.plugin +libexec/netdata/plugins.d/loopsleepms.sh.inc +libexec/netdata/plugins.d/node.d.plugin +libexec/netdata/plugins.d/python.d.plugin +libexec/netdata/plugins.d/tc-qos-helper.sh +libexec/netdata/python.d/README.md +libexec/netdata/python.d/apache.chart.py +libexec/netdata/python.d/apache_cache.chart.py +libexec/netdata/python.d/bind_rndc.chart.py +libexec/netdata/python.d/cpufreq.chart.py +libexec/netdata/python.d/cpuidle.chart.py +libexec/netdata/python.d/dovecot.chart.py +libexec/netdata/python.d/elasticsearch.chart.py +libexec/netdata/python.d/example.chart.py +libexec/netdata/python.d/exim.chart.py +libexec/netdata/python.d/fail2ban.chart.py +libexec/netdata/python.d/freeradius.chart.py +libexec/netdata/python.d/gunicorn_log.chart.py +libexec/netdata/python.d/haproxy.chart.py +libexec/netdata/python.d/hddtemp.chart.py +libexec/netdata/python.d/ipfs.chart.py +libexec/netdata/python.d/isc_dhcpd.chart.py +libexec/netdata/python.d/mdstat.chart.py +libexec/netdata/python.d/memcached.chart.py +libexec/netdata/python.d/mysql.chart.py +libexec/netdata/python.d/nginx.chart.py +libexec/netdata/python.d/nginx_log.chart.py +libexec/netdata/python.d/ovpn_status_log.chart.py +libexec/netdata/python.d/phpfpm.chart.py +libexec/netdata/python.d/postfix.chart.py +libexec/netdata/python.d/postgres.chart.py +libexec/netdata/python.d/python-modules-installer.sh +libexec/netdata/python.d/python_modules/__init__.py +libexec/netdata/python.d/python_modules/base.py +libexec/netdata/python.d/python_modules/lm_sensors.py +libexec/netdata/python.d/python_modules/msg.py +libexec/netdata/python.d/python_modules/pyyaml2/__init__.py +libexec/netdata/python.d/python_modules/pyyaml2/composer.py +libexec/netdata/python.d/python_modules/pyyaml2/constructor.py +libexec/netdata/python.d/python_modules/pyyaml2/cyaml.py +libexec/netdata/python.d/python_modules/pyyaml2/dumper.py +libexec/netdata/python.d/python_modules/pyyaml2/emitter.py +libexec/netdata/python.d/python_modules/pyyaml2/error.py +libexec/netdata/python.d/python_modules/pyyaml2/events.py +libexec/netdata/python.d/python_modules/pyyaml2/loader.py +libexec/netdata/python.d/python_modules/pyyaml2/nodes.py +libexec/netdata/python.d/python_modules/pyyaml2/parser.py +libexec/netdata/python.d/python_modules/pyyaml2/reader.py +libexec/netdata/python.d/python_modules/pyyaml2/representer.py +libexec/netdata/python.d/python_modules/pyyaml2/resolver.py +libexec/netdata/python.d/python_modules/pyyaml2/scanner.py +libexec/netdata/python.d/python_modules/pyyaml2/serializer.py +libexec/netdata/python.d/python_modules/pyyaml2/tokens.py +libexec/netdata/python.d/python_modules/pyyaml3/__init__.py +libexec/netdata/python.d/python_modules/pyyaml3/composer.py +libexec/netdata/python.d/python_modules/pyyaml3/constructor.py +libexec/netdata/python.d/python_modules/pyyaml3/cyaml.py +libexec/netdata/python.d/python_modules/pyyaml3/dumper.py +libexec/netdata/python.d/python_modules/pyyaml3/emitter.py +libexec/netdata/python.d/python_modules/pyyaml3/error.py +libexec/netdata/python.d/python_modules/pyyaml3/events.py +libexec/netdata/python.d/python_modules/pyyaml3/loader.py +libexec/netdata/python.d/python_modules/pyyaml3/nodes.py +libexec/netdata/python.d/python_modules/pyyaml3/parser.py +libexec/netdata/python.d/python_modules/pyyaml3/reader.py +libexec/netdata/python.d/python_modules/pyyaml3/representer.py +libexec/netdata/python.d/python_modules/pyyaml3/resolver.py +libexec/netdata/python.d/python_modules/pyyaml3/scanner.py +libexec/netdata/python.d/python_modules/pyyaml3/serializer.py +libexec/netdata/python.d/python_modules/pyyaml3/tokens.py +libexec/netdata/python.d/redis.chart.py +libexec/netdata/python.d/retroshare.chart.py +libexec/netdata/python.d/sensors.chart.py +libexec/netdata/python.d/squid.chart.py +libexec/netdata/python.d/tomcat.chart.py +libexec/netdata/python.d/varnish.chart.py +sbin/netdata +@mode 4640 +@owner netdata +@group netdata +%%DATADIR%%/web/.well-known/dnt/cookies +%%DATADIR%%/web/css/bootstrap-3.3.7.css +%%DATADIR%%/web/css/bootstrap-slate-flat-3.3.7.css +%%DATADIR%%/web/css/bootstrap-theme-3.3.7.min.css +%%DATADIR%%/web/css/bootstrap-toggle-2.2.2.min.css +%%DATADIR%%/web/css/c3-0.4.11.min.css +%%DATADIR%%/web/css/font-awesome.min.css +%%DATADIR%%/web/css/morris-0.5.1.css +%%DATADIR%%/web/dashboard.css +%%DATADIR%%/web/dashboard.html +%%DATADIR%%/web/dashboard.js +%%DATADIR%%/web/dashboard.slate.css +%%DATADIR%%/web/dashboard_info.js +%%DATADIR%%/web/demo.html +%%DATADIR%%/web/demo2.html +%%DATADIR%%/web/demosites.html +%%DATADIR%%/web/demosites2.html +%%DATADIR%%/web/favicon.ico +%%DATADIR%%/web/fonts/FontAwesome.otf +%%DATADIR%%/web/fonts/fontawesome-webfont.eot +%%DATADIR%%/web/fonts/fontawesome-webfont.svg +%%DATADIR%%/web/fonts/fontawesome-webfont.ttf +%%DATADIR%%/web/fonts/fontawesome-webfont.woff +%%DATADIR%%/web/fonts/fontawesome-webfont.woff2 +%%DATADIR%%/web/fonts/glyphicons-halflings-regular.eot +%%DATADIR%%/web/fonts/glyphicons-halflings-regular.svg +%%DATADIR%%/web/fonts/glyphicons-halflings-regular.ttf +%%DATADIR%%/web/fonts/glyphicons-halflings-regular.woff +%%DATADIR%%/web/fonts/glyphicons-halflings-regular.woff2 +%%DATADIR%%/web/goto-host-from-alarm.html +%%DATADIR%%/web/images/alert-128-orange.png +%%DATADIR%%/web/images/alert-128-red.png +%%DATADIR%%/web/images/alert-multi-size-orange.ico +%%DATADIR%%/web/images/alert-multi-size-red.ico +%%DATADIR%%/web/images/animated.gif +%%DATADIR%%/web/images/check-mark-2-128-green.png +%%DATADIR%%/web/images/check-mark-2-multi-size-green.ico +%%DATADIR%%/web/images/post.png +%%DATADIR%%/web/images/seo-performance-114.png +%%DATADIR%%/web/images/seo-performance-128.png +%%DATADIR%%/web/images/seo-performance-16.png +%%DATADIR%%/web/images/seo-performance-24.png +%%DATADIR%%/web/images/seo-performance-256.png +%%DATADIR%%/web/images/seo-performance-32.png +%%DATADIR%%/web/images/seo-performance-48.png +%%DATADIR%%/web/images/seo-performance-512.png +%%DATADIR%%/web/images/seo-performance-64.png +%%DATADIR%%/web/images/seo-performance-72.png +%%DATADIR%%/web/images/seo-performance-multi-size.icns +%%DATADIR%%/web/images/seo-performance-multi-size.ico +%%DATADIR%%/web/index.html +%%DATADIR%%/web/lib/bootstrap-3.3.7.min.js +%%DATADIR%%/web/lib/bootstrap-table-1.11.0.min.js +%%DATADIR%%/web/lib/bootstrap-table-export-1.11.0.min.js +%%DATADIR%%/web/lib/bootstrap-toggle-2.2.2.min.js +%%DATADIR%%/web/lib/c3-0.4.11.min.js +%%DATADIR%%/web/lib/d3-3.5.17.min.js +%%DATADIR%%/web/lib/dygraph-combined-dd74404.js +%%DATADIR%%/web/lib/dygraph-smooth-plotter-dd74404.js +%%DATADIR%%/web/lib/gauge-d5260c3.min.js +%%DATADIR%%/web/lib/jquery-2.2.4.min.js +%%DATADIR%%/web/lib/jquery.easypiechart-97b5824.min.js +%%DATADIR%%/web/lib/jquery.peity-3.2.0.min.js +%%DATADIR%%/web/lib/jquery.sparkline-2.1.2.min.js +%%DATADIR%%/web/lib/morris-0.5.1.min.js +%%DATADIR%%/web/lib/perfect-scrollbar-0.6.15.min.js +%%DATADIR%%/web/lib/raphael-2.2.4-min.js +%%DATADIR%%/web/lib/tableExport-1.6.0.min.js +%%DATADIR%%/web/netdata-swagger.json +%%DATADIR%%/web/netdata-swagger.yaml +%%DATADIR%%/web/old/datasource.html +%%DATADIR%%/web/old/index.html +%%DATADIR%%/web/old/index.js +%%DATADIR%%/web/old/netdata.js +%%DATADIR%%/web/old/theme.css +%%DATADIR%%/web/registry.html +%%DATADIR%%/web/robots.txt +%%DATADIR%%/web/sitemap.xml +%%DATADIR%%/web/tv.html +%%DATADIR%%/web/version.txt +%%NETDATA_CACHE%%/.keep +%%NETDATA_PERST%%/.keep +%%NETDATA_PERST%%/registry/.keep +%%NETDATA_LOG%%/.keep +@mode +@owner +@group +@sample(netdata,netdata,0640) %%ETCDIR%%/netdata.conf.sample +@dir(netdata,netdata,0750) %%ETCDIR%% +@dir(netdata,netdata,0750) %%DATADIR%% +@dir(netdata,netdata,0750) %%DATADIR%%/web +@dir(netdata,netdata,0750) %%NETDATA_CACHE%% +@dir(netdata,netdata,0750) %%NETDATA_PERST%% +@dir(netdata,netdata,0750) %%NETDATA_PERST%%/registry +@dir(netdata,netdata,0750) %%NETDATA_LOG%% |