Skip to content

Commit

Permalink
Moving slurm restart script before hw-checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mika Anttila committed May 8, 2019
1 parent 96e8018 commit 2a365f1
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions templates/nhc.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@

{% if nhc_use_default_checks == true %}

{% if nhc_scripts.0 is defined %}
#######################################################################
### nhc_scripts is a list of extra nhc scripts which are copied in via ansible
###
### More checks
###
#

{% for nhc_check in nhc_checks %}
{{ nhc_check.match }} || {{ nhc_check.name }} {{ nhc_check.arguments }}
{% endfor %}

{% endif %}


#######################################################################
###
### Hardware checks
Expand Down Expand Up @@ -221,20 +236,6 @@
# nVidia HealthMon GPU health checks (requires Tesla Development Kit)
# * || check_nv_healthmon

{% if nhc_scripts.0 is defined %}
#######################################################################
### nhc_scripts is a list of extra nhc scripts which are copied in via ansible
###
### More checks
###
#

{% for nhc_check in nhc_checks %}
{{ nhc_check.match }} || {{ nhc_check.name }} {{ nhc_check.arguments }}
{% endfor %}

{% endif %}

{% else %}
{% if nhc_scripts.0 is defined %}
# Not using any defaults - only the ones defined in nhc_checks
Expand Down

0 comments on commit 2a365f1

Please sign in to comment.