From db6b4502884fafff57ef9d0c12de397c15528b79 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Tue, 7 Jan 2020 23:07:07 +0000 Subject: [PATCH] [nagios_client] check_procs needs to use ereg-argument-array to find the fedmsg-gateway-3 command on F31 systems --- roles/nagios_client/templates/check_fedmsg_gateway_proc.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nagios_client/templates/check_fedmsg_gateway_proc.cfg.j2 b/roles/nagios_client/templates/check_fedmsg_gateway_proc.cfg.j2 index fba83393ad..fbf798648c 100644 --- a/roles/nagios_client/templates/check_fedmsg_gateway_proc.cfg.j2 +++ b/roles/nagios_client/templates/check_fedmsg_gateway_proc.cfg.j2 @@ -1,5 +1,5 @@ {% if (( ansible_distribution_major_version == "8" ) and ( ansible_distribution == "RedHat" )) or ((ansible_distribution_major_version|int >= 30) and (ansible_distribution == "Fedora")) %} -command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway-3' -u fedmsg +command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 --ereg-argument-array='fedmsg-gateway-3' -u fedmsg {% else %} command[check_fedmsg_gateway_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -C 'fedmsg-gateway' -u fedmsg {% endif %}