mej / nhc

LBNL Node Health Check
Other
213 stars 78 forks source link

Improve Hostname Customization #129

Open mej opened 1 year ago

mej commented 1 year ago

One of the most oft-mentioned challenges with NHC is changing which hostname it uses for match string comparisons, offlining support, etc. Due to the way configuration files are parsed, you can't use the config file to alter the HOSTNAME variable and have that setting affect which checks get loaded and run. The only way to do it at present is to use /etc/sysconfig/nhc, the global, multi-context, system-wide settings file.

So here's my current plan:

As always, your feedback is welcome!