summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf')
-rw-r--r--src/go/collectors/go.d.plugin/config/go.d/sd/net_listeners.conf7
1 files changed, 7 insertions, 0 deletions
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