Skip to content
Snippets Groups Projects
Commit b94758ca authored by Théo - Le Filament's avatar Théo - Le Filament
Browse files

fix(check_docker_odoo): nrpe command name

parent d8558fbe
No related branches found
No related tags found
No related merge requests found
...@@ -107,9 +107,9 @@ command[check_docker_cloud]=/usr/lib/nagios/custom-plugins/check_docker.sh --fil ...@@ -107,9 +107,9 @@ command[check_docker_cloud]=/usr/lib/nagios/custom-plugins/check_docker.sh --fil
{% if inventory_hostname in groups.docker_odoo | default([]) %} {% if inventory_hostname in groups.docker_odoo | default([]) %}
{% for name, values in odoo_instances.items() %} {% for name, values in odoo_instances.items() %}
{% if values.is_prod is defined and values.is_prod %} {% if values.is_prod is defined and values.is_prod %}
command[check_docker_odoo]=/usr/lib/nagios/custom-plugins/check_docker.sh --filter '^{{ name }}($|_.*)' --cpu 10:15 --memory 35:45 command[check_docker_{{ name }}]=/usr/lib/nagios/custom-plugins/check_docker.sh --filter '^{{ name }}($|_.*)' --cpu 10:15 --memory 35:45
{% else %} {% else %}
command[check_docker_odoo]=/usr/lib/nagios/custom-plugins/check_docker.sh --filter '^{{ name }}($|_.*)' --cpu 10:15 --memory 20:25 command[check_docker_{{ name }}]=/usr/lib/nagios/custom-plugins/check_docker.sh --filter '^{{ name }}($|_.*)' --cpu 10:15 --memory 20:25
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% if restrict_internet_access and whitelisted_urls is defined %} {% if restrict_internet_access and whitelisted_urls is defined %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment