Skip to content
Snippets Groups Projects
user avatar
Andreas Hamacher authored
deleted unused X templates. xorg.conf will be regenerated on reboot now as well as directly deployed
589d3fe3
History
Name Last commit Last update
..
files/scripts
tasks
templates
README.md

Creates Node Health Check on a compute node see ://github.com/mej/nhc

It needs some variable to be defined before calling

i.e. nhc_version: 1.4.2 nhc_dir: /opt/nhc-{{ nhc_version }} nhc_config_file: nhc.conf nhc_log_level: 0 nhc_emails: nobody@nowhere.nowhere nhc_email_subject: "Node Health Check"

In addition the NAT check needs two variables to be defined to be enabled (See example)

  • ADD_NHC_NAT_CHECK has to be defined to (any) value
  • NHC_NAT_CHK_EXTERNAL_IP_ADDRESS is the address to be pinged

Example: roles:

  • { role: nhc, NHC_NAT_CHK_EXTERNAL_IP_ADDRESS: "118.138.246.208", ADD_NHC_NAT_CHECK: 1 }