Skip to content

Commit

Permalink
Merge pull request #478 from npawelek/TURTLES-713
Browse files Browse the repository at this point in the history
TURTLES-713 Properly configure agent.plugin timeout value
  • Loading branch information
tonytan4ever authored Mar 28, 2018
2 parents 82f4c25 + e52ec9b commit 765c204
Show file tree
Hide file tree
Showing 83 changed files with 102 additions and 14 deletions.
3 changes: 3 additions & 0 deletions playbooks/files/rax-maas/plugins/swift-recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,9 @@ def make_parser():
parser.add_argument('--swift-recon-path',
default='/usr/local/bin',
help='The path for the swift-recon directory.')
parser.add_argument('-t',
default='30',
help='Set a timeout value in seconds for swift-recon.')
return parser


Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/ceph_cluster_stats.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ disabled : "{{ (inventory_hostname != groups['mons'][0] or check_name | match
details :
file : run_plugin_in_venv.sh
args : {{ ceph_args }}
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
ceph_health_err :
label : ceph_health_err--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/ceph_mon_stats.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ disabled : "{{ (inventory_hostname != groups['mons'][0] or check_name | match
details :
file : run_plugin_in_venv.sh
args : {{ ceph_args }}
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
mon_in_err :
label : mon_in_err--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/ceph_osd_stats.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : {{ ceph_args }}
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
{% for osd_id in ceph_osd_list %}
ceph_warn_osd.{{ osd_id }} :
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/ceph_rgw_stats.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ disabled : "{{ (inventory_hostname != groups['rgws'][0] or check_name | match
details :
file : run_plugin_in_venv.sh
args : {{ ceph_args }}
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
ceph_rgw_status :
label : ceph_rgw_status.{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/cinder_api_local_check.py", "{{ ansible_host }}", "--protocol", "{{ cinder_local_api_protocol }}", "--port", "{{ cinder_local_api_port }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
cinder_api_local_status :
label : cinder_api_local_status--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/cinder_backup_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (not maas_monitor_cinder_backup | bool or check_name | match(m
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/cinder_service_check.py", "--host", "{{ ansible_nodename }}", "--protocol", "{{ cinder_client_protocol }}", "{{ internal_vip_address }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
cinder_backup_status :
label : cinder_backup_status--{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/cinder_service_check.py", "--host", "{{ ansible_nodename }}", "--protocol", "{{ cinder_client_protocol }}", "{{ internal_vip_address }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
cinder_scheduler_status :
label : cinder_scheduler_status--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/cinder_vg_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/vg_check.py", "{{ cinder_backends[item.key]['volume_group'] }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
cinder_vg_space_status :
label : cinder_vg_space_status--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/cinder_volume_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/cinder_service_check.py", "--host", "{{ ansible_nodename }}", "--protocol", "{{ cinder_client_protocol }}", "{{ internal_vip_address }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
cinder_volume_{{ item.key }}_status :
label : cinder_volume_{{ item.key }}_status--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/conntrack_count.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/conntrack_count.py"{% if inventory_hostname in groups['neutron_agents_container'] | default([]) %}, "--container", "{{ inventory_hostname }}" {% endif %}]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
conntrack_count_status :
label : conntrack_count_status--{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/container_storage_check.py", "--thresh", "{{ maas_percent_used_critical_threshold }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
container_storage_percent_used_critical:
label : container_storage_percent_used--{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/designate_api_local_check.py", "http", "{{ ansible_host }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
designate_api_local_status :
label : "designate_api_local_status--{{ inventory_hostname }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/designate_mdns_local_check.py", "{{ ansible_host }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
designate_local_status :
label : "designate_local_status--{{ inventory_hostname }}"
Expand All @@ -17,4 +18,4 @@ alarms :
:set consecutiveCount={{ maas_alarm_local_consecutive_count }}
if (metric["designate_mdns_local_status"] != 1) {
return new AlarmStatus(CRITICAL, "designate mdns unavailable");
}
}
3 changes: 2 additions & 1 deletion playbooks/templates/rax-maas/designate_process_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
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("\", \"") }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
{% for process in designate_process_names_sanitized %}
{{ process }}_process_status:
Expand All @@ -19,4 +20,4 @@ alarms :
if (metric["{{ process }}_process_status"] != 1 ) {
return new AlarmStatus(CRITICAL, "designate process {{ process }} not running on {{ inventory_hostname }}");
}
{% endfor %}
{% endfor %}
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/disk_utilisation.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/disk_utilisation.py"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
{% for device in maas_disk_util_devices %}
percentage_disk_utilisation_{{ device }}:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
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("\", \"") }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
{% for process in elasticsearch_process_names %}
{{ process }}_process_status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
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("\", \"") }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
{% for process in filebeat_process_names %}
{{ process }}_process_status:
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/galera_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (inventory_hostname != groups['galera_all'][0] or check_name |
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/galera_check.py", "-H", "{{ ansible_host }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
wsrep_cluster_size :
label : wsrep_cluster_size--{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/glance_api_local_check.py", "{{ ansible_host }}","--protocol", "{{ glance_local_api_protocol }}", "--port", "{{ glance_local_api_port }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
glance_api_local_status :
label : glance_api_local_status--{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/glance_registry_local_check.py", "{{ ansible_host }}", "--protocol", "{{ glance_local_reg_api_protocol }}", "--port", "{{ glance_local_reg_api_port }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
glance_registry_local_status :
label : glance_registry_local_status--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/heat_api_local_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/heat_api_local_check.py", "{{ ansible_host }}", "--protocol", "{{ heat_local_api_protocol}}", "--port", "{{ heat_local_api_port }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
heat_api_local_status :
label : heat_api_local_status--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/heat_cfn_api_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "heat_cfn", "{{ ansible_host }}", "8000"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
heat_cfn_api_local_status :
label : heat_cfn_api_local_status--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/heat_cw_api_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "heat_cw", "{{ ansible_host }}", "8003"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
heat_cw_api_local_status :
label : heat_cw_api_local_status--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/holland_local_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/holland_local_check.py", "{{ container_name }}", "{{ holland_venv_bin + '/holland' }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
holland_backup_status:
label : holland_backup_status--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/horizon_local_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/horizon_check.py", "{{ ansible_host }}", "{{ maas_horizon_site_name }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
horizon_local_status :
label : "horizon_local_status--{{ inventory_hostname }}"
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/hp-check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/hp_monitoring.py"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
hp-controller_status :
label : hp-controller--{{ inventory_hostname|quote }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
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("\", \"") }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
{% for process in maas_hummingbird_account_process_names %}
{{ process }}_process_status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "hummingbird_account_server", "--path", "/healthcheck", "{{ service_ip }}", "6002"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
hummingbird_account_server_api_local_status :
label : hummingbird_account_server_api_local_status--{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
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("\", \"") }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
{% for process in maas_hummingbird_container_process_names %}
{{ process }}_process_status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "hummingbird_container_server", "--path", "/healthcheck", "{{ service_ip }}", "6001"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
hummingbird_container_server_api_local_status :
label : hummingbird_container_server_api_local_status--{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
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("\", \"") }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
{% for process in maas_hummingbird_object_process_names %}
{{ process }}_process_status:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "hummingbird_object_server", "--path", "/healthcheck", "{{ service_ip }}", "6000"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
hummingbird_object_server_api_local_status :
label : hummingbird_object_server_api_local_status--{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/service_api_local_check.py", "hummingbird_proxy_server", "--path", "/healthcheck", "{{ ansible_host }}", "8080"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
hummingbird_proxy_server_api_local_status :
label : hummingbird_proxy_server_api_local_status--{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/ironic_api_local_check.py", "{{ ansible_host }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
ironic_api_local_status :
label : ironic_api_local_status--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/ironic_capacity_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/ironic_capacity_check.py", "{{ ansible_host }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
ironic_capacity :
label : ironic_capacity--{{ inventory_hostname }}
Expand Down
1 change: 1 addition & 0 deletions playbooks/templates/rax-maas/ironic_compute_check.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/ironic_compute_nova_service_check.py", "--host", "{{ ansible_nodename }}", "{{ internal_vip_address }}"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
ironic_compute_status :
label : ironic_compute_status--{{ inventory_hostname }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disabled : "{{ (check_name | match(maas_excluded_checks_regex)) | ternary('tr
details :
file : run_plugin_in_venv.sh
args : ["{{ maas_plugin_dir }}/ironic_conductor_check.py"]
timeout : {{ (maas_check_timeout_override[label] | default(maas_check_timeout) * 1000) }}
alarms :
ironic_conductor_status :
label : ironic_conductor_status--{{ inventory_hostname }}
Expand Down
Loading

0 comments on commit 765c204

Please sign in to comment.