[nagios_client] check_procs needs to use ereg-argument-array to find the fedmsg-gateway-3 command on F31 systems
This commit is contained in:
parent
baaedd371f
commit
db6b450288
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue