]> git.openstreetmap.org Git - chef.git/commitdiff
Disable some unused collectors in the junos exporter
authorTom Hughes <tom@compton.nu>
Fri, 4 Aug 2023 21:50:11 +0000 (22:50 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 4 Aug 2023 21:50:11 +0000 (22:50 +0100)
cookbooks/prometheus/recipes/default.rb

index 0c4bc59da61575abcd2ec1c01c2e1fbd6145c949..df3ec2ea5fe3499f4918f0324a232b950aa2b409 100644 (file)
@@ -124,7 +124,10 @@ unless node[:prometheus][:junos].empty?
       --ssh.user=prometheus
       --ssh.keyfile=/var/lib/prometheus/junos-exporter/id_rsa
       --ssh.targets=#{targets}
+      --bgp.enabled=false
       --lacp.enabled=true
+      --ldp.enabled=false
+      --ospf.enabled=false
       --power.enabled=false
     ]
     ssh true