From b485aab7e71c1625cfc27e0f92c9509f42378458 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 13:19:16 +0200 Subject: Adding upstream version 1.45.3+dfsg. Signed-off-by: Daniel Baumann --- src/go/collectors/go.d.plugin/config/go.d.conf | 90 +++++ .../go.d.plugin/config/go.d/activemq.conf | 10 + .../collectors/go.d.plugin/config/go.d/apache.conf | 6 + .../collectors/go.d.plugin/config/go.d/bind.conf | 9 + .../go.d.plugin/config/go.d/cassandra.conf | 6 + .../collectors/go.d.plugin/config/go.d/chrony.conf | 6 + .../go.d.plugin/config/go.d/cockroachdb.conf | 6 + .../collectors/go.d.plugin/config/go.d/consul.conf | 7 + .../go.d.plugin/config/go.d/coredns.conf | 6 + .../go.d.plugin/config/go.d/couchbase.conf | 8 + .../go.d.plugin/config/go.d/couchdb.conf | 10 + .../go.d.plugin/config/go.d/dns_query.conf | 14 + .../go.d.plugin/config/go.d/dnsdist.conf | 8 + .../go.d.plugin/config/go.d/dnsmasq.conf | 7 + .../go.d.plugin/config/go.d/dnsmasq_dhcp.conf | 13 + .../collectors/go.d.plugin/config/go.d/docker.conf | 8 + .../go.d.plugin/config/go.d/docker_engine.conf | 6 + .../go.d.plugin/config/go.d/dockerhub.conf | 9 + .../go.d.plugin/config/go.d/elasticsearch.conf | 7 + .../collectors/go.d.plugin/config/go.d/envoy.conf | 6 + .../go.d.plugin/config/go.d/example.conf | 5 + .../go.d.plugin/config/go.d/filecheck.conf | 16 + .../go.d.plugin/config/go.d/fluentd.conf | 6 + .../go.d.plugin/config/go.d/freeradius.conf | 8 + .../collectors/go.d.plugin/config/go.d/geth.conf | 6 + .../go.d.plugin/config/go.d/haproxy.conf | 6 + .../collectors/go.d.plugin/config/go.d/hdfs.conf | 9 + .../go.d.plugin/config/go.d/httpcheck.conf | 12 + .../go.d.plugin/config/go.d/isc_dhcpd.conf | 23 ++ .../go.d.plugin/config/go.d/k8s_kubelet.conf | 5 + .../go.d.plugin/config/go.d/k8s_kubeproxy.conf | 5 + .../go.d.plugin/config/go.d/k8s_state.conf | 5 + .../go.d.plugin/config/go.d/lighttpd.conf | 6 + .../collectors/go.d.plugin/config/go.d/logind.conf | 5 + .../go.d.plugin/config/go.d/logstash.conf | 6 + .../go.d.plugin/config/go.d/mongodb.conf | 10 + .../collectors/go.d.plugin/config/go.d/mysql.conf | 12 + .../collectors/go.d.plugin/config/go.d/nginx.conf | 6 + .../go.d.plugin/config/go.d/nginxplus.conf | 6 + .../go.d.plugin/config/go.d/nginxvts.conf | 6 + .../collectors/go.d.plugin/config/go.d/ntpd.conf | 7 + .../go.d.plugin/config/go.d/nvidia_smi.conf | 6 + .../collectors/go.d.plugin/config/go.d/nvme.conf | 5 + .../go.d.plugin/config/go.d/openvpn.conf | 6 + .../config/go.d/openvpn_status_log.conf | 9 + .../go.d.plugin/config/go.d/pgbouncer.conf | 8 + .../go.d.plugin/config/go.d/phpdaemon.conf | 6 + .../collectors/go.d.plugin/config/go.d/phpfpm.conf | 6 + .../collectors/go.d.plugin/config/go.d/pihole.conf | 8 + .../collectors/go.d.plugin/config/go.d/pika.conf | 6 + .../collectors/go.d.plugin/config/go.d/ping.conf | 8 + .../go.d.plugin/config/go.d/portcheck.conf | 11 + .../go.d.plugin/config/go.d/postgres.conf | 10 + .../go.d.plugin/config/go.d/powerdns.conf | 8 + .../go.d.plugin/config/go.d/powerdns_recursor.conf | 6 + .../go.d.plugin/config/go.d/prometheus.conf | 6 + .../go.d.plugin/config/go.d/proxysql.conf | 6 + .../collectors/go.d.plugin/config/go.d/pulsar.conf | 7 + .../go.d.plugin/config/go.d/rabbitmq.conf | 9 + .../collectors/go.d.plugin/config/go.d/redis.conf | 12 + .../go.d.plugin/config/go.d/scaleio.conf | 13 + .../go.d.plugin/config/go.d/sd/docker.conf | 191 ++++++++++ .../go.d.plugin/config/go.d/sd/net_listeners.conf | 422 +++++++++++++++++++++ .../collectors/go.d.plugin/config/go.d/snmp.conf | 48 +++ .../go.d.plugin/config/go.d/squidlog.conf | 9 + .../go.d.plugin/config/go.d/supervisord.conf | 6 + .../go.d.plugin/config/go.d/systemdunits.conf | 16 + .../go.d.plugin/config/go.d/tengine.conf | 6 + .../go.d.plugin/config/go.d/traefik.conf | 6 + .../go.d.plugin/config/go.d/unbound.conf | 13 + .../collectors/go.d.plugin/config/go.d/upsd.conf | 6 + .../collectors/go.d.plugin/config/go.d/vcsa.conf | 8 + .../go.d.plugin/config/go.d/vernemq.conf | 6 + .../go.d.plugin/config/go.d/vsphere.conf | 13 + .../go.d.plugin/config/go.d/web_log.conf | 44 +++ .../go.d.plugin/config/go.d/whoisquery.conf | 6 + .../go.d.plugin/config/go.d/windows.conf | 8 + .../go.d.plugin/config/go.d/wireguard.conf | 5 + .../go.d.plugin/config/go.d/x509check.conf | 12 + .../go.d.plugin/config/go.d/zookeeper.conf | 6 + 80 files changed, 1399 insertions(+) create mode 100644 src/go/collectors/go.d.plugin/config/go.d.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/activemq.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/apache.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/bind.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/cassandra.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/chrony.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/cockroachdb.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/consul.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/coredns.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/couchbase.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/couchdb.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/dns_query.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/dnsdist.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/dnsmasq.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/dnsmasq_dhcp.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/docker.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/docker_engine.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/dockerhub.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/elasticsearch.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/envoy.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/example.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/filecheck.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/fluentd.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/freeradius.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/geth.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/haproxy.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/hdfs.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/httpcheck.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/isc_dhcpd.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/k8s_kubelet.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/k8s_kubeproxy.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/k8s_state.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/lighttpd.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/logind.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/logstash.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/mongodb.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/mysql.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/nginx.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/nginxplus.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/nginxvts.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/ntpd.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/nvidia_smi.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/nvme.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/openvpn.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/openvpn_status_log.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/pgbouncer.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/phpdaemon.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/phpfpm.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/pihole.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/pika.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/ping.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/portcheck.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/postgres.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/powerdns.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/powerdns_recursor.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/prometheus.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/proxysql.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/pulsar.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/rabbitmq.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/redis.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/scaleio.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/snmp.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/squidlog.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/supervisord.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/systemdunits.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/tengine.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/traefik.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/unbound.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/upsd.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/vcsa.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/vernemq.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/vsphere.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/web_log.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/whoisquery.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/windows.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/wireguard.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/x509check.conf create mode 100644 src/go/collectors/go.d.plugin/config/go.d/zookeeper.conf (limited to 'src/go/collectors/go.d.plugin/config') diff --git a/src/go/collectors/go.d.plugin/config/go.d.conf b/src/go/collectors/go.d.plugin/config/go.d.conf new file mode 100644 index 000000000..9f9d29e0f --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d.conf @@ -0,0 +1,90 @@ +# netdata go.d.plugin configuration +# +# This file is in YAML format. + +# Enable/disable the whole go.d.plugin. +enabled: yes + +# Enable/disable default value for all modules. +default_run: yes + +# Maximum number of used CPUs. Zero means no limit. +max_procs: 0 + +# Enable/disable specific g.d.plugin module +# If you want to change any value, you need to uncomment out it first. +# IMPORTANT: Do not remove all spaces, just remove # symbol. There should be a space before module name. +modules: +# activemq: yes +# apache: yes +# bind: yes +# chrony: yes +# cockroachdb: yes +# consul: yes +# coredns: yes +# couchbase: yes +# couchdb: yes +# dnsdist: yes +# dnsmasq: yes +# dnsmasq_dhcp: yes +# dns_query: yes +# docker: yes +# docker_engine: yes +# dockerhub: yes +# elasticsearch: yes +# envoy: yes +# example: no +# filecheck: yes +# fluentd: yes +# freeradius: yes +# haproxy: yes +# hdfs: yes +# httpcheck: yes +# isc_dhcpd: yes +# k8s_kubelet: yes +# k8s_kubeproxy: yes +# lighttpd: yes +# logind: yes +# logstash: yes +# mongodb: yes +# mysql: yes +# nginx: yes +# nginxplus: yes +# nginxvts: yes +# ntpd: yes +# nvme: yes +# nvidia_smi: no +# openvpn: no +# openvpn_status_log: yes +# ping: yes +# pgbouncer: yes +# phpdaemon: yes +# phpfpm: yes +# pihole: yes +# pika: yes +# portcheck: yes +# postgres: yes +# powerdns: yes +# powerdns_recursor: yes +# prometheus: yes +# pulsar: yes +# rabbitmq: yes +# redis: yes +# scaleio: yes +# snmp: yes +# squidlog: yes +# supervisord: yes +# systemdunits: yes +# tengine: yes +# traefik: yes +# upsd: yes +# unbound: yes +# vernemq: yes +# vcsa: yes +# vsphere: yes +# web_log: yes +# wireguard: yes +# whoisquery: yes +# windows: yes +# x509check: yes +# zookeeper: yes diff --git a/src/go/collectors/go.d.plugin/config/go.d/activemq.conf b/src/go/collectors/go.d.plugin/config/go.d/activemq.conf new file mode 100644 index 000000000..69d7ce143 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/activemq.conf @@ -0,0 +1,10 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/activemq#readme + +#jobs: +# - name: local +# url: http://localhost:8161 +# webadmin: admin +# - name: remote +# url: http://203.0.113.1:8161 +# webadmin: admin diff --git a/src/go/collectors/go.d.plugin/config/go.d/apache.conf b/src/go/collectors/go.d.plugin/config/go.d/apache.conf new file mode 100644 index 000000000..d52c1f67b --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/apache.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/apache#readme + +#jobs: +# - name: local +# url: http://localhost/server-status?auto diff --git a/src/go/collectors/go.d.plugin/config/go.d/bind.conf b/src/go/collectors/go.d.plugin/config/go.d/bind.conf new file mode 100644 index 000000000..4302013ce --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/bind.conf @@ -0,0 +1,9 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/bind#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:8653/json/v1 +# +# - name: local +# url: http://127.0.0.1:8653/xml/v3 diff --git a/src/go/collectors/go.d.plugin/config/go.d/cassandra.conf b/src/go/collectors/go.d.plugin/config/go.d/cassandra.conf new file mode 100644 index 000000000..84de0b1c3 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/cassandra.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/cassandra#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:7072/metrics diff --git a/src/go/collectors/go.d.plugin/config/go.d/chrony.conf b/src/go/collectors/go.d.plugin/config/go.d/chrony.conf new file mode 100644 index 000000000..69d9b1c33 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/chrony.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/chrony#readme + +#jobs: +# - name: local +# address: '127.0.0.1:323' diff --git a/src/go/collectors/go.d.plugin/config/go.d/cockroachdb.conf b/src/go/collectors/go.d.plugin/config/go.d/cockroachdb.conf new file mode 100644 index 000000000..83cc91a92 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/cockroachdb.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/cockroachdb#readme + +#jobs: +# - name: local +# url: http://localhost:8080/_status/vars diff --git a/src/go/collectors/go.d.plugin/config/go.d/consul.conf b/src/go/collectors/go.d.plugin/config/go.d/consul.conf new file mode 100644 index 000000000..60aea1232 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/consul.conf @@ -0,0 +1,7 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/consul#readme + +#jobs: +# - name: local +# url: http://localhost:8500 +# acl_token: "" diff --git a/src/go/collectors/go.d.plugin/config/go.d/coredns.conf b/src/go/collectors/go.d.plugin/config/go.d/coredns.conf new file mode 100644 index 000000000..3037b9db9 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/coredns.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/coredns#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:9153/metrics diff --git a/src/go/collectors/go.d.plugin/config/go.d/couchbase.conf b/src/go/collectors/go.d.plugin/config/go.d/couchbase.conf new file mode 100644 index 000000000..77ecf3f10 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/couchbase.conf @@ -0,0 +1,8 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/couchbase#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:8091 +# username: admin +# password: password diff --git a/src/go/collectors/go.d.plugin/config/go.d/couchdb.conf b/src/go/collectors/go.d.plugin/config/go.d/couchdb.conf new file mode 100644 index 000000000..8527f6b8c --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/couchdb.conf @@ -0,0 +1,10 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/couchdb#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:5984 +# node: node@host +# username: admin +# password: password +# databases: my-db diff --git a/src/go/collectors/go.d.plugin/config/go.d/dns_query.conf b/src/go/collectors/go.d.plugin/config/go.d/dns_query.conf new file mode 100644 index 000000000..3455cac6b --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/dns_query.conf @@ -0,0 +1,14 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/dnsquery#readme + +#jobs: +# - name: example +# record_types: +# - A +# domains: +# - google.com +# - github.com +# - reddit.com +# servers: +# - 8.8.8.8 +# - 8.8.4.4 diff --git a/src/go/collectors/go.d.plugin/config/go.d/dnsdist.conf b/src/go/collectors/go.d.plugin/config/go.d/dnsdist.conf new file mode 100644 index 000000000..6da0539cd --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/dnsdist.conf @@ -0,0 +1,8 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/dnsdist#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:8083 +# headers: +# X-API-Key: 'dnsdist-api-key' # static pre-shared authentication key for access to the REST API (api-key). diff --git a/src/go/collectors/go.d.plugin/config/go.d/dnsmasq.conf b/src/go/collectors/go.d.plugin/config/go.d/dnsmasq.conf new file mode 100644 index 000000000..47c94940d --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/dnsmasq.conf @@ -0,0 +1,7 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/dnsmasq#readme + +#jobs: +# - name: local +# protocol: udp +# address: '127.0.0.1:53' diff --git a/src/go/collectors/go.d.plugin/config/go.d/dnsmasq_dhcp.conf b/src/go/collectors/go.d.plugin/config/go.d/dnsmasq_dhcp.conf new file mode 100644 index 000000000..f3ca29fe7 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/dnsmasq_dhcp.conf @@ -0,0 +1,13 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/dnsmasq_dhcp#readme + +jobs: + - name: dnsmasq_dhcp + leases_path: /var/lib/misc/dnsmasq.leases + conf_path: /etc/dnsmasq.conf + conf_dir: /etc/dnsmasq.d + + - name: dnsmasq_dhcp + leases_path: /etc/pihole/dhcp.leases + conf_path: /etc/dnsmasq.conf + conf_dir: /etc/dnsmasq.d diff --git a/src/go/collectors/go.d.plugin/config/go.d/docker.conf b/src/go/collectors/go.d.plugin/config/go.d/docker.conf new file mode 100644 index 000000000..4701e2e8f --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/docker.conf @@ -0,0 +1,8 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/docker#readme + +jobs: + - name: local + address: 'unix:///var/run/docker.sock' + timeout: 2 + collect_container_size: no diff --git a/src/go/collectors/go.d.plugin/config/go.d/docker_engine.conf b/src/go/collectors/go.d.plugin/config/go.d/docker_engine.conf new file mode 100644 index 000000000..1a5de15ee --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/docker_engine.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/docker_engine#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:9323/metrics diff --git a/src/go/collectors/go.d.plugin/config/go.d/dockerhub.conf b/src/go/collectors/go.d.plugin/config/go.d/dockerhub.conf new file mode 100644 index 000000000..6d4ee5d6d --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/dockerhub.conf @@ -0,0 +1,9 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/dockerhub#readme + +#jobs: +# - name: dockerhub +# repositories: +# - user1/name1 +# - user2/name2 +# - user3/name3 diff --git a/src/go/collectors/go.d.plugin/config/go.d/elasticsearch.conf b/src/go/collectors/go.d.plugin/config/go.d/elasticsearch.conf new file mode 100644 index 000000000..b641d6c3f --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/elasticsearch.conf @@ -0,0 +1,7 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/elasticsearch#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:9200 +# cluster_mode: no diff --git a/src/go/collectors/go.d.plugin/config/go.d/envoy.conf b/src/go/collectors/go.d.plugin/config/go.d/envoy.conf new file mode 100644 index 000000000..b4a801cff --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/envoy.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/envoy#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:9901/stats/prometheus diff --git a/src/go/collectors/go.d.plugin/config/go.d/example.conf b/src/go/collectors/go.d.plugin/config/go.d/example.conf new file mode 100644 index 000000000..b99370922 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/example.conf @@ -0,0 +1,5 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/example#readme + +jobs: + - name: example diff --git a/src/go/collectors/go.d.plugin/config/go.d/filecheck.conf b/src/go/collectors/go.d.plugin/config/go.d/filecheck.conf new file mode 100644 index 000000000..16b9c2281 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/filecheck.conf @@ -0,0 +1,16 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/filecheck#readme + +#jobs: +# - name: files_example +# files: +# include: +# - '/path/to/file1' +# - '/path/to/file2' +# +# - name: dirs_example +# dirs: +# collect_dir_size: yes +# include: +# - '/path/to/dir1' +# - '/path/to/dir2' diff --git a/src/go/collectors/go.d.plugin/config/go.d/fluentd.conf b/src/go/collectors/go.d.plugin/config/go.d/fluentd.conf new file mode 100644 index 000000000..6a1507f17 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/fluentd.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/fluentd#readme + +#jobs: +# - name: local +# url: http://localhost:24220 diff --git a/src/go/collectors/go.d.plugin/config/go.d/freeradius.conf b/src/go/collectors/go.d.plugin/config/go.d/freeradius.conf new file mode 100644 index 000000000..67cda5cca --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/freeradius.conf @@ -0,0 +1,8 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/freeradius#readme + +#jobs: +# - name: local +# address: localhost +# port: 18121 +# secret: adminsecret diff --git a/src/go/collectors/go.d.plugin/config/go.d/geth.conf b/src/go/collectors/go.d.plugin/config/go.d/geth.conf new file mode 100644 index 000000000..1b5647439 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/geth.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/geth#readme + +#jobs: +# - name: local +# url: http://localhost:6060/debug/metrics/prometheus diff --git a/src/go/collectors/go.d.plugin/config/go.d/haproxy.conf b/src/go/collectors/go.d.plugin/config/go.d/haproxy.conf new file mode 100644 index 000000000..0802a8f02 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/haproxy.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/haproxy#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:8404/metrics diff --git a/src/go/collectors/go.d.plugin/config/go.d/hdfs.conf b/src/go/collectors/go.d.plugin/config/go.d/hdfs.conf new file mode 100644 index 000000000..2e3e24b6b --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/hdfs.conf @@ -0,0 +1,9 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/hdfs#readme + +#jobs: +# - name: namenode +# url: http://127.0.0.1:9870/jmx +# +# - name: datanode +# url: http://127.0.0.1:9864/jmx diff --git a/src/go/collectors/go.d.plugin/config/go.d/httpcheck.conf b/src/go/collectors/go.d.plugin/config/go.d/httpcheck.conf new file mode 100644 index 000000000..908433e05 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/httpcheck.conf @@ -0,0 +1,12 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/httpcheck#readme + +#jobs: +# - name: jira +# url: https://jira.localdomain/ +# +# - name: cool_website +# url: http://cool.website:8080/home +# status_accepted: [200, 204] +# response_match: My cool website!<\/title> +# timeout: 2 diff --git a/src/go/collectors/go.d.plugin/config/go.d/isc_dhcpd.conf b/src/go/collectors/go.d.plugin/config/go.d/isc_dhcpd.conf new file mode 100644 index 000000000..aef144308 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/isc_dhcpd.conf @@ -0,0 +1,23 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/isc_dhcpd#readme + +#jobs: +# - name: ipv4_example +# leases_path: '/path/to/dhcpd.leases_ipv4' +# pools: +# - name: office +# networks: '192.0.2.1-192.0.2.254' +# - name: wifi +# networks: '198.51.100.0/24' +# - name: dmz +# networks: '203.0.113.0/255.255.255.0' +# +# - name: ipv6_example +# leases_path: '/path/to/dhcpd.leases_ipv6' +# pools: +# - name: office +# networks: '2001:db8::/64' +# - name: wifi +# networks: '2001:db8:0:1::/64' +# - name: dmz +# networks: '2001:db8:0:2::/64' diff --git a/src/go/collectors/go.d.plugin/config/go.d/k8s_kubelet.conf b/src/go/collectors/go.d.plugin/config/go.d/k8s_kubelet.conf new file mode 100644 index 000000000..37a8ba6c0 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/k8s_kubelet.conf @@ -0,0 +1,5 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/k8s_kubelet#readme + +#jobs: +# - url: http://127.0.0.1:10255/metrics diff --git a/src/go/collectors/go.d.plugin/config/go.d/k8s_kubeproxy.conf b/src/go/collectors/go.d.plugin/config/go.d/k8s_kubeproxy.conf new file mode 100644 index 000000000..2563f7b6e --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/k8s_kubeproxy.conf @@ -0,0 +1,5 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/k8s_kubeproxy#readme + +#jobs: +# - url: http://127.0.0.1:10249/metrics diff --git a/src/go/collectors/go.d.plugin/config/go.d/k8s_state.conf b/src/go/collectors/go.d.plugin/config/go.d/k8s_state.conf new file mode 100644 index 000000000..3389d42bb --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/k8s_state.conf @@ -0,0 +1,5 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/k8s_state#readme + +jobs: + - name: k8s_state diff --git a/src/go/collectors/go.d.plugin/config/go.d/lighttpd.conf b/src/go/collectors/go.d.plugin/config/go.d/lighttpd.conf new file mode 100644 index 000000000..1a7c29bb1 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/lighttpd.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/lighttpd#readme + +#jobs: +# - name: local +# url: http://localhost/server-status?auto diff --git a/src/go/collectors/go.d.plugin/config/go.d/logind.conf b/src/go/collectors/go.d.plugin/config/go.d/logind.conf new file mode 100644 index 000000000..170c400b4 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/logind.conf @@ -0,0 +1,5 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/logind#readme + +jobs: + - name: logind diff --git a/src/go/collectors/go.d.plugin/config/go.d/logstash.conf b/src/go/collectors/go.d.plugin/config/go.d/logstash.conf new file mode 100644 index 000000000..f1586e6aa --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/logstash.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/logstash#readme + +#jobs: +# - name: local +# url: http://localhost:9600 diff --git a/src/go/collectors/go.d.plugin/config/go.d/mongodb.conf b/src/go/collectors/go.d.plugin/config/go.d/mongodb.conf new file mode 100644 index 000000000..874f8e82d --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/mongodb.conf @@ -0,0 +1,10 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/mongodb#readme + +#jobs: +# - name: local +# uri: 'mongodb://localhost:27017' +# timeout: 2 +# databases: +# include: +# - "* *" diff --git a/src/go/collectors/go.d.plugin/config/go.d/mysql.conf b/src/go/collectors/go.d.plugin/config/go.d/mysql.conf new file mode 100644 index 000000000..036d797e4 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/mysql.conf @@ -0,0 +1,12 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/mysql#readme + +#jobs: +# - name: local +# dsn: netdata@unix(/var/run/mysqld/mysql.sock)/ +# +# - name: local +# dsn: netdata@unix(/var/lib/mysql/mysql.sock)/ +# +# - name: local +# dsn: netdata@unix(/tmp/mysql.sock)/ diff --git a/src/go/collectors/go.d.plugin/config/go.d/nginx.conf b/src/go/collectors/go.d.plugin/config/go.d/nginx.conf new file mode 100644 index 000000000..2c9346b83 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/nginx.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/nginx#readme + +#jobs: +# - name: local +# url: http://127.0.0.1/basic_status diff --git a/src/go/collectors/go.d.plugin/config/go.d/nginxplus.conf b/src/go/collectors/go.d.plugin/config/go.d/nginxplus.conf new file mode 100644 index 000000000..d10141c84 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/nginxplus.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/nginxplus#readme + +#jobs: +# - name: local +# url: http://127.0.0.1 diff --git a/src/go/collectors/go.d.plugin/config/go.d/nginxvts.conf b/src/go/collectors/go.d.plugin/config/go.d/nginxvts.conf new file mode 100644 index 000000000..9b8dcde0a --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/nginxvts.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/nginxvts#readme + +#jobs: +# - name: local +# url: http://127.0.0.1/status/format/json diff --git a/src/go/collectors/go.d.plugin/config/go.d/ntpd.conf b/src/go/collectors/go.d.plugin/config/go.d/ntpd.conf new file mode 100644 index 000000000..c999fa2f9 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/ntpd.conf @@ -0,0 +1,7 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/ntpd#readme + +#jobs: +# - name: local +# address: '127.0.0.1:123' +# collect_peers: no diff --git a/src/go/collectors/go.d.plugin/config/go.d/nvidia_smi.conf b/src/go/collectors/go.d.plugin/config/go.d/nvidia_smi.conf new file mode 100644 index 000000000..e933dba46 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/nvidia_smi.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/nvidia_smi#readme + +jobs: + - name: nvidia_smi + use_csv_format: yes diff --git a/src/go/collectors/go.d.plugin/config/go.d/nvme.conf b/src/go/collectors/go.d.plugin/config/go.d/nvme.conf new file mode 100644 index 000000000..c419b6a0c --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/nvme.conf @@ -0,0 +1,5 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/nvme#readme + +jobs: + - name: nvme diff --git a/src/go/collectors/go.d.plugin/config/go.d/openvpn.conf b/src/go/collectors/go.d.plugin/config/go.d/openvpn.conf new file mode 100644 index 000000000..297244bfb --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/openvpn.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/openvpn#readme + +#jobs: +# - name: local +# address: 127.0.0.1:7505 diff --git a/src/go/collectors/go.d.plugin/config/go.d/openvpn_status_log.conf b/src/go/collectors/go.d.plugin/config/go.d/openvpn_status_log.conf new file mode 100644 index 000000000..47e723e0b --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/openvpn_status_log.conf @@ -0,0 +1,9 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/openvpn_status_log#readme + +jobs: + - name: local + log_path: '/var/log/openvpn/status.log' + #per_user_stats: + # includes: + # - "* *" diff --git a/src/go/collectors/go.d.plugin/config/go.d/pgbouncer.conf b/src/go/collectors/go.d.plugin/config/go.d/pgbouncer.conf new file mode 100644 index 000000000..de4f2dc94 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/pgbouncer.conf @@ -0,0 +1,8 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/pgbouncer#readme + +jobs: + - name: local + dsn: 'host=/tmp dbname=pgbouncer user=postgres port=6432' +# - name: local +# dsn: 'postgres://postgres:postgres@127.0.0.1:6432/pgbouncer' diff --git a/src/go/collectors/go.d.plugin/config/go.d/phpdaemon.conf b/src/go/collectors/go.d.plugin/config/go.d/phpdaemon.conf new file mode 100644 index 000000000..3663fc18a --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/phpdaemon.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/phpdaemon#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:8509/FullStatus diff --git a/src/go/collectors/go.d.plugin/config/go.d/phpfpm.conf b/src/go/collectors/go.d.plugin/config/go.d/phpfpm.conf new file mode 100644 index 000000000..476f9ab12 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/phpfpm.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/phpfpm#readme + +#jobs: +# - name: local +# url: http://localhost/status?full&json diff --git a/src/go/collectors/go.d.plugin/config/go.d/pihole.conf b/src/go/collectors/go.d.plugin/config/go.d/pihole.conf new file mode 100644 index 000000000..f92c39e87 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/pihole.conf @@ -0,0 +1,8 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/pihole#readme + +#jobs: +# - name: pihole +# url: http://127.0.0.1 +# - name: pihole +# url: http://pi.hole diff --git a/src/go/collectors/go.d.plugin/config/go.d/pika.conf b/src/go/collectors/go.d.plugin/config/go.d/pika.conf new file mode 100644 index 000000000..893b5520b --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/pika.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/pika#readme + +#jobs: +# - name: local +# address: 'redis://@127.0.0.1:9221' diff --git a/src/go/collectors/go.d.plugin/config/go.d/ping.conf b/src/go/collectors/go.d.plugin/config/go.d/ping.conf new file mode 100644 index 000000000..4e84d34ed --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/ping.conf @@ -0,0 +1,8 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/ping#readme + +#jobs: +# - name: example +# hosts: +# - 192.0.2.0 +# - 192.0.2.1 diff --git a/src/go/collectors/go.d.plugin/config/go.d/portcheck.conf b/src/go/collectors/go.d.plugin/config/go.d/portcheck.conf new file mode 100644 index 000000000..ffa794ffc --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/portcheck.conf @@ -0,0 +1,11 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/portcheck#readme + +#jobs: +# - name: job1 +# host: 10.0.0.1 +# ports: [23, 80, 8080] +# +# - name: job2 +# host: 10.0.0.2 +# ports: [22, 19999] diff --git a/src/go/collectors/go.d.plugin/config/go.d/postgres.conf b/src/go/collectors/go.d.plugin/config/go.d/postgres.conf new file mode 100644 index 000000000..b684b70e8 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/postgres.conf @@ -0,0 +1,10 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/postgres#readme + +#jobs: +# - name: local +# dsn: 'host=/var/run/postgresql dbname=postgres user=netdata' +# #collect_databases_matching: '*' +# +# - name: local +# dsn: 'postgresql://netdata@127.0.0.1:5432/postgres' diff --git a/src/go/collectors/go.d.plugin/config/go.d/powerdns.conf b/src/go/collectors/go.d.plugin/config/go.d/powerdns.conf new file mode 100644 index 000000000..ad449f8fa --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/powerdns.conf @@ -0,0 +1,8 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/powerdns#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:8081 +# headers: +# X-API-KEY: secret # static pre-shared authentication key for access to the REST API (api-key). diff --git a/src/go/collectors/go.d.plugin/config/go.d/powerdns_recursor.conf b/src/go/collectors/go.d.plugin/config/go.d/powerdns_recursor.conf new file mode 100644 index 000000000..73592fb4d --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/powerdns_recursor.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/powerdns_recursor#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:8081 diff --git a/src/go/collectors/go.d.plugin/config/go.d/prometheus.conf b/src/go/collectors/go.d.plugin/config/go.d/prometheus.conf new file mode 100644 index 000000000..4934e2f69 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/prometheus.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/prometheus#readme + +#jobs: +# - name: node_exporter_local +# url: 'http://127.0.0.1:9100/metrics' diff --git a/src/go/collectors/go.d.plugin/config/go.d/proxysql.conf b/src/go/collectors/go.d.plugin/config/go.d/proxysql.conf new file mode 100644 index 000000000..36687b243 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/proxysql.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/proxysql#readme + +#jobs: +# - name: local +# dsn: stats:stats@tcp(127.0.0.1:6032)/ diff --git a/src/go/collectors/go.d.plugin/config/go.d/pulsar.conf b/src/go/collectors/go.d.plugin/config/go.d/pulsar.conf new file mode 100644 index 000000000..607c966c3 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/pulsar.conf @@ -0,0 +1,7 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/pulsar#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:8080/metrics + diff --git a/src/go/collectors/go.d.plugin/config/go.d/rabbitmq.conf b/src/go/collectors/go.d.plugin/config/go.d/rabbitmq.conf new file mode 100644 index 000000000..44c5db882 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/rabbitmq.conf @@ -0,0 +1,9 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/rabbitmq#readme + +#jobs: +# - name: local +# url: http://localhost:15672 +# username: guest +# password: guest +# collect_queues_metrics: no diff --git a/src/go/collectors/go.d.plugin/config/go.d/redis.conf b/src/go/collectors/go.d.plugin/config/go.d/redis.conf new file mode 100644 index 000000000..f06742d6d --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/redis.conf @@ -0,0 +1,12 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/redis#readme + +jobs: + - name: local + address: 'unix://@/tmp/redis.sock' + + - name: local + address: 'unix://@/var/run/redis/redis.sock' + + - name: local + address: 'unix://@/var/lib/redis/redis.sock' diff --git a/src/go/collectors/go.d.plugin/config/go.d/scaleio.conf b/src/go/collectors/go.d.plugin/config/go.d/scaleio.conf new file mode 100644 index 000000000..d2f4d838b --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/scaleio.conf @@ -0,0 +1,13 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/scaleio#readme + +#jobs: +# - name : local +# url : https://127.0.0.1 +# username : admin +# password : password + +# - name : remote +# url : https://100.64.0.1 +# username : admin +# password : password diff --git a/src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf b/src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf new file mode 100644 index 000000000..b0f1a3aa9 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/sd/docker.conf @@ -0,0 +1,191 @@ +disabled: no + +name: 'docker' + +discover: + - discoverer: docker + docker: + tags: "unknown" + address: "unix:///var/run/docker.sock" + +classify: + - name: "Skip" + selector: "unknown" + tags: "skip" + match: + - tags: "skip" + expr: | + {{ $netNOK := eq .NetworkMode "host" -}} + {{ $protoNOK := not (eq .PortProtocol "tcp") -}} + {{ $portNOK := empty .PrivatePort -}} + {{ $addrNOK := or (empty .IPAddress) (glob .PublicPortIP "*:*") -}} + {{ or $netNOK $protoNOK $portNOK $addrNOK }} + - name: "Applications" + selector: "!skip unknown" + tags: "-unknown app" + match: + - tags: "apache" + expr: '{{ match "sp" .Image "httpd httpd:* */apache */apache:* */apache2 */apache2:*" }}' + - tags: "cockroachdb" + expr: '{{ match "sp" .Image "cockroachdb/cockroach cockroachdb/cockroach:*" }}' + - tags: "consul" + expr: '{{ match "sp" .Image "consul consul:* */consul */consul:*" }}' + - tags: "coredns" + expr: '{{ match "sp" .Image "*/coredns */coredns:*" }}' + - tags: "couchbase" + expr: '{{ or (eq .PrivatePort "8091") (match "sp" .Image "couchbase couchbase:*") }}' + - tags: "couchdb" + expr: '{{ or (eq .PrivatePort "5984") (match "sp" .Image "couchdb couchdb:*") }}' + - tags: "elasticsearch" + expr: '{{ or (eq .PrivatePort "9200") (match "sp" .Image "elasticsearch elasticsearch:* */elasticsearch */elasticsearch:* */opensearch */opensearch:*") }}' + - tags: "lighttpd" + expr: '{{ match "sp" .Image "*/lighttpd */lighttpd:*" }}' + - tags: "mongodb" + expr: '{{ or (eq .PrivatePort "27017") (match "sp" .Image "mongo mongo:* */mongodb */mongodb:* */mongodb-community-server */mongodb-community-server:*") }}' + - tags: "mysql" + expr: '{{ or (eq .PrivatePort "3306") (match "sp" .Image "mysql mysql:* */mysql */mysql:* mariadb mariadb:* */mariadb */mariadb:* percona percona:* */percona-mysql */percona-mysql:*") }}' + - tags: "nginx" + expr: '{{ match "sp" .Image "nginx nginx:*" }}' + - tags: "pgbouncer" + expr: '{{ or (eq .PrivatePort "6432") (match "sp" .Image "*/pgbouncer */pgbouncer:*") }}' + - tags: "pika" + expr: '{{ match "sp" .Image "pikadb/pika pikadb/pika:*" }}' + - tags: "postgres" + expr: '{{ or (eq .PrivatePort "5432") (match "sp" .Image "postgres postgres:* */postgres */postgres:* */postgresql */postgresql:*") }}' + - tags: "proxysql" + expr: '{{ or (eq .PrivatePort "6032") (match "sp" .Image "*/proxysql */proxysql:*") }}' + - tags: "rabbitmq" + expr: '{{ or (eq .PrivatePort "15672") (match "sp" .Image "rabbitmq rabbitmq:* */rabbitmq */rabbitmq:*") }}' + - tags: "redis" + expr: '{{ or (eq .PrivatePort "6379") (match "sp" .Image "redis redis:* */redis */redis:*") }}' + - tags: "tengine" + expr: '{{ match "sp" .Image "*/tengine */tengine:*" }}' + - tags: "vernemq" + expr: '{{ match "sp" .Image "*/vernemq */vernemq:*" }}' + - tags: "zookeeper" + expr: '{{ or (eq .PrivatePort "2181") (match "sp" .Image "*/zookeeper */zookeeper:*") }}' +compose: + - name: "Applications" + selector: "app" + config: + - selector: "apache" + template: | + module: apache + name: docker_{{.Name}} + url: http://{{.Address}}/server-status?auto + - selector: "cockroachdb" + template: | + module: cockroachdb + name: docker_{{.Name}} + url: http://{{.Address}}/_status/vars + - selector: "consul" + template: | + module: consul + name: docker_{{.Name}} + url: http://{{.Address}} + - selector: "coredns" + template: | + module: coredns + name: docker_{{.Name}} + url: http://{{.Address}}/metrics + - selector: "coredns" + template: | + module: coredns + name: docker_{{.Name}} + url: http://{{.Address}}/metrics + - selector: "couchbase" + template: | + module: couchbase + name: docker_{{.Name}} + url: http://{{.Address}} + - selector: "couchdb" + template: | + module: couchdb + name: docker_{{.Name}} + url: http://{{.Address}} + - selector: "elasticsearch" + template: | + module: elasticsearch + name: docker_{{.Name}} + {{ if glob .Image "*elastic*" -}} + url: http://{{.Address}} + {{ else -}} + url: https://{{.Address}} + tls_skip_verify: yes + username: admin + password: admin + {{ end -}} + - selector: "lighttpd" + template: | + module: lighttpd + name: docker_{{.Name}} + url: http://{{.Address}}/server-status?auto + - selector: "mongodb" + template: | + module: mongodb + name: docker_{{.Name}} + uri: mongodb://{{.Address}} + - selector: "mysql" + template: | + module: mysql + name: docker_{{.Name}} + dsn: netdata@tcp({{.Address}})/ + - selector: "nginx" + template: | + - module: nginx + name: docker_{{.Name}} + url: http://{{.Address}}/stub_status + - module: nginx + name: docker_{{.Name}} + url: http://{{.Address}}/basic_status + - module: nginx + name: docker_{{.Name}} + url: http://{{.Address}}/nginx_status + - module: nginx + name: docker_{{.Name}} + url: http://{{.Address}}/status + - selector: "pgbouncer" + template: | + module: pgbouncer + name: docker_{{.Name}} + dsn: postgres://netdata:postgres@{{.Address}}/pgbouncer + - selector: "pika" + template: | + module: pika + name: docker_{{.Name}} + address: redis://@{{.Address}} + - selector: "postgres" + template: | + module: postgres + name: docker_{{.Name}} + dsn: postgres://netdata:postgres@{{.Address}}/postgres + - selector: "proxysql" + template: | + module: proxysql + name: docker_{{.Name}} + dsn: stats:stats@tcp({{.Address}})/ + - selector: "rabbitmq" + template: | + module: rabbitmq + name: docker_{{.Name}} + url: http://{{.Address}} + - selector: "redis" + template: | + module: redis + name: docker_{{.Name}} + address: redis://@{{.Address}} + - selector: "tengine" + template: | + module: tengine + name: docker_{{.Name}} + url: http://{{.Address}}/us + - selector: "vernemq" + template: | + module: vernemq + name: docker_{{.Name}} + url: http://{{.Address}}/metrics + - selector: "zookeeper" + template: | + module: vernemq + name: docker_{{.Name}} + address: {{.Address}} diff --git a/src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf b/src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf new file mode 100644 index 000000000..68d2d76d7 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf @@ -0,0 +1,422 @@ +disabled: no + +name: 'network listeners' + +discover: + - discoverer: net_listeners + net_listeners: + tags: "unknown" + +classify: + - name: "Applications" + selector: "unknown" + tags: "-unknown app" + match: + - tags: "activemq" + expr: '{{ and (eq .Port "8161") (eq .Comm "activemq") }}' + - tags: "apache" + expr: '{{ and (eq .Port "80" "8080") (eq .Comm "apache" "apache2" "httpd") }}' + - tags: "bind" + expr: '{{ and (eq .Port "8653") (eq .Comm "bind" "named") }}' + - tags: "cassandra" + expr: '{{ and (eq .Port "7072") (glob .Cmdline "*cassandra*") }}' + - tags: "chrony" + expr: '{{ and (eq .Port "323") (eq .Comm "chronyd") }}' + - tags: "cockroachdb" + expr: '{{ and (eq .Port "8080") (eq .Comm "cockroach") }}' + - tags: "consul" + expr: '{{ and (eq .Port "8500") (eq .Comm "consul") }}' + - tags: "coredns" + expr: '{{ and (eq .Port "9153") (eq .Comm "coredns") }}' + - tags: "couchbase" + expr: '{{ or (eq .Port "8091") (glob .Cmdline "*couchbase*") }}' + - tags: "couchdb" + expr: '{{ or (eq .Port "5984") (glob .Cmdline "*couchdb*") }}' + - tags: "dnsdist" + expr: '{{ and (eq .Port "8083") (eq .Comm "dnsdist") }}' + - tags: "dnsmasq" + expr: '{{ and (eq .Protocol "UDP") (eq .Port "53") (eq .Comm "dnsmasq") }}' + - tags: "docker_engine" + expr: '{{ and (eq .Port "9323") (eq .Comm "dockerd") }}' + - tags: "elasticsearch" + expr: '{{ or (eq .Port "9200") (glob .Cmdline "*elasticsearch*" "*opensearch*") }}' + - tags: "envoy" + expr: '{{ and (eq .Port "9901") (eq .Comm "envoy") }}' + - tags: "fluentd" + expr: '{{ and (eq .Port "24220") (glob .Cmdline "*fluentd*") }}' + - tags: "freeradius" + expr: '{{ and (eq .Port "18121") (eq .Comm "freeradius") }}' + - tags: "geth" + expr: '{{ and (eq .Port "6060") (eq .Comm "geth") }}' + - tags: "haproxy" + expr: '{{ and (eq .Port "8404") (eq .Comm "haproxy") }}' + - tags: "hdfs_namenode" + expr: '{{ and (eq .Port "9870") (eq .Comm "hadoop") }}' + - tags: "hdfs_datanode" + expr: '{{ and (eq .Port "9864") (eq .Comm "hadoop") }}' + - tags: "kubelet" + expr: '{{ and (eq .Port "10250" "10255") (eq .Comm "kubelet") }}' + - tags: "kubeproxy" + expr: '{{ and (eq .Port "10249") (eq .Comm "kube-proxy") }}' + - tags: "lighttpd" + expr: '{{ and (eq .Port "80" "8080") (eq .Comm "lighttpd") }}' + - tags: "logstash" + expr: '{{ and (eq .Port "9600") (glob .Cmdline "*logstash*") }}' + - tags: "mongodb" + expr: '{{ or (eq .Port "27017") (eq .Comm "mongod") }}' + - tags: "mysql" + expr: '{{ or (eq .Port "3306") (eq .Comm "mysqld" "mariadbd") }}' + - tags: "nginx" + expr: '{{ and (eq .Port "80" "8080") (eq .Comm "nginx" "nginx:") }}' + - tags: "ntpd" + expr: '{{ or (eq .Port "123") (eq .Comm "ntpd") }}' + - tags: "openvpn" + expr: '{{ and (eq .Port "7505") (eq .Comm "openvpn") }}' + - tags: "pgbouncer" + expr: '{{ or (eq .Port "6432") (eq .Comm "pgbouncer") }}' + - tags: "pihole" + expr: '{{ and (eq .Port "53") (eq .Comm "pihole-FTL") }}' + - tags: "pika" + expr: '{{ and (eq .Port "9221") (eq .Comm "pika") }}' + - tags: "postgres" + expr: '{{ or (eq .Port "5432") (eq .Comm "postgres") }}' + - tags: "powerdns" + expr: '{{ and (eq .Port "8081") (eq .Comm "pdns_server") }}' + - tags: "powerdns_recursor" + expr: '{{ and (eq .Port "8081") (eq .Comm "pdns_recursor") }}' + - tags: "proxysql" + expr: '{{ or (eq .Port "6032") (eq .Comm "proxysql") }}' + - tags: "rabbitmq" + expr: '{{ or (eq .Port "15672") (glob .Cmdline "*rabbitmq*") }}' + - tags: "redis" + expr: '{{ or (eq .Port "6379") (eq .Comm "redis-server") }}' + - tags: "supervisord" + expr: '{{ and (eq .Port "9001") (eq .Comm "supervisord") }}' + - tags: "traefik" + expr: '{{ and (eq .Port "80" "8080") (eq .Comm "traefik") }}' + - tags: "unbound" + expr: '{{ and (eq .Port "8953") (eq .Comm "unbound") }}' + - tags: "upsd" + expr: '{{ or (eq .Port "3493") (eq .Comm "upsd") }}' + - tags: "vernemq" + expr: '{{ and (eq .Port "8888") (glob .Cmdline "*vernemq*") }}' + - tags: "zookeeper" + expr: '{{ or (eq .Port "2181" "2182") (glob .Cmdline "*zookeeper*") }}' + - name: "Prometheus exporters" + selector: "unknown" + tags: "-unknown exporter" + match: + - tags: "exporter" + expr: '{{ and (not (empty (promPort .Port))) (not (eq .Comm "docker-proxy")) }}' +compose: + - name: "Applications" + selector: "app" + config: + - selector: "activemq" + template: | + module: activemq + name: local + url: http://{{.Address}} + webadmin: admin + - selector: "apache" + template: | + module: apache + name: local + url: http://{{.Address}}/server-status?auto + - selector: "bind" + template: | + module: bind + name: local + url: http://{{.Address}}/json/v1 + - selector: "cassandra" + template: | + module: cassandra + name: local + url: http://{{.Address}}/metrics + - selector: "chrony" + template: | + module: chrony + name: local + address: {{.Address}} + - selector: "cockroachdb" + template: | + module: cockroachdb + name: local + url: http://{{.Address}}/_status/vars + - selector: "consul" + template: | + module: consul + name: local + url: http://{{.Address}} + - selector: "coredns" + template: | + module: coredns + name: local + url: http://{{.Address}}/metrics + - selector: "couchbase" + template: | + module: couchbase + name: local + url: http://{{.Address}} + - selector: "couchdb" + template: | + module: couchdb + name: local + url: http://{{.Address}} + node: '_local' + - selector: "dnsdist" + template: | + module: dnsdist + name: local + url: http://{{.Address}} + headers: + X-API-Key: 'dnsdist-api-key' + - selector: "dnsmasq" + template: | + module: dnsmasq + name: local + protocol: udp + address: {{.Address}} + - selector: "docker_engine" + template: | + module: docker_engine + name: local + url: http://{{.Address}}/metrics + - selector: "elasticsearch" + template: | + module: elasticsearch + name: local + {{ if glob .Cmdline "*elastic*" -}} + url: http://{{.Address}} + {{ else -}} + url: https://{{.Address}} + tls_skip_verify: yes + username: admin + password: admin + {{ end -}} + - selector: "envoy" + template: | + module: envoy + name: local + url: http://{{.Address}}/stats/prometheus + - selector: "envoy" + template: | + module: envoy + name: local + url: http://{{.Address}}/stats/prometheus + - selector: "fluentd" + template: | + module: fluentd + name: local + url: http://{{.Address}} + - selector: "freeradius" + template: | + module: freeradius + name: local + address: {{.IPAddress}} + port: {{.Port}} + secret: adminsecret + - selector: "geth" + template: | + module: geth + name: local + url: http://{{.Address}}/debug/metrics/prometheus + - selector: "haproxy" + template: | + module: haproxy + name: local + url: http://{{.Address}}/metrics + - selector: "hdfs_namenode" + template: | + module: hdfs + name: namenode_local + url: http://{{.Address}}/jmx + - selector: "hdfs_datanode" + template: | + module: hdfs + name: datanode_local + url: http://{{.Address}}/jmx + - selector: "kubelet" + template: | + module: k8s_kubelet + name: local + {{- if eq .Port "10255" }} + url: http://{{.Address}}/metrics + {{- else }} + url: https://{{.Address}}/metrics + tls_skip_verify: yes + {{- end }} + - selector: "kubeproxy" + template: | + module: k8s_kubeproxy + name: local + url: http://{{.Address}}/metrics + - selector: "lighttpd" + template: | + module: lighttpd + name: local + url: http://{{.Address}}/server-status?auto + - selector: "logstash" + template: | + module: logstash + name: local + url: http://{{.Address}} + - selector: "mongodb" + template: | + module: mongodb + name: local + uri: mongodb://{{.Address}} + - selector: "mysql" + template: | + - module: mysql + name: local + dsn: netdata@unix(/var/run/mysqld/mysqld.sock)/ + - module: mysql + name: local + dsn: netdata@tcp({{.Address}})/ + - selector: "nginx" + template: | + - module: nginx + name: local + url: http://{{.Address}}/stub_status + - module: nginx + name: local + url: http://{{.Address}}/basic_status + - module: nginx + name: local + url: http://{{.Address}}/nginx_status + - module: nginx + name: local + url: http://{{.Address}}/status + - selector: "ntpd" + template: | + module: ntpd + name: local + address: {{.Address}} + collect_peers: no + - selector: "openvpn" + template: | + module: openvpn + name: local + address: {{.Address}} + - selector: "pgbouncer" + template: | + module: pgbouncer + name: local + dsn: postgres://netdata:postgres@{{.Address}}/pgbouncer + - selector: "pihole" + template: | + module: pihole + name: local + url: http://{{.Address}} + - selector: "pika" + template: | + module: pika + name: local + address: redis://@{{.IPAddress}}:{{.Port}} + - selector: "postgres" + template: | + - module: postgres + name: local + dsn: 'host=/var/run/postgresql dbname=postgres user=postgres' + - module: postgres + name: local + dsn: 'host=/var/run/postgresql dbname=postgres user=netdata' + - module: postgres + name: local + dsn: postgresql://netdata@{{.Address}}/postgres + - selector: "powerdns" + template: | + module: powerdns + name: local + url: http://{{.Address}} + headers: + X-API-KEY: secret + - selector: "powerdns_recursor" + template: | + module: powerdns_recursor + name: local + url: http://{{.Address}} + headers: + X-API-KEY: secret + - selector: "proxysql" + template: | + module: proxysql + name: local + dsn: stats:stats@tcp({{.Address}})/ + - selector: "rabbitmq" + template: | + module: rabbitmq + name: local + url: http://{{.Address}} + username: guest + password: guest + collect_queues_metrics: no + - selector: "redis" + template: | + module: redis + name: local + address: redis://@{{.Address}} + - selector: "supervisord" + template: | + module: supervisord + name: local + url: http://{{.Address}}/RPC2 + - selector: "traefik" + template: | + module: traefik + name: local + url: http://{{.Address}}/metrics + - selector: "traefik" + template: | + module: traefik + name: local + url: http://{{.Address}}/metrics + - selector: "unbound" + template: | + module: unbound + name: local + address: {{.Address}} + - selector: "upsd" + template: | + module: upsd + name: local + address: {{.Address}} + - selector: "vernemq" + template: | + module: vernemq + name: local + url: http://{{.Address}}/metrics + - selector: "zookeeper" + template: | + module: zookeeper + name: local + address: {{.Address}} + + - name: "Prometheus exporters generic" + selector: "exporter" + config: + - selector: "exporter" + template: | + {{ $name := promPort .Port -}} + module: prometheus + name: {{$name}}_local + url: http://{{.Address}}/metrics + {{ if eq $name "caddy" -}} + expected_prefix: 'caddy_' + {{ else if eq $name "openethereum" -}} + expected_prefix: 'blockchaincache_' + {{ else if eq $name "crowdsec" -}} + expected_prefix: 'cs_' + {{ else if eq $name "netbox" -}} + expected_prefix: 'django_' + {{ else if eq $name "traefik" -}} + expected_prefix: 'traefik_' + {{ else if eq $name "pushgateway" -}} + expected_prefix: 'pushgateway_' + selector: + allow: + - pushgateway_* + {{ else if eq $name "wireguard_exporter" -}} + expected_prefix: 'wireguard_exporter' + {{ end -}} diff --git a/src/go/collectors/go.d.plugin/config/go.d/snmp.conf b/src/go/collectors/go.d.plugin/config/go.d/snmp.conf new file mode 100644 index 000000000..32a4addb2 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/snmp.conf @@ -0,0 +1,48 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/snmp#readme + +#jobs: +# - name: switch +# update_every: 10 +# hostname: "192.0.2.1" +# community: public +# options: +# version: 2 +# user: +# name: "username" +# level: "authPriv" +# auth_proto: "sha256" +# auth_key: "auth_protocol_passphrase" +# priv_proto: "aes256" +# priv_key: "priv_protocol_passphrase" +# charts: +# - id: "bandwidth_port1" +# title: "Switch Bandwidth for port 1" +# units: "kilobits/s" +# type: "area" +# family: "ports" +# dimensions: +# - name: "in" +# oid: "1.3.6.1.2.1.2.2.1.10.1" +# algorithm: "incremental" +# multiplier: 8 +# divisor: 1000 +# - name: "out" +# oid: "1.3.6.1.2.1.2.2.1.16.1" +# multiplier: -8 +# divisor: 1000 +# - id: "bandwidth_port2" +# title: "Switch Bandwidth for port 2" +# units: "kilobits/s" +# type: "area" +# family: "ports" +# dimensions: +# - name: "in" +# oid: "1.3.6.1.2.1.2.2.1.10.2" +# algorithm: "incremental" +# multiplier: 8 +# divisor: 1000 +# - name: "out" +# oid: "1.3.6.1.2.1.2.2.1.16.2" +# multiplier: -8 +# divisor: 1000 diff --git a/src/go/collectors/go.d.plugin/config/go.d/squidlog.conf b/src/go/collectors/go.d.plugin/config/go.d/squidlog.conf new file mode 100644 index 000000000..a008feabf --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/squidlog.conf @@ -0,0 +1,9 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/squidlog#readme + +jobs: + - name: squidlog + path: /var/log/squid/access.log + + - name: squidlog + path: /var/log/squid3/access.log diff --git a/src/go/collectors/go.d.plugin/config/go.d/supervisord.conf b/src/go/collectors/go.d.plugin/config/go.d/supervisord.conf new file mode 100644 index 000000000..3031e5059 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/supervisord.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/supervisord#readme + +#jobs: +# - name: local +# url: 'http://127.0.0.1:9001/RPC2' diff --git a/src/go/collectors/go.d.plugin/config/go.d/systemdunits.conf b/src/go/collectors/go.d.plugin/config/go.d/systemdunits.conf new file mode 100644 index 000000000..5c94fc00f --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/systemdunits.conf @@ -0,0 +1,16 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/systemdunits#readme + +jobs: + - name: service-units + include: + - '*.service' + +# - name: my-specific-service-unit +# include: +# - 'my-specific.service' +# + +# - name: socket-units +# include: +# - '*.socket' diff --git a/src/go/collectors/go.d.plugin/config/go.d/tengine.conf b/src/go/collectors/go.d.plugin/config/go.d/tengine.conf new file mode 100644 index 000000000..186d55c6c --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/tengine.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/tengine#readme + +#jobs: +# - name: local +# url: http://localhost/us diff --git a/src/go/collectors/go.d.plugin/config/go.d/traefik.conf b/src/go/collectors/go.d.plugin/config/go.d/traefik.conf new file mode 100644 index 000000000..69f5bb53e --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/traefik.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/traefik#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:8082/metrics diff --git a/src/go/collectors/go.d.plugin/config/go.d/unbound.conf b/src/go/collectors/go.d.plugin/config/go.d/unbound.conf new file mode 100644 index 000000000..e6497c23c --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/unbound.conf @@ -0,0 +1,13 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/unbound#readme + +#jobs: +# - name: local +# address: 127.0.0.1:8953 +# timeout: 1 +# conf_path: /etc/unbound/unbound.conf +# cumulative_stats: no +# use_tls: yes +# tls_skip_verify: yes +# tls_cert: /etc/unbound/unbound_control.pem +# tls_key: /etc/unbound/unbound_control.key diff --git a/src/go/collectors/go.d.plugin/config/go.d/upsd.conf b/src/go/collectors/go.d.plugin/config/go.d/upsd.conf new file mode 100644 index 000000000..5abc3f405 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/upsd.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/upsd#readme + +#jobs: +# - name: upsd +# address: 127.0.0.1:3493 diff --git a/src/go/collectors/go.d.plugin/config/go.d/vcsa.conf b/src/go/collectors/go.d.plugin/config/go.d/vcsa.conf new file mode 100644 index 000000000..84749fbd5 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/vcsa.conf @@ -0,0 +1,8 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/vcsa#readme + +#jobs: +# - name : vcsa1 +# url : https://203.0.113.0 +# username : admin@vsphere.local +# password : password diff --git a/src/go/collectors/go.d.plugin/config/go.d/vernemq.conf b/src/go/collectors/go.d.plugin/config/go.d/vernemq.conf new file mode 100644 index 000000000..24717a828 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/vernemq.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/vernemq#readme + +#jobs: +# - name: local +# url: http://127.0.0.1:8888/metrics diff --git a/src/go/collectors/go.d.plugin/config/go.d/vsphere.conf b/src/go/collectors/go.d.plugin/config/go.d/vsphere.conf new file mode 100644 index 000000000..a83c27833 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/vsphere.conf @@ -0,0 +1,13 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/vsphere#readme + +#jobs: +# - name : vcenter1 +# url : https://203.0.113.0 +# username : admin@vsphere.local +# password : password +# +# - name : vcenter2 +# url : https://203.0.113.10 +# username : admin@vsphere.local +# password : password diff --git a/src/go/collectors/go.d.plugin/config/go.d/web_log.conf b/src/go/collectors/go.d.plugin/config/go.d/web_log.conf new file mode 100644 index 000000000..496878851 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/web_log.conf @@ -0,0 +1,44 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/web_log#readme + +jobs: + # NGINX + # debian, arch + - name: nginx + path: /var/log/nginx/access.log + + # gentoo + - name: nginx + path: /var/log/nginx/localhost.access_log + + # APACHE + # debian + - name: apache + path: /var/log/apache2/access.log + + # gentoo + - name: apache + path: /var/log/apache2/access_log + + # arch + - name: apache + path: /var/log/httpd/access_log + + # debian + - name: apache_vhosts + path: /var/log/apache2/other_vhosts_access.log + + # GUNICORN + - name: gunicorn + path: /var/log/gunicorn/access.log + + - name: gunicorn + path: /var/log/gunicorn/gunicorn-access.log + + # IIS + # This configuration assumes you are running netdata on WSL + - name: iis + path: /mnt/c/inetpub/logs/LogFiles/W3SVC1/u_ex*.log + log_type: csv + csv_config: + format: '- - $host $request_method $request_uri - $server_port - $remote_addr - - $status - - $request_time' diff --git a/src/go/collectors/go.d.plugin/config/go.d/whoisquery.conf b/src/go/collectors/go.d.plugin/config/go.d/whoisquery.conf new file mode 100644 index 000000000..57c031bc0 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/whoisquery.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/whoisquery#readme + +#jobs: +# - name: example +# source: example.org diff --git a/src/go/collectors/go.d.plugin/config/go.d/windows.conf b/src/go/collectors/go.d.plugin/config/go.d/windows.conf new file mode 100644 index 000000000..73d4b062c --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/windows.conf @@ -0,0 +1,8 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/windows#readme + +#jobs: +# - name: win_server1 +# url: http://10.0.0.1:9182/metrics +# - name: win_server2 +# url: http://10.0.0.2:9182/metrics diff --git a/src/go/collectors/go.d.plugin/config/go.d/wireguard.conf b/src/go/collectors/go.d.plugin/config/go.d/wireguard.conf new file mode 100644 index 000000000..225de4d6c --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/wireguard.conf @@ -0,0 +1,5 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/wireguard#readme + +jobs: + - name: wireguard diff --git a/src/go/collectors/go.d.plugin/config/go.d/x509check.conf b/src/go/collectors/go.d.plugin/config/go.d/x509check.conf new file mode 100644 index 000000000..d01417478 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/x509check.conf @@ -0,0 +1,12 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/x509check#readme + +#jobs: +# - name: my_site_cert +# source: https://my_site.org:443 +# +# - name: my_file_cert +# source: file:///home/me/cert.pem +# +# - name: my_smtp_cert +# source: smtp://smtp.my_mail.org:587 diff --git a/src/go/collectors/go.d.plugin/config/go.d/zookeeper.conf b/src/go/collectors/go.d.plugin/config/go.d/zookeeper.conf new file mode 100644 index 000000000..e6ed50525 --- /dev/null +++ b/src/go/collectors/go.d.plugin/config/go.d/zookeeper.conf @@ -0,0 +1,6 @@ +## All available configuration options, their descriptions and default values: +## https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/modules/zookeeper#readme + +#jobs: +# - name: local +# address: 127.0.0.1:2181 -- cgit v1.2.3