From e1ca1c4f9963e7e8aed09e16459eae377ca53e9c Mon Sep 17 00:00:00 2001 From: Sanjay Kumar Srikakulam Date: Tue, 4 Jun 2024 09:01:47 +0000 Subject: [PATCH 1/2] Add galaxy tool-usage gxadmin query to telegraf to monitor the tool usage --- group_vars/maintenance.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/group_vars/maintenance.yml b/group_vars/maintenance.yml index 5af348d71..c1d033be3 100644 --- a/group_vars/maintenance.yml +++ b/group_vars/maintenance.yml @@ -221,6 +221,13 @@ telegraf_plugins_extra: - timeout = "15s" - data_format = "influx" - interval = "1m" + galaxy_tool_usage: + plugin: "exec" + config: + - commands = ["{{ custom_telegraf_env }} /usr/bin/gxadmin iquery tool-usage"] + - timeout = "360s" + - data_format = "influx" + - interval = "12h" galaxy_job_queue_states_stats: plugin: "exec" config: From 952d37981003732545d183630f9f7c8c5557b3e5 Mon Sep 17 00:00:00 2001 From: Sanjay Kumar Srikakulam Date: Tue, 4 Jun 2024 12:55:28 +0000 Subject: [PATCH 2/2] update interval to 24h --- group_vars/maintenance.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group_vars/maintenance.yml b/group_vars/maintenance.yml index c1d033be3..539abcada 100644 --- a/group_vars/maintenance.yml +++ b/group_vars/maintenance.yml @@ -227,7 +227,7 @@ telegraf_plugins_extra: - commands = ["{{ custom_telegraf_env }} /usr/bin/gxadmin iquery tool-usage"] - timeout = "360s" - data_format = "influx" - - interval = "12h" + - interval = "24h" galaxy_job_queue_states_stats: plugin: "exec" config: