cPanel & WHM Version 108 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

chkservd external check command support (improves checks)

andyf shared this idea 9 years ago
Open Discussion

chkservd configuration files allow for a socket connection or checking that a process exists. While this is fine for services which can provide a generic socket response (see: httpd, smtp), it's not ideal for others. Furthermore, simply checking a process exists does not check it is responding to requests.

By adding support for external command responses to chkservd, it will enable support for checking service responses through other means.

For example:

The named configuration in chkservd only checks the process exists, it does nothing more. With support for external commands in chkservd, it could run 'rndc status' and determine if the service is responding.

Leave a Comment
Attach a file