summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.codacy.yml18
-rw-r--r--.codeclimate.yml17
-rw-r--r--.gitignore38
-rw-r--r--.lgtm.yml18
-rwxr-xr-xCMakeLists.txt358
-rw-r--r--Makefile.am379
-rw-r--r--backends/Makefile.am19
-rw-r--r--backends/README.md137
-rw-r--r--backends/backends.c659
-rw-r--r--backends/backends.h50
-rw-r--r--backends/graphite/Makefile.am4
-rw-r--r--backends/graphite/graphite.c (renamed from src/backends/graphite/graphite.c)0
-rw-r--r--backends/graphite/graphite.h35
-rw-r--r--backends/json/Makefile.am4
-rw-r--r--backends/json/json.c (renamed from src/backends/json/json.c)0
-rw-r--r--backends/json/json.h34
-rwxr-xr-xbackends/nc-backend.sh158
-rw-r--r--backends/opentsdb/Makefile.am4
-rw-r--r--backends/opentsdb/opentsdb.c (renamed from src/backends/opentsdb/opentsdb.c)0
-rw-r--r--backends/opentsdb/opentsdb.h35
-rw-r--r--backends/prometheus/Makefile.am8
-rw-r--r--backends/prometheus/README.md376
-rw-r--r--backends/prometheus/backend_prometheus.c (renamed from src/backends/prometheus/backend_prometheus.c)0
-rw-r--r--backends/prometheus/backend_prometheus.h20
-rw-r--r--charts.d/Makefile.am32
-rw-r--r--charts.d/README.md344
-rw-r--r--collectors/Makefile.am28
-rw-r--r--collectors/README.md118
-rw-r--r--collectors/all.h318
-rw-r--r--collectors/apps.plugin/Makefile.am13
-rw-r--r--collectors/apps.plugin/README.md103
-rw-r--r--collectors/apps.plugin/apps_groups.conf (renamed from conf.d/apps_groups.conf)0
-rw-r--r--collectors/apps.plugin/apps_plugin.c (renamed from src/plugins/apps.plugin/apps_plugin.c)0
-rw-r--r--collectors/cgroups.plugin/Makefile.am20
-rwxr-xr-xcollectors/cgroups.plugin/cgroup-name.sh.in (renamed from src/plugins/linux-cgroups.plugin/cgroup-name.sh.in)0
-rwxr-xr-xcollectors/cgroups.plugin/cgroup-network-helper.sh (renamed from src/plugins/linux-cgroups.plugin/cgroup-network-helper.sh)0
-rw-r--r--collectors/cgroups.plugin/cgroup-network.c682
-rw-r--r--collectors/cgroups.plugin/sys_fs_cgroup.c (renamed from src/plugins/linux-cgroups.plugin/sys_fs_cgroup.c)0
-rw-r--r--collectors/cgroups.plugin/sys_fs_cgroup.h31
-rw-r--r--collectors/charts.d.plugin/Makefile.am94
-rw-r--r--collectors/charts.d.plugin/README.md193
-rw-r--r--collectors/charts.d.plugin/ap/README.md86
-rw-r--r--collectors/charts.d.plugin/ap/ap.chart.sh (renamed from charts.d/ap.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/ap/ap.conf (renamed from conf.d/charts.d/ap.conf)0
-rw-r--r--collectors/charts.d.plugin/apache/README.md2
-rw-r--r--collectors/charts.d.plugin/apache/apache.chart.sh (renamed from charts.d/apache.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/apache/apache.conf (renamed from conf.d/charts.d/apache.conf)0
-rw-r--r--collectors/charts.d.plugin/apcupsd/README.md (renamed from python.d/python_modules/__init__.py)0
-rw-r--r--collectors/charts.d.plugin/apcupsd/apcupsd.chart.sh (renamed from charts.d/apcupsd.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/apcupsd/apcupsd.conf (renamed from conf.d/charts.d/apcupsd.conf)0
-rw-r--r--collectors/charts.d.plugin/charts.d.conf (renamed from conf.d/charts.d.conf)0
-rwxr-xr-xcollectors/charts.d.plugin/charts.d.dryrun-helper.sh (renamed from plugins.d/charts.d.dryrun-helper.sh)0
-rwxr-xr-xcollectors/charts.d.plugin/charts.d.plugin.in (renamed from plugins.d/charts.d.plugin.in)0
-rw-r--r--collectors/charts.d.plugin/cpu_apps/README.md2
-rw-r--r--collectors/charts.d.plugin/cpu_apps/cpu_apps.chart.sh (renamed from charts.d/cpu_apps.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/cpu_apps/cpu_apps.conf (renamed from conf.d/charts.d/cpu_apps.conf)0
-rw-r--r--collectors/charts.d.plugin/cpufreq/README.md2
-rw-r--r--collectors/charts.d.plugin/cpufreq/cpufreq.chart.sh (renamed from charts.d/cpufreq.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/cpufreq/cpufreq.conf (renamed from conf.d/charts.d/cpufreq.conf)0
-rw-r--r--collectors/charts.d.plugin/example/README.md2
-rw-r--r--collectors/charts.d.plugin/example/example.chart.sh (renamed from charts.d/example.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/example/example.conf (renamed from conf.d/charts.d/example.conf)0
-rw-r--r--collectors/charts.d.plugin/exim/README.md2
-rw-r--r--collectors/charts.d.plugin/exim/exim.chart.sh (renamed from charts.d/exim.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/exim/exim.conf (renamed from conf.d/charts.d/exim.conf)0
-rw-r--r--collectors/charts.d.plugin/hddtemp/README.md28
-rw-r--r--collectors/charts.d.plugin/hddtemp/hddtemp.chart.sh (renamed from charts.d/hddtemp.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/hddtemp/hddtemp.conf (renamed from conf.d/charts.d/hddtemp.conf)0
-rw-r--r--collectors/charts.d.plugin/libreswan/README.md42
-rw-r--r--collectors/charts.d.plugin/libreswan/libreswan.chart.sh (renamed from charts.d/libreswan.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/libreswan/libreswan.conf (renamed from conf.d/charts.d/libreswan.conf)0
-rw-r--r--collectors/charts.d.plugin/load_average/README.md2
-rw-r--r--collectors/charts.d.plugin/load_average/load_average.chart.sh (renamed from charts.d/load_average.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/load_average/load_average.conf (renamed from conf.d/charts.d/load_average.conf)0
-rw-r--r--collectors/charts.d.plugin/loopsleepms.sh.inc (renamed from plugins.d/loopsleepms.sh.inc)0
-rw-r--r--collectors/charts.d.plugin/mem_apps/README.md2
-rw-r--r--collectors/charts.d.plugin/mem_apps/mem_apps.chart.sh (renamed from charts.d/mem_apps.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/mem_apps/mem_apps.conf (renamed from conf.d/charts.d/mem_apps.conf)0
-rw-r--r--collectors/charts.d.plugin/mysql/README.md81
-rw-r--r--collectors/charts.d.plugin/mysql/mysql.chart.sh (renamed from charts.d/mysql.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/mysql/mysql.conf (renamed from conf.d/charts.d/mysql.conf)0
-rw-r--r--collectors/charts.d.plugin/nginx/README.md2
-rw-r--r--collectors/charts.d.plugin/nginx/nginx.chart.sh (renamed from charts.d/nginx.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/nginx/nginx.conf (renamed from conf.d/charts.d/nginx.conf)0
-rw-r--r--collectors/charts.d.plugin/nut/README.md59
-rw-r--r--collectors/charts.d.plugin/nut/nut.chart.sh (renamed from charts.d/nut.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/nut/nut.conf (renamed from conf.d/charts.d/nut.conf)0
-rw-r--r--collectors/charts.d.plugin/opensips/README.md (renamed from python.d/python_modules/bases/FrameworkServices/__init__.py)0
-rw-r--r--collectors/charts.d.plugin/opensips/opensips.chart.sh (renamed from charts.d/opensips.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/opensips/opensips.conf (renamed from conf.d/charts.d/opensips.conf)0
-rw-r--r--collectors/charts.d.plugin/phpfpm/README.md2
-rw-r--r--collectors/charts.d.plugin/phpfpm/phpfpm.chart.sh (renamed from charts.d/phpfpm.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/phpfpm/phpfpm.conf (renamed from conf.d/charts.d/phpfpm.conf)0
-rw-r--r--collectors/charts.d.plugin/postfix/README.md26
-rw-r--r--collectors/charts.d.plugin/postfix/postfix.chart.sh (renamed from charts.d/postfix.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/postfix/postfix.conf (renamed from conf.d/charts.d/postfix.conf)0
-rw-r--r--collectors/charts.d.plugin/sensors/README.md52
-rw-r--r--collectors/charts.d.plugin/sensors/sensors.chart.sh (renamed from charts.d/sensors.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/sensors/sensors.conf (renamed from conf.d/charts.d/sensors.conf)0
-rw-r--r--collectors/charts.d.plugin/squid/README.md66
-rw-r--r--collectors/charts.d.plugin/squid/squid.chart.sh (renamed from charts.d/squid.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/squid/squid.conf (renamed from conf.d/charts.d/squid.conf)0
-rw-r--r--collectors/charts.d.plugin/tomcat/README.md2
-rw-r--r--collectors/charts.d.plugin/tomcat/tomcat.chart.sh (renamed from charts.d/tomcat.chart.sh)0
-rw-r--r--collectors/charts.d.plugin/tomcat/tomcat.conf (renamed from conf.d/charts.d/tomcat.conf)0
-rw-r--r--collectors/checks.plugin/Makefile.am4
-rw-r--r--collectors/checks.plugin/plugin_checks.c (renamed from src/plugins/checks.plugin/plugin_checks.c)0
-rw-r--r--collectors/checks.plugin/plugin_checks.h29
-rw-r--r--collectors/diskspace.plugin/Makefile.am8
-rw-r--r--collectors/diskspace.plugin/README.md5
-rw-r--r--collectors/diskspace.plugin/plugin_diskspace.c (renamed from src/plugins/linux-diskspace.plugin/plugin_diskspace.c)0
-rw-r--r--collectors/diskspace.plugin/plugin_diskspace.h34
-rw-r--r--collectors/fping.plugin/Makefile.am24
-rw-r--r--collectors/fping.plugin/README.md103
-rw-r--r--collectors/fping.plugin/fping.conf (renamed from conf.d/fping.conf)0
-rwxr-xr-xcollectors/fping.plugin/fping.plugin.in (renamed from plugins.d/fping.plugin.in)0
-rw-r--r--collectors/freebsd.plugin/Makefile.am5
-rw-r--r--collectors/freebsd.plugin/freebsd_devstat.c (renamed from src/plugins/freebsd.plugin/freebsd_devstat.c)0
-rw-r--r--collectors/freebsd.plugin/freebsd_getifaddrs.c (renamed from src/plugins/freebsd.plugin/freebsd_getifaddrs.c)0
-rw-r--r--collectors/freebsd.plugin/freebsd_getmntinfo.c (renamed from src/plugins/freebsd.plugin/freebsd_getmntinfo.c)0
-rw-r--r--collectors/freebsd.plugin/freebsd_ipfw.c (renamed from src/plugins/freebsd.plugin/freebsd_ipfw.c)0
-rw-r--r--collectors/freebsd.plugin/freebsd_kstat_zfs.c (renamed from src/plugins/freebsd.plugin/freebsd_kstat_zfs.c)0
-rw-r--r--collectors/freebsd.plugin/freebsd_sysct