We are running a couple of Puppet Master version 3.7 (Not PE) on AWS EC2 instances behind an Elastic Load Balancer (mainly for high availability).
Currently the load balancer's check is just TCP connect on port 8140. But this didn't detect that one of the instances was hung (it was still accepting the initial TCP connection but not doing anything with it).
I'm looking for way to actually send a meaningful "no-op" request to the puppet master and have it send back a result.
More specific requirements:
- It shouldn't trigger heavy processing (the checks happen every few seconds)
- It should succeed if the puppet master is able to actually handle "real request" and fail otherwise.
- It should be possible to execute from ELB (i.e. basically it should return "200 OK" on successful https requests on a static path.
Is there a good static path I can give the health check to use? So far I haven't found any.