diff options
-rw-r--r-- | .gitignore | 11 | ||||
-rwxr-xr-x | CMakeLists.txt | 715 | ||||
-rw-r--r-- | configure.ac | 85 | ||||
-rw-r--r-- | plugins.d/Makefile.am | 4 | ||||
-rw-r--r-- | src/Makefile.am | 567 | ||||
-rw-r--r-- | src/api/Makefile.am | 4 | ||||
-rw-r--r-- | src/api/rrd2json.c (renamed from src/rrd2json.c) | 2 | ||||
-rw-r--r-- | src/api/rrd2json.h (renamed from src/rrd2json.h) | 2 | ||||
-rw-r--r-- | src/api/web_api_v1.c (renamed from src/web_api_v1.c) | 2 | ||||
-rw-r--r-- | src/api/web_api_v1.h (renamed from src/web_api_v1.h) | 4 | ||||
-rw-r--r-- | src/api/web_buffer_svg.c (renamed from src/web_buffer_svg.c) | 2 | ||||
-rw-r--r-- | src/api/web_buffer_svg.h (renamed from src/web_buffer_svg.h) | 2 | ||||
-rw-r--r-- | src/backends/Makefile.am | 11 | ||||
-rw-r--r-- | src/backends/backends.c (renamed from src/backends.c) | 323 | ||||
-rw-r--r-- | src/backends/backends.h (renamed from src/backends.h) | 12 | ||||
-rw-r--r-- | src/backends/graphite/Makefile.am | 4 | ||||
-rw-r--r-- | src/backends/graphite/graphite.c | 90 | ||||
-rw-r--r-- | src/backends/graphite/graphite.h | 35 | ||||
-rw-r--r-- | src/backends/json/Makefile.am | 4 | ||||
-rw-r--r-- | src/backends/json/json.c | 152 | ||||
-rw-r--r-- | src/backends/json/json.h | 34 | ||||
-rw-r--r-- | src/backends/opentsdb/Makefile.am | 4 | ||||
-rw-r--r-- | src/backends/opentsdb/opentsdb.c | 90 | ||||
-rw-r--r-- | src/backends/opentsdb/opentsdb.h | 35 | ||||
-rw-r--r-- | src/backends/prometheus/Makefile.am | 4 | ||||
-rw-r--r-- | src/backends/prometheus/backend_prometheus.c (renamed from src/backend_prometheus.c) | 2 | ||||
-rw-r--r-- | src/backends/prometheus/backend_prometheus.h (renamed from src/backend_prometheus.h) | 2 | ||||
-rw-r--r-- | src/common.c | 1617 | ||||
-rw-r--r-- | src/common.h | 444 | ||||
-rw-r--r-- | src/database/Makefile.am | 4 | ||||
-rw-r--r-- | src/database/rrd.c (renamed from src/rrd.c) | 2 | ||||
-rw-r--r-- | src/database/rrd.h (renamed from src/rrd.h) | 82 | ||||
-rw-r--r-- | src/database/rrdcalc.c (renamed from src/rrdcalc.c) | 2 | ||||
-rw-r--r-- | src/database/rrdcalc.h | 136 | ||||
-rw-r--r-- | src/database/rrdcalctemplate.c (renamed from src/rrdcalctemplate.c) | 2 | ||||
-rw-r--r-- | src/database/rrdcalctemplate.h | 68 | ||||
-rw-r--r-- | src/database/rrddim.c (renamed from src/rrddim.c) | 4 | ||||
-rw-r--r-- | src/database/rrddimvar.c (renamed from src/rrddimvar.c) | 2 | ||||
-rw-r--r-- | src/database/rrddimvar.h | 56 | ||||
-rw-r--r-- | src/database/rrdfamily.c (renamed from src/rrdfamily.c) | 4 | ||||
-rw-r--r-- | src/database/rrdhost.c (renamed from src/rrdhost.c) | 4 | ||||
-rw-r--r-- | src/database/rrdset.c (renamed from src/rrdset.c) | 4 | ||||
-rw-r--r-- | src/database/rrdsetvar.c (renamed from src/rrdsetvar.c) | 2 | ||||
-rw-r--r-- | src/database/rrdsetvar.h | 44 | ||||
-rw-r--r-- | src/database/rrdvar.c (renamed from src/rrdvar.c) | 2 | ||||
-rw-r--r-- | src/database/rrdvar.h | 64 | ||||
-rw-r--r-- | src/global_statistics.h | 2 | ||||
-rw-r--r-- | src/health.h | 451 | ||||
-rw-r--r-- | src/health/Makefile.am | 4 | ||||
-rw-r--r-- | src/health/health.c (renamed from src/health.c) | 2 | ||||
-rw-r--r-- | src/health/health.h | 76 | ||||
-rw-r--r-- | src/health/health_config.c (renamed from src/health_config.c) | 2 | ||||
-rw-r--r-- | src/health/health_json.c (renamed from src/health_json.c) | 2 | ||||
-rw-r--r-- | src/health/health_log.c (renamed from src/health_log.c) | 2 | ||||
-rw-r--r-- | src/ipc.h | 9 | ||||
-rw-r--r-- | src/libnetdata/Makefile.am | 5 | ||||
-rw-r--r-- | src/libnetdata/adaptive_resortable_list.c (renamed from src/adaptive_resortable_list.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/adaptive_resortable_list.h (renamed from src/adaptive_resortable_list.h) | 2 | ||||
-rw-r--r-- | src/libnetdata/appconfig.c (renamed from src/appconfig.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/appconfig.h (renamed from src/appconfig.h) | 4 | ||||
-rw-r--r-- | src/libnetdata/avl.c (renamed from src/avl.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/avl.h (renamed from src/avl.h) | 3 | ||||
-rw-r--r-- | src/libnetdata/clocks.c (renamed from src/clocks.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/clocks.h (renamed from src/clocks.h) | 2 | ||||
-rw-r--r-- | src/libnetdata/common.c | 1503 | ||||
-rw-r--r-- | src/libnetdata/dictionary.c (renamed from src/dictionary.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/dictionary.h (renamed from src/dictionary.h) | 4 | ||||
-rw-r--r-- | src/libnetdata/eval.c (renamed from src/eval.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/eval.h (renamed from src/eval.h) | 14 | ||||
-rw-r--r-- | src/libnetdata/inlined.h (renamed from src/inlined.h) | 4 | ||||
-rw-r--r-- | src/libnetdata/libnetdata.h | 309 | ||||
-rw-r--r-- | src/libnetdata/locks.c (renamed from src/locks.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/locks.h (renamed from src/locks.h) | 2 | ||||
-rw-r--r-- | src/libnetdata/log.c (renamed from src/log.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/log.h (renamed from src/log.h) | 4 | ||||
-rw-r--r-- | src/libnetdata/os.c | 218 | ||||
-rw-r--r-- | src/libnetdata/os.h | 70 | ||||
-rw-r--r-- | src/libnetdata/popen.c (renamed from src/popen.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/popen.h (renamed from src/popen.h) | 5 | ||||
-rw-r--r-- | src/libnetdata/procfile.c (renamed from src/procfile.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/procfile.h (renamed from src/procfile.h) | 3 | ||||
-rw-r--r-- | src/libnetdata/simple_pattern.c (renamed from src/simple_pattern.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/simple_pattern.h (renamed from src/simple_pattern.h) | 3 | ||||
-rw-r--r-- | src/libnetdata/socket.c (renamed from src/socket.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/socket.h (renamed from src/socket.h) | 2 | ||||
-rw-r--r-- | src/libnetdata/statistical.c (renamed from src/statistical.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/statistical.h (renamed from src/statistical.h) | 2 | ||||
-rw-r--r-- | src/libnetdata/storage_number.c (renamed from src/storage_number.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/storage_number.h (renamed from src/storage_number.h) | 2 | ||||
-rw-r--r-- | src/libnetdata/threads.c (renamed from src/threads.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/threads.h (renamed from src/threads.h) | 2 | ||||
-rw-r--r-- | src/libnetdata/url.c (renamed from src/url.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/url.h (renamed from src/url.h) | 2 | ||||
-rw-r--r-- | src/libnetdata/web_buffer.c (renamed from src/web_buffer.c) | 2 | ||||
-rw-r--r-- | src/libnetdata/web_buffer.h (renamed from src/web_buffer.h) | 2 | ||||
-rw-r--r-- | src/main.c | 62 | ||||
-rw-r--r-- | src/main.h | 2 | ||||
-rw-r--r-- | src/plugin_checks.h | 10 | ||||
-rw-r--r-- | src/plugin_freebsd.h | 132 | ||||
-rw-r--r-- | src/plugin_idlejitter.h | 8 | ||||
-rw-r--r-- | src/plugin_nfacct.h | 9 | ||||
-rw-r--r-- | src/plugin_proc_diskspace.h | 8 | ||||
-rw-r--r-- | src/plugin_tc.h | 9 | ||||
-rw-r--r-- | src/plugins/Makefile.am | 38 | ||||
-rw-r--r-- | src/plugins/all.h | 103 | ||||
-rw-r--r-- | src/plugins/apps.plugin/Makefile.am | 5 | ||||
-rw-r--r-- | src/plugins/apps.plugin/apps_plugin.c (renamed from src/apps_plugin.c) | 37 | ||||
-rw-r--r-- | src/plugins/checks.plugin/Makefile.am | 4 | ||||
-rw-r--r-- | src/plugins/checks.plugin/plugin_checks.c (renamed from src/plugin_checks.c) | 2 | ||||
-rw-r--r-- | src/plugins/checks.plugin/plugin_checks.h | 29 | ||||
-rw-r--r-- | src/plugins/freebsd.plugin/Makefile.am | 4 | ||||
-rw-r--r-- | src/plugins/freebsd.plugin/freebsd_devstat.c (renamed from src/freebsd_devstat.c) | 2 | ||||
-rw-r--r-- | src/plugins/freebsd.plugin/freebsd_getifaddrs.c (renamed from src/freebsd_getifaddrs.c) | 2 | ||||
-rw-r--r-- | src/plugins/freebsd.plugin/freebsd_getmntinfo.c (renamed from src/freebsd_getmntinfo.c) | 2 | ||||
-rw-r--r-- | src/plugins/freebsd.plugin/freebsd_ipfw.c (renamed from src/freebsd_ipfw.c) | 2 | ||||
-rw-r--r-- | src/plugins/freebsd.plugin/freebsd_kstat_zfs.c (renamed from src/freebsd_kstat_zfs.c) | 5 | ||||
-rw-r--r-- | src/plugins/freebsd.plugin/freebsd_sysctl.c (renamed from src/freebsd_sysctl.c) | 2 | ||||
-rw-r--r-- | src/plugins/freebsd.plugin/plugin_freebsd.c (renamed from src/plugin_freebsd.c) | 2 | ||||
-rw-r--r-- | src/plugins/freebsd.plugin/plugin_freebsd.h | 74 | ||||
-rw-r--r-- | src/plugins/idlejitter.plugin/Makefile.am | 4 | ||||
-rw-r--r-- | src/plugins/idlejitter.plugin/plugin_idlejitter.c (renamed from src/plugin_idlejitter.c) | 2 | ||||
-rw-r--r-- | src/plugins/idlejitter.plugin/plugin_idlejitter.h | 21 | ||||
-rw-r--r-- | src/plugins/linux-cgroups.plugin/Makefile.am | 28 | ||||
-rwxr-xr-x | src/plugins/linux-cgroups.plugin/cgroup-name.sh.in (renamed from plugins.d/cgroup-name.sh.in) | 0 | ||||
-rwxr-xr-x | src/plugins/linux-cgroups.plugin/cgroup-network-helper.sh (renamed from plugins.d/cgroup-network-helper.sh) | 0 | ||||
-rw-r--r-- | src/plugins/linux-cgroups.plugin/cgroup-network.c (renamed from src/cgroup-network.c) | 23 | ||||
-rw-r--r-- | src/plugins/linux-cgroups.plugin/sys_fs_cgroup.c (renamed from src/sys_fs_cgroup.c) | 2 | ||||
-rw-r--r-- | src/plugins/linux-cgroups.plugin/sys_fs_cgroup.h | 31 | ||||
-rw-r--r-- | src/plugins/linux-diskspace.plugin/Makefile.am | 4 | ||||
-rw-r--r-- | src/plugins/linux-diskspace.plugin/plugin_diskspace.c (renamed from src/plugin_proc_diskspace.c) | 4 |