From cd23530fd4319e0e90abd385603fa162de30f65f Mon Sep 17 00:00:00 2001 From: Kerri Wait <kerri.wait@monash.edu> Date: Tue, 6 Oct 2020 10:55:35 +1100 Subject: [PATCH] Clean up telegraf.conf.j2 to get rid of karaage and mlx artefacts --- roles/telegraf/templates/telegraf.conf.j2 | 45 ----------------------- 1 file changed, 45 deletions(-) diff --git a/roles/telegraf/templates/telegraf.conf.j2 b/roles/telegraf/templates/telegraf.conf.j2 index 73338ecc..78a8d520 100644 --- a/roles/telegraf/templates/telegraf.conf.j2 +++ b/roles/telegraf/templates/telegraf.conf.j2 @@ -180,51 +180,6 @@ influxdb_database="slurm" {% endif %} -## Read mlx hardware counters -#{% if 'hw_counters' in ansible_local %} -#{% for interface in ansible_local['hw_counters'] %} -#[[inputs.multifile]] -# name_override = 'infiniband' -# base_dir = '/sys/class/infiniband' -# interval = '60s' -# -# [[inputs.multifile.tags]] -# device = '{{ interface }}' -# port = '1' -# type = 'hw_counters' -# -# {% for counter in ansible_local['hw_counters'][interface] | sort %} -#[[inputs.multifile.file]] -# file = '{{ interface }}/ports/1/hw_counters/{{ counter }}' -# conversion = 'int' -# -# {% endfor %} -#{% endfor %} -#{% endif %} - - -{% if 'Karaage' in group_names %} -[[inputs.apache]] - interval = "60s" - # An array of URLs to gather from, must be directed at the machine - # readable version of the mod_status page including the auto query string. - # Default is "http://localhost/server-status?auto". - urls = ["http://localhost/server-status?auto"] - - # Credentials for basic HTTP authentication. - # username = "myuser" - # password = "mypassword" - - # Maximum time to receive response. - response_timeout = "5s" - - # Optional TLS Config - # tls_ca = "/etc/telegraf/ca.pem" - # tls_cert = "/etc/telegraf/cert.pem" - # tls_key = "/etc/telegraf/key.pem" - # Use TLS but skip chain & host verification - # insecure_skip_verify = false -{% endif %} ############################################################################### # SERVICE INPUTS # ############################################################################### -- GitLab