Skip to content

Commit 765c204

Browse files
authored
Merge pull request #478 from npawelek/TURTLES-713
TURTLES-713 Properly configure agent.plugin timeout value
2 parents 82f4c25 + e52ec9b commit 765c204

File tree

83 files changed

+102
-14
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+102
-14
lines changed

playbooks/files/rax-maas/plugins/swift-recon.py

+3
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,9 @@ def make_parser():
432432
parser.add_argument('--swift-recon-path',
433433
default='/usr/local/bin',
434434
help='The path for the swift-recon directory.')
435+
parser.add_argument('-t',
436+
default='30',
437+
help='Set a timeout value in seconds for swift-recon.')
435438
return parser
436439

437440

playbooks/templates/rax-maas/ceph_cluster_stats.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ disabled : "{{ (inventory_hostname != groups['mons'][0] or check_name | match
1616
details :
1717
file : run_plugin_in_venv.sh
1818
args : {{ ceph_args }}
19+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1920
alarms :
2021
ceph_health_err :
2122
label : ceph_health_err--{{ inventory_hostname }}

playbooks/templates/rax-maas/ceph_mon_stats.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ disabled : "{{ (inventory_hostname != groups['mons'][0] or check_name | match
1616
details :
1717
file : run_plugin_in_venv.sh
1818
args : {{ ceph_args }}
19+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1920
alarms :
2021
mon_in_err :
2122
label : mon_in_err--{{ inventory_hostname }}

playbooks/templates/rax-maas/ceph_osd_stats.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
1717
details :
1818
file : run_plugin_in_venv.sh
1919
args : {{ ceph_args }}
20+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
2021
alarms :
2122
{% for osd_id in ceph_osd_list %}
2223
ceph_warn_osd.{{ osd_id }} :

playbooks/templates/rax-maas/ceph_rgw_stats.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ disabled : "{{ (inventory_hostname != groups['rgws'][0] or check_name | match
1313
details :
1414
file : run_plugin_in_venv.sh
1515
args : {{ ceph_args }}
16+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1617
alarms :
1718
ceph_rgw_status :
1819
label : ceph_rgw_status.{{ inventory_hostname }}

playbooks/templates/rax-maas/cinder_api_local_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/cinder_api_local_check.py", "{{ ansible_host }}", "--protocol", "{{ cinder_local_api_protocol }}", "--port", "{{ cinder_local_api_port }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
cinder_api_local_status :
1314
label : cinder_api_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/cinder_backup_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (not maas_monitor_cinder_backup | bool or check_name | match(m
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/cinder_service_check.py", "--host", "{{ ansible_nodename }}", "--protocol", "{{ cinder_client_protocol }}", "{{ internal_vip_address }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
cinder_backup_status :
1314
label : cinder_backup_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/cinder_scheduler_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/cinder_service_check.py", "--host", "{{ ansible_nodename }}", "--protocol", "{{ cinder_client_protocol }}", "{{ internal_vip_address }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
cinder_scheduler_status :
1314
label : cinder_scheduler_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/cinder_vg_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/vg_check.py", "{{ cinder_backends[item.key]['volume_group'] }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
cinder_vg_space_status :
1314
label : cinder_vg_space_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/cinder_volume_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/cinder_service_check.py", "--host", "{{ ansible_nodename }}", "--protocol", "{{ cinder_client_protocol }}", "{{ internal_vip_address }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
cinder_volume_{{ item.key }}_status :
1314
label : cinder_volume_{{ item.key }}_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/conntrack_count.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/conntrack_count.py"{% if inventory_hostname in groups['neutron_agents_container'] | default([]) %}, "--container", "{{ inventory_hostname }}" {% endif %}]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
conntrack_count_status :
1314
label : conntrack_count_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/container_storage_checks.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/container_storage_check.py", "--thresh", "{{ maas_percent_used_critical_threshold }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
container_storage_percent_used_critical:
1314
label : container_storage_percent_used--{{ inventory_hostname }}

playbooks/templates/rax-maas/designate_api_local_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/designate_api_local_check.py", "http", "{{ ansible_host }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
designate_api_local_status :
1314
label : "designate_api_local_status--{{ inventory_hostname }}"

playbooks/templates/rax-maas/designate_mdns_local_check.yaml.j2

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/designate_mdns_local_check.py", "{{ ansible_host }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
designate_local_status :
1314
label : "designate_local_status--{{ inventory_hostname }}"
@@ -17,4 +18,4 @@ alarms :
1718
:set consecutiveCount={{ maas_alarm_local_consecutive_count }}
1819
if (metric["designate_mdns_local_status"] != 1) {
1920
return new AlarmStatus(CRITICAL, "designate mdns unavailable");
20-
}
21+
}

playbooks/templates/rax-maas/designate_process_check.yaml.j2

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/process_check_{% if inventory_hostname in groups['all_containers'] | default([]) %}container.py", "-c", "{{ inventory_hostname }}", "{% else %}host.py", "{% endif %}{{ designate_process_names|join("\", \"") }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
{% for process in designate_process_names_sanitized %}
1314
{{ process }}_process_status:
@@ -19,4 +20,4 @@ alarms :
1920
if (metric["{{ process }}_process_status"] != 1 ) {
2021
return new AlarmStatus(CRITICAL, "designate process {{ process }} not running on {{ inventory_hostname }}");
2122
}
22-
{% endfor %}
23+
{% endfor %}

playbooks/templates/rax-maas/disk_utilisation.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/disk_utilisation.py"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
{% for device in maas_disk_util_devices %}
1314
percentage_disk_utilisation_{{ device }}:

playbooks/templates/rax-maas/elasticsearch_process_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/process_check_{% if inventory_hostname in groups['all_containers'] | default([]) %}container.py", "-c", "{{ inventory_hostname }}", "{% else %}host.py", "{% endif %}{{ elasticsearch_process_names|join("\", \"") }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
{% for process in elasticsearch_process_names %}
1314
{{ process }}_process_status:

playbooks/templates/rax-maas/filebeat_process_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/process_check_{% if inventory_hostname in groups['all_containers'] | default([]) %}container.py", "-c", "{{ inventory_hostname }}", "{% else %}host.py", "{% endif %}{{ filebeat_process_names|join("\", \"") }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
{% for process in filebeat_process_names %}
1314
{{ process }}_process_status:

playbooks/templates/rax-maas/galera_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (inventory_hostname != groups['galera_all'][0] or check_name |
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/galera_check.py", "-H", "{{ ansible_host }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
wsrep_cluster_size :
1314
label : wsrep_cluster_size--{{ inventory_hostname }}

playbooks/templates/rax-maas/glance_api_local_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/glance_api_local_check.py", "{{ ansible_host }}","--protocol", "{{ glance_local_api_protocol }}", "--port", "{{ glance_local_api_port }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
glance_api_local_status :
1314
label : glance_api_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/glance_registry_local_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/glance_registry_local_check.py", "{{ ansible_host }}", "--protocol", "{{ glance_local_reg_api_protocol }}", "--port", "{{ glance_local_reg_api_port }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
glance_registry_local_status :
1314
label : glance_registry_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/heat_api_local_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/heat_api_local_check.py", "{{ ansible_host }}", "--protocol", "{{ heat_local_api_protocol}}", "--port", "{{ heat_local_api_port }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
heat_api_local_status :
1314
label : heat_api_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/heat_cfn_api_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "heat_cfn", "{{ ansible_host }}", "8000"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
heat_cfn_api_local_status :
1314
label : heat_cfn_api_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/heat_cw_api_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "heat_cw", "{{ ansible_host }}", "8003"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
heat_cw_api_local_status :
1314
label : heat_cw_api_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/holland_local_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
99
details :
1010
file : run_plugin_in_venv.sh
1111
args : ["{{ maas_plugin_dir }}/holland_local_check.py", "{{ container_name }}", "{{ holland_venv_bin + '/holland' }}"]
12+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1213
alarms :
1314
holland_backup_status:
1415
label : holland_backup_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/horizon_local_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/horizon_check.py", "{{ ansible_host }}", "{{ maas_horizon_site_name }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
horizon_local_status :
1314
label : "horizon_local_status--{{ inventory_hostname }}"

playbooks/templates/rax-maas/hp-check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/hp_monitoring.py"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
hp-controller_status :
1314
label : hp-controller--{{ inventory_hostname|quote }}

playbooks/templates/rax-maas/hummingbird_account_process_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/process_check_{% if inventory_hostname in groups['all_containers'] | default([]) %}container.py", "-c", "{{ inventory_hostname }}", "{% else %}host.py", "{% endif %}{{ maas_hummingbird_account_process_names|join("\", \"") }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
{% for process in maas_hummingbird_account_process_names %}
1314
{{ process }}_process_status:

playbooks/templates/rax-maas/hummingbird_account_server_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "hummingbird_account_server", "--path", "/healthcheck", "{{ service_ip }}", "6002"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
hummingbird_account_server_api_local_status :
1314
label : hummingbird_account_server_api_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/hummingbird_container_process_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/process_check_{% if inventory_hostname in groups['all_containers'] | default([]) %}container.py", "-c", "{{ inventory_hostname }}", "{% else %}host.py", "{% endif %}{{ maas_hummingbird_container_process_names|join("\", \"") }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
{% for process in maas_hummingbird_container_process_names %}
1314
{{ process }}_process_status:

playbooks/templates/rax-maas/hummingbird_container_server_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "hummingbird_container_server", "--path", "/healthcheck", "{{ service_ip }}", "6001"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
hummingbird_container_server_api_local_status :
1314
label : hummingbird_container_server_api_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/hummingbird_object_process_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/process_check_{% if inventory_hostname in groups['all_containers'] | default([]) %}container.py", "-c", "{{ inventory_hostname }}", "{% else %}host.py", "{% endif %}{{ maas_hummingbird_object_process_names|join("\", \"") }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
{% for process in maas_hummingbird_object_process_names %}
1314
{{ process }}_process_status:

playbooks/templates/rax-maas/hummingbird_object_server_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "hummingbird_object_server", "--path", "/healthcheck", "{{ service_ip }}", "6000"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
hummingbird_object_server_api_local_status :
1314
label : hummingbird_object_server_api_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/hummingbird_proxy_server_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "hummingbird_proxy_server", "--path", "/healthcheck", "{{ ansible_host }}", "8080"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
hummingbird_proxy_server_api_local_status :
1314
label : hummingbird_proxy_server_api_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/ironic_api_local_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/ironic_api_local_check.py", "{{ ansible_host }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
ironic_api_local_status :
1314
label : ironic_api_local_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/ironic_capacity_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/ironic_capacity_check.py", "{{ ansible_host }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
ironic_capacity :
1314
label : ironic_capacity--{{ inventory_hostname }}

playbooks/templates/rax-maas/ironic_compute_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/ironic_compute_nova_service_check.py", "--host", "{{ ansible_nodename }}", "{{ internal_vip_address }}"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
ironic_compute_status :
1314
label : ironic_compute_status--{{ inventory_hostname }}

playbooks/templates/rax-maas/ironic_conductor_check.yaml.j2

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
88
details :
99
file : run_plugin_in_venv.sh
1010
args : ["{{ maas_plugin_dir }}/ironic_conductor_check.py"]
11+
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
1112
alarms :
1213
ironic_conductor_status :
1314
label : ironic_conductor_status--{{ inventory_hostname }}

0 commit comments

Comments
 (0)