summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/collectors/go.d.plugin/config')
-rw-r--r--src/go/collectors/go.d.plugin/config/go.d.conf1
-rw-r--r--src/go/collectors/go.d.plugin/config/go.d/hddtemp.conf6
-rw-r--r--src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf7
3 files changed, 14 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/config/go.d.conf b/src/go/collectors/go.d.plugin/config/go.d.conf
index ab3a5aca74..9fe91db5d9 100644
--- a/src/go/collectors/go.d.plugin/config/go.d.conf
+++ b/src/go/collectors/go.d.plugin/config/go.d.conf
@@ -39,6 +39,7 @@ modules:
# fluentd: yes
# freeradius: yes
# haproxy: yes
+# hddtemp: yes
# hdfs: yes
# httpcheck: yes
# intelgpu: yes
diff --git a/src/go/collectors/go.d.plugin/config/go.d/hddtemp.conf b/src/go/collectors/go.d.plugin/config/go.d/hddtemp.conf
new file mode 100644
index 0000000000..a2ea8452d3
--- /dev/null
+++ b/src/go/collectors/go.d.plugin/config/go.d/hddtemp.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/hddtemp#readme
+
+#jobs:
+# - name: local
+# address: 127.0.0.1:7634
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
index 1c240ce5b6..6c2e22c71c 100644
--- 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
@@ -50,6 +50,8 @@ classify:
expr: '{{ and (eq .Port "6060") (eq .Comm "geth") }}'
- tags: "haproxy"
expr: '{{ and (eq .Port "8404") (eq .Comm "haproxy") }}'
+ - tags: "hddtemp"
+ expr: '{{ and (eq .Port "7634") (eq .Comm "hddtemp") }}'
- tags: "hdfs_namenode"
expr: '{{ and (eq .Port "9870") (eq .Comm "hadoop") }}'
- tags: "hdfs_datanode"
@@ -226,6 +228,11 @@ compose:
module: haproxy
name: local
url: http://{{.Address}}/metrics
+ - selector: "hddtemp"
+ template: |
+ module: hddtemp
+ name: local
+ address: {{.Address}}
- selector: "hdfs_namenode"
template: |
module: hdfs